[Glade-users] Custom Python based widget adaptor

Edward Duffy eduffy at gmail.com
Sun Sep 26 13:03:53 EDT 2010


Thanks for link.  I can get my widget to appear in Glade's widget
palette; it's the widget adaptor, which allows you to manage the
widget's properties, that I'm having trouble with.

On Sun, Sep 26, 2010 at 12:59 PM, francesco <francesco at promotux.it> wrote:
> Il giorno dom, 26/09/2010 alle 12.18 -0400, Edward Duffy ha scritto:
>> I have some custom widgets I would like to add to Glade UI.  Some
>> derive from GtkHBox, so I need to also install a custom adaptor to
>> hide the inherited properties.  I've been following the tutorial
>> posted here:
>>
>> http://www.pygtk.org/articles/custom-widgets-glade/Custom_PyGTK_Widgets_in_Glade3-part-2.html
>>
>> But I'm not getting very far.  Importing the Glade library ("import
>> glade") isn't working.
>> I'm running Glade 3.6.7 on Ubuntu 10.04 (lucid).
>> I have the libgladeui-dev package installed, but it doesn't look like
>> there's a package for its Python bindings.
>>
>> Am I missing something? is this not packaged by Ubuntu?
>> The article is 3 years old now .. has the library been renamed, or has
>> the process changed?
>>
>>
>> Thanks
>> _______________________________________________
>> Glade-users maillist  -  Glade-users at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/glade-users
>
> i wrote a very small howto that you can find here:
>
> http://forum.promotux.it/viewtopic.php?f=32&t=80
>
> maybe it can help.
>
> ciao
> F.
>
>


More information about the Glade-users mailing list