Hi, Fabian Braennstroem schrieb am 01/31/2007 07:53 PM: > Hi, > > me again :-) > > I am still trying to create a small file manager using pygtk. It is > kind of based on the tutorial example, but with two different > treeview to achieve a mc-like setup. > My problem is now, that I don't know, how I can get the state of the > focus of each treeview. Is there a function gtk to do that? I looked > in the gtk.treeview reference and couldn't find any!?
It is probably not the best way to achieve it, but my work around looks like counting the 'Tab' key strokes and if it is an even number, treeview 1 got the focus and if it is a odd number treeview 2 got the focus ... it kind of works, but there 'must' be a more elegant way!? Greetings! Fabian _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
