public GtkSharpFrame(Widget shellobject, string caption) : base(shellobject) { frame = new Gtk.Frame(caption); GtkSharpDriver.InitWidget(frame, shellobject); frame.Show(); fixchild = new Gtk.Fixed(); frame.Add(fixchild); fixchild.Show(); }
public GtkSharpWindow(Widget shellobject, string caption) : base(shellobject) { window = new Gtk.Window(caption); GtkSharpDriver.InitWidget(window, shellobject); window.ResizeChecked += new EventHandler(EventResizeChecked); window.Hidden += new EventHandler(EventClosed); //window.WindowPosition = Gtk.WindowPosition.Mouse; fixchild = new Gtk.Fixed(); fixchild.Show(); window.Add(fixchild); window.DeleteEvent += new Gtk.DeleteEventHandler(window_DeleteEvent); window.KeyPressEvent += new Gtk.KeyPressEventHandler(window_KeyPressEvent); }