default button



Hi All,

I have this following error, what could be the problem?

Gtk-WARNING **: gtkwidget.c:4007: widget not within a GtkWindow at ./setup.pl line 255.

--
     $next->set_flags('can-default');
     $next->grab_default();
--

I want the next button to be the default action (having the keyboard focus). What is the correct flag, grab_focus or grab_default?
Thanks.


--beast









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