Re: changing the focus with TAB



Torsten Schoenfeld schrieb:
On Wed, 2003-11-05 at 16:45, Thomas Bayen wrote:


How can I control the order of the widget cycling? Or do I really have to catch the 'move-focus' signal and do it all by myself?


Use Gtk2::Container -> set_focus_chain:

http://developer.gnome.org/doc/API/2.2/gtk/GtkContainer.html#gtk-container-set-focus-chain

HTH,
-Torsten

Many thanks! - I felt before like this was a RTFM-Question, but I really did not find it - and I searched a long time and on many places...

Someone should write this in the documentation of the GtkWindow and/or GtkWidget class. These were the first places I searched. And there is a chapter in GGAD about "Widget Concepts" with a paragraph about focus and it doesn't tell anything about it. :-(

Thomas




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]