Esempio n. 1
0
        public CustomCanvas()
        {
            GtkWorkarounds.FixContainerLeak(this);

            WidgetFlags  |= Gtk.WidgetFlags.AppPaintable;
            VisibleWindow = false;
        }
Esempio n. 2
0
        public DesignerBox()
        {
            GtkWorkarounds.FixContainerLeak(this);

            surface = new Gtk.EventBox();
            surface.ShowAll();
            surface.VisibleWindow = false;
            surface.Parent        = this;
        }
Esempio n. 3
0
 public CustomContainer()
 {
     GtkWorkarounds.FixContainerLeak(this);
     WidgetFlags |= Gtk.WidgetFlags.NoWindow;
 }
Esempio n. 4
0
 public static void FixContainerLeak(this Gtk.Container c)
 {
     GtkWorkarounds.FixContainerLeak(c);
 }