[pygtk] Builder & set_custom_handler

Marian Tietz nemo at ikkoku.de
Tue Dec 14 07:32:13 WST 2010


On Wed, 8 Dec 2010 09:01:02 +0100
Alessandro Dentella <sandro at e-den.it> wrote:

> On Wed, Dec 08, 2010 at 01:19:37AM +0100, Marian Tietz wrote:
> > On Wed, 8 Dec 2010 00:51:59 +0100
> > Alessandro Dentella <sandro at e-den.it> wrote:
> > 
> > > 
> > > I want to port an application from glade to Builder but I don't understand
> > > how to cope with custom widgets. Any ponters to this? I saw a mail from
> > > Geral Britton last year but no one answered publicly.
> > > 
> > 
> > You could look here[1] and also look in the sources of this project [2], it
> > uses glade with gtk.Builder.
> 
> 
> thanks for the pointer but it seems to me completely oriented ad glade not
> gtk.Builder. It's examples still import  gtk.glade. That's exactly the
> dependence I want to get rid. Am I wrong?
> 


The examples, as far as I remember, uses glade for some glade specific things, like
special attributes. Glade is, in this case, the UI designer, not the UI description format.

The project I've mentioned provides a glade catalog and custom widgets 
(provided in gui.builder) so simply look there how it's done.

Regards


More information about the pygtk mailing list