See PyGTK FAQ 22.7, which describes a new set_custom_widget_callbacks() function:

<http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq22.007.htp>

This is in CVS, but is not yet in a released version of PyGTK. You can get Ross Burton's patch (which applies cleanly to 1.99.16) from GNOME bug 113271:

<http://bugzilla.gnome.org/show_bug.cgi?id=113271>

At 7/30/2003, Sebastian Henschel wrote:
hello list...

i could not manage to create custom widgets with python from a
glade-file yet. i found the following unreplied question from two years ago
in the archives:
http://www.daa.com.au/pipermail/pygtk/2001-June/001418.html

when taking a glimpse into the tarball of pygtk-1.99.16, i see in the
directory gtk/ a file called libglade.defs which defines a
set_custom_handler function. but i cannot call it in my code and also an
inspection of a gtk.glade-object did not show any hints on a method
set_custom_handler. i also realized that gtk/libglade.override contains
glade_set_custom_handler in an ignore-section.
does that mean that there is no support for custom widgets in
pygtk-glade? is there anyone planning to implement it?

please cc: me and tia,
 sebastian

_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to