Is it possible to make a border in colours around a button easily?
In CSS:
border: 1px solid crimson;
Hmm… In CSS it is really easy… (I don’t use GTK Themes.)
Is it possible to make a border in colours around a button easily?
In CSS:
border: 1px solid crimson;
Hmm… In CSS it is really easy… (I don’t use GTK Themes.)
Marc H. wrote in post #1020224:
Is it possible to make a border in colours around a button easily?
In CSS:
border: 1px solid crimson;
I don’t think it’s easy with GTK2, if at all possible.
Look at Gtk::Widget#modify_style, modify_fg, modify_bg.
GTK3 has such features :
http://gnomejournal.org/article/107/styling-gtk-with-css
Thanks!
The CSS support in GTK3 looks ok too.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs