Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Window : Gtk.Window {
- construct {
- var color = get_style_context().get_background_color (Gtk.StateFlags.NORMAL);
- override_background_color (Gtk.StateFlags.NORMAL, { 0, 0, 0, 0 });
- Gtk.Box box = new Gtk.Box (Gtk.Orientation.VERTICAL, 0);
- box.override_background_color (Gtk.StateFlags.NORMAL, color);
- // code here
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement