Hi,

There is different way to do this but i think get_children() method is
the best way.
(methods inherited from gtk.Container
http://library.gnome.org/devel/gtk/stable/GtkContainer.html)

Best regards

2008/12/2 Verena <[EMAIL PROTECTED]>:
> Hello,
>
> yes, that´s exactly what I´m trying to do. How would I be able to get the
> label? Is there a function along the lines of container.getlabel() that
> would do the trick?
>
> Thank You!
> Best Regards,
> Verena
>
> Benoît HERVIER schrieb:
>>
>> I think i understand why. You are trying to set color of gtk.Button ?
>> right ?
>>
>> A gtk.Button is nothing else than a container with a gtk.Label, you
>> should set the color on this Label.
>>
>> 2008/11/28 Dave Neary <[EMAIL PROTECTED]>:
>>
>>>
>>> Hi,
>>>
>>> works fine for me... glade fine & C file attached, compiled with "gcc
>>> -ggdb -o gtk_test `pkg-config --cflags --libs gtk+-2.0 libglade-2.0`
>>> gtk_test.c"
>>>
>>> Cheers,
>>> Dave.
>>>
>>> Verena Mattern wrote:
>>>
>>>>
>>>> I have a problem modifying my gtk widgets. I know that you shouldn't
>>>> hard-code colors, but my boss wants his GUI (Buttons) in different colors.
>>>> Who am I to argue ;)
>>>>
>>>
>>> --
>>> maemo.org docsmaster
>>> Email: [EMAIL PROTECTED]
>>> Jabber: [EMAIL PROTECTED]
>>>
>>>
>>> _______________________________________________
>>> maemo-developers mailing list
>>> [email protected]
>>> https://lists.maemo.org/mailman/listinfo/maemo-developers
>>>
>>>
>>>
>>
>>
>>
>>
>
>



-- 
Benoît HERVIER - http://khertan.net/
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to