Le 27/08/2013 18:52, Ondrej Tuma a écrit :
> Oh, yes, sorry, in GTK 2.
…then you can use gtk_widget_set_name() and use custom RC styles:
label.set_name("mylabel");
...
style "mylabel-style" { ... }
widget "*.mylabel" style "mylabel-style"
checkout the GtkRC docs
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Oh, yes, sorry, in GTK 2.
I know about gtkrc, which is not right method for me... resp. how can i
define link-color only for specific Labels. Could i specify style for
some Labels ?
What i need is list of links, where some links (labels) are active,
Le 27/08/2013 12:31, Ondrej Tuma a écrit :
> i want to change link-color on some Label widgets, but only on some.
>
> I can't find how i can do that. I will use in vala, but never mind, if
> the example will be in python or C ;)
Hi,
You didn't specified if you are using GTK2 or GTK3.
In case you
Le 27/08/2013 17:31, Ondrej Tuma a écrit :
> Hi all,
>
> i want to change link-color on some Label widgets, but only on some.
>
> I can't find how i can do that. I will use in vala, but never mind, if
> the example will be in python or C ;)
The GTK3 way would be either adding a style provider to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
i want to change link-color on some Label widgets, but only on some.
I can't find how i can do that. I will use in vala, but never mind, if
the example will be in python or C ;)
Thanks a lot !
- --
Ondřej Tůma
www: http://ipv6.mcbig.cz
On 08/27/2013 02:18 AM, Colomban Wendling wrote:
> Le 27/08/2013 08:07, Joshua Strobl a écrit :
>> [...] and set to expand horizontally (set_hexpand(true)).
> Tip: you could use the Vala-style property setter, toolbar.hexpand=true
I think at the time I was getting compile-time errors so I thought
Le 27/08/2013 08:07, Joshua Strobl a écrit :
> [...] and set to expand horizontally (set_hexpand(true)).
Tip: you could use the Vala-style property setter, toolbar.hexpand=true
> As my Pastebin (link below) shows, the second
> (exampleGlobalMenuContainer) ToolItem is left aligned, which is
> comp