public CustomCanvas() { GtkWorkarounds.FixContainerLeak(this); WidgetFlags |= Gtk.WidgetFlags.AppPaintable; VisibleWindow = false; }
public DesignerBox() { GtkWorkarounds.FixContainerLeak(this); surface = new Gtk.EventBox(); surface.ShowAll(); surface.VisibleWindow = false; surface.Parent = this; }
public CustomContainer() { GtkWorkarounds.FixContainerLeak(this); WidgetFlags |= Gtk.WidgetFlags.NoWindow; }
public static void FixContainerLeak(this Gtk.Container c) { GtkWorkarounds.FixContainerLeak(c); }