Re: Telling a widget not to be in the focus chain



On 10/31/07, Steffen Gutmann <muibase yahoo com> wrote:
So, anybody has an idea what the correct way of leaving a widget out of
the focus chain is?

I use gtk_container_set_focus_chain() to set an exact list of widgets
for a section of the focus chain.

  GList *focus_chain;

  focus_chain = NULL;
  focus_chain = g_list_append( focus_chain, iv->ip );
  focus_chain = g_list_append( focus_chain, iv->cv );
  focus_chain = g_list_append( focus_chain, iv->pbv );
  gtk_container_set_focus_chain( GTK_CONTAINER( vbox ), focus_chain );

John

John



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