Re: default button



Hi,
your warning message is unrelated to your question...
The warning tells you that you most likely forgot to attach your
button to the window.

-Pascal

On 12/19/06, beast <beast ldap or id> wrote:
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






_______________________________________________
gtk-perl-list mailing list
gtk-perl-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list



--
Homepage (http://organact.mine.nu)
Debian GNU/Linux (http://www.debian.org)
École de technologie supérieure (http://www.etsmtl.ca)



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