Good Guy Tshirtman:)
Thanks. Yep, working properly now. I'm sort of glad it was an issue, cause I didn't want to ask too simple question, but I already tried few thinks..
And when we are already on that topic. I have a couple of questions. Shouldn't it work also for content? It is also TabbedPanel's Object property..
And what about on_default_tab event? It is mentioned in docu, but it's not reacting for me. For pretty same example:
class Plane(TabbedPanel):
def __init__(self, **kwargs):
super(Plane, self).__init__(**kwargs)
self.bind(content=self.contentChanged_cb)
self.bind(on_default_tab = self.my_default_tab_callback)
def contentChanged_cb(self, obj, value):
print 'CONTEENT'
def my_default_tab_callback(self, obj, value):
print 'DEFAUUULT'Again, no printing. And when should on_default_tab fired? When it's active? When it's changed?
Dne středa, 28. listopadu 2012 23:04:01 UTC+1 tshirtman napsal(a):