Re: how to set link-color on Label



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.

Regards,
Colomban



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]