Re: Widget focus
- From: tomas tuxteam de
- To: Markus Uhle <markus uhle synergetik de>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Widget focus
- Date: Thu, 3 Aug 2006 15:45:52 +0000
On Thu, Aug 03, 2006 at 05:22:46PM +0200, Markus Uhle wrote:
Hi!
I have a strange problem with the "moving" of the focus of the widgets
in a window (GTK1.2.10 - Embedded System):
[...]
It seems, that something like "the window" or "the container" gets the
focus.
Don't know currently about GTK1, but in GTK2 you can:
* fix the "tab order" of the widgets whithin the container with
gtk_container_set_focus_chain()
* for finer control handle the "focus" signal yourself (setting the
focus on whichever widget with gtk_widget_grab_focus(), depending on
the "direction" which came with the event).
See f.e. <http://developer.gnome.org/doc/GGAD/sec-widgetindetail.html#Z160>
Hope this gives you a track to follow for GTK1.2
-- tomas
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]