public ResizableFixed() { fixd = new Fixed(); Add(fixd); this.CanFocus = true; this.Events = EventMask.ButtonPressMask | EventMask.ButtonReleaseMask | EventMask.PointerMotionMask | EventMask.KeyPressMask; // fixd.ModifyBg (Gtk.StateType.Normal, this.Style.Mid (Gtk.StateType.Normal)); // VisibleWindow = false; selectionBox = new SelectionHandleBox(this); selectionBox.Show(); }
public ResizableFixed () { GtkWorkarounds.FixContainerLeak (this); fixd = new Fixed (); Add (fixd); this.CanFocus = true; this.Events = EventMask.ButtonPressMask | EventMask.ButtonReleaseMask | EventMask.PointerMotionMask | EventMask.KeyPressMask; // fixd.ModifyBg (Gtk.StateType.Normal, this.Style.Mid (Gtk.StateType.Normal)); // VisibleWindow = false; selectionBox = new SelectionHandleBox (this); selectionBox.Show (); }