Re: [gtk2-perl-xs] GladeXML example



On Mon, May 19, 2003 at 09:10:58PM -0400, Ross McFarland wrote:

i've got first pass signal handling code in cvs now. problem is that i
don't have anything to test it against. if someone's got a .glade file
and the perl script that used old gtk-perl with it they wouldn't mind
sharing with me i'd appreciate it. 

i'm not completely clear as to how the signal_autoconnect callback
should behave. i've got some first passes that work for 9 out of ten of
my signals, but it doesn't handle all of the cases and i'm not sure how
to go about getting it to. the test will be checked in momentary if
people want to take a look.

I have been trying out an application of mine with Gtk2 and GladeXML,
without getting things to work.

First, there are a bunch of helper subs in Gtk::GladeXML that are
missing from GTK2::GladeXML.  Most of them are related to connecting
signals.  They should probably be moved over.

Another thing I noted was that Gtk::GladeXML->new_from_memory() has
become Gtk2::GladeXML->new_from_buffer and it takes an extra argument
which is the length of the buffer.  That wasn't in the old interface and
it is probably redundant in a perl context, where the length of strings
is readily available.

UPS
I just updated from CVS and I can see there are some changes.  The
new_from_buffer issue is still there, though.

I guess I'm off compiling ....


-rm

On Sat, 2003-05-17 at 17:34, Ross McFarland wrote:
a first pass at GladeXML has been added. it will work, but much of the
callback stuff (outside of signal_autoconnect) hasn't been added. a
slightly modified version of one of the libglade examples is tested. i
don't know much about libglade so others should probably test it out if
they do.

i'll probably try getting all of the callback stuff going sometime
tomorrow. 

next on the list is GtkHTML i'll let the list know if/when that happens.

-rm

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

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

-- 
René Seindal (rene seindal dk)                  http://sights.seindal.dk/




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