[Glade-users] gtk builder, glade-3 and http://glade.gnome.org/docs/widgetclasses.html

Gerald Britton gerald.britton at gmail.com
Tue Apr 21 11:35:22 EDT 2009


Basically, I'm trying to convert a libglade app to gtkbuilder.  It has
some custom widgets that I need help figuring out what to do.  They
mostly look like this:

                  <child>
                    <widget class="Custom" id="date_entry">
                      <property name="height_request">27</property>
                      <property name="visible">True</property>
                      <property
name="creation_function">ValidatableMaskedEntry</property>
                      <property name="int1">0</property>
                      <property name="int2">0</property>
                    </widget>

So, I'm looking for a little guide on how to do something similar in
gtk builder format.  I'm hoping that I can leave the
ValidatableMaskedEntry code pretty much alone (can I?)


On Tue, Apr 21, 2009 at 11:30 AM, Gerald Britton
<gerald.britton at gmail.com> wrote:
> Good to know!  Guess I need to know how to do it.  When I launch
> Glade, I can't see how to access these objects.
>
> On Tue, Apr 21, 2009 at 11:26 AM, Tristan Van Berkom
> <tristan.van.berkom at gmail.com> wrote:
>> On Mon, Apr 20, 2009 at 7:40 PM, Gerald Britton
>> <gerald.britton at gmail.com> wrote:
>>> Hi -- is there a way to build custom objects as described here:
>>>
>>> http://glade.gnome.org/docs/widgetclasses.html
>>>
>>> in glade-3 for use with gtk.Builder()
>>
>> Yes, thats what its there for.
>>
>> Cheers,
>>                -Tristan
>>
>
>
>
> --
> Gerald Britton
>



-- 
Gerald Britton


More information about the Glade-users mailing list