Re: question about packaging
- From: Chas Owens <alas widomaker com>
- To: gtk-perl-list gnome org
- Subject: Re: question about packaging
- Date: Tue, 30 Sep 2003 20:27:17 -0400 (EDT)
Quoting James Curbo <james teyandei net>:
<snip>
I like the idea of the __DATA__ approach though, especally if you just
have one glade file. (although there is that multi-data-section module..
can't remember what it's called right now though)
</snip>
Inline::Files? You really don't need multiple glade files though. The second
argument of Gtk2::GladeXML->new() is the name of the widget to start from. You
can have many different windows in one file and open each one in it's turn:
$glade1 = Gtk2::GladeXML->new_from_memory($xml, 'main_window');
$glade2 = Gtk2::GladeXML->new_from_memory($xml, 'preferences');
$glade3 = Gtk2::GladeXML->new_from_memory($xml, 'results');
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]