Re: controlling the focus order.



On Tue, 2006-09-26 at 22:50 +1000, Neil Dugan wrote:

I found the Gtk2::Controller->set_focus_order() function, but I was 
unable to find anything on how to use it.

I suppose you mean Gtk2::Container->set_focus_chain() here.  To use it,
just supply an ordered list of widgets that should be in the chain:

  @chain = ($widget1, $widget2, ...);
  $container->set_focus_chain (@chain);

Or, of course:

  $container->set_focus_chain ($widget1, $widget2, ...);

-- 
Bye,
-Torsten




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