Re: An automatic signal stub function generator
- From: Ross McFarland <rwmcfa1 neces com>
- To: Gtk-Perl-List <gtk-perl-list gnome org>
- Subject: Re: An automatic signal stub function generator
- Date: Fri, 26 Sep 2003 18:54:13 -0400
On Fri, 2003-09-26 at 17:42, Chas Owens wrote:
Dn't forget the custom widget placeholder in glade (1 and 2). You can use the
custom widget in the Glade tool and specify the arguments the custom_handler()
will recieve. You can then set the custom_handler() with
Gtk2::GladeXML->set_custom_handler()
it's great that GladeXML is getting used, but someone that knows more
about libglade(xml) should really take a look at the guts of it. i'm
actually surprised that the custom widget stuff is working as i had no
real idea what i was doing when i worked on it. it's a pretty heavy
port/copy of what was in gtk-perl, but it had/has some issues that i
tried to resolve, apparently i did better than i thought.
Gtk2::GladeXML is at 0.9x now and will remain so until someone with a
deeper knowledge of things steps up and takes a look. apparently it can
be used as it seems a good number of people on the list are using it. i
never have myself which is probably why i know little about it.
I did this as part of my "put everything in one file" project. It was simple to
add the XML to the end of the Perl script, read it in with <DATA>, and pass the
resulting string to Gtk2::GladeXML->new_from_memory(),
that's actually one of the things i thought would be the coolest about
GladeXML. i'm glade someone has tried it.
-rm
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]