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

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to