AW: Notebook + Iconview



Am 18.09.2006 21:37:56 schrieb(en) Paul Pogonyshev:
Madhusudan E wrote:
> Hello All,
> I have inserted iconview inside a notebook page.
> Initially the focus is on the Notebook Tab.
> When I press down key, Notebook Tab loses the focus but the iconview
item
> dosent get the focus. When I again press the Down key, the iconview

It seems as the iconview itself grabs the focus, its same to me in a GtkDialog, first Tab-Key-Press jumps to next button, next jumps to dialogtext (GtkLabel) ... it worked by setting "can-focus" proberty to FALSE.

item
> gets the focus.
> Effectively to pass the focus from the Notebook Tab to iconview
item, two
> down key presses are required.
>
> Is this the default behavior if notebook and iconview or am I going
wrong
> anywhere.

Try using gtk_widget_grab_focus().  As for the second key press, I
think
icon view (which I never used) starts with empty selection.  If you
really
want, there must be a way to select the first item.

Paul
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de



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