[maemo-developers] GTK Modifications

From: Benoît HERVIER khertan at khertan.net
Date: Wed Dec 3 07:33:52 EET 2008
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 <Verena31 at gmx.net>:
> 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 <dneary at maemo.org>:
>>
>>>
>>> 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: dneary at maemo.org
>>> Jabber: bolsh at jabber.org
>>>
>>>
>>> _______________________________________________
>>> maemo-developers mailing list
>>> maemo-developers at maemo.org
>>> https://lists.maemo.org/mailman/listinfo/maemo-developers
>>>
>>>
>>>
>>
>>
>>
>>
>
>



-- 
Benoît HERVIER - http://khertan.net/
More information about the maemo-developers mailing list