GTK Label foreground and background

Dear All,
I am using GTK labels in gtk-3.
Is it possible for a label widget to be in the foreground when needed and in the background when not needed. I tried to use
gtk_label_set_selectable (Password_label, FALSE);
and

gtk_widget_set_sensitive (GTK_WIDGET (Password_label), FALSE);
They both did not work.
I have images label1 and label2 and I want to know how to use gtk to get label2 (label to go to background).

both does not take the label to background.
label1

label2strong text

It worked. In the stylesheet, i had an error while checking for disabled gtklabel.
Thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.