Re: using popup dialog boxes with perl gladexml
- From: "Ross McFarland" <rwmcfa1 neces com>
- To: gtk-perl-list gnome org
- Subject: Re: using popup dialog boxes with perl gladexml
- Date: Fri, 9 Apr 2004 13:19:16 -0400 (EDT)
Dan Lyke said:
Jan Hudec writes:
Except that now you parse the whole xml file twice.
Some quick test code shows me that if you do
my $dialog = $gladexml->get_widget('fileselectionSaveAs');
You cannot then do it again. That widget is gone.
If $gladexml->get_widget() gave me a new instance of the widget that'd
be great, I could do one parse and one
And life would be groovy. So the only time you can use the invisible
trick is for something like a startup dialog, otherwise you've got to
Or am I mistaken?
i would of thought this would work, but it seems to crash window maker on my
box, that's probably not good.
use Gtk2 '-init';
my $dialog = Gtk2::Dialog->new ('Hello', undef, , 'gtk-ok' => 'none');
# after some time etc.
] [Thread Prev