That did not make a row in the list have the focus. I want a row in list to have the focus so the use can just hit return to select the row without having to clicking on it first.
Toon Verstraelen wrote:
Mike Bernson wrote:
I am trying to create a list of item that the user can select 1 row. I would like to allow the user to sort list based on any of the columns. If I uncomment the line in the follow code then the user to sort on any one column. When I do this the focus on the column heading. I want the focus to start on list.
Select the first row with the "sort-column-changed" event of the
Gtk.TreeSortable. Gtk.TreeSortable is an ancestor class for the gtk.TreeStore
and gtk.ListStore. See:
http://www.moeraki.com/pygtkreference/pygtk2reference/class-gtkliststore.html
http://www.moeraki.com/pygtkreference/pygtk2reference/class-gtktreestore.html
http://www.moeraki.com/pygtkreference/pygtk2reference/class-gtktreesortable.html
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
