private static IntPtr GetHandle(Xwt.Backends.IWidgetBackend wBackend) { var widget = wBackend.GetType().GetPropertyValue(wBackend, "Widget"); var gdkwin = widget.GetType().GetPropertyValue(widget, "GdkWindow"); return((IntPtr)gdkwin.GetType().GetPropertyValue(gdkwin, "Handle")); }
public void SetHeaderContent(Xwt.Backends.IWidgetBackend backend) { if (toolbar.Child != null) { WidgetBackend.RemoveChildPlacement(toolbar.Child); toolbar.Remove(toolbar.Child); } if (backend != null) { toolbar.Child = WidgetBackend.GetWidgetWithPlacement(backend); toolbar.Show(); } else { toolbar.Hide(); } }
public virtual override void UpdateChildPlacement(Xwt.Backends.IWidgetBackend childBackend) { }
public static override AppKit.NSView SetChildPlacement(Xwt.Backends.IWidgetBackend childBackend) { throw new NotImplementedException(); }
public static override AppKit.NSView GetWidget(Xwt.Backends.IWidgetBackend w) { throw new NotImplementedException(); }
public static AppKit.NSView GetWidgetWithPlacement(Xwt.Backends.IWidgetBackend childBackend) { throw new NotImplementedException(); }
public virtual void Remove(Xwt.Backends.IWidgetBackend widget) { }
// public override void EnableEvent(object eventId) {} // public override void DisableEvent(object eventId) {} public virtual void Add(Xwt.Backends.IWidgetBackend widget, Xwt.NotebookTab tab) { }
public virtual void SetChildBounds(Xwt.Backends.IWidgetBackend widget, Xwt.Rectangle rect) { }
public virtual void AddChild(Xwt.Backends.IWidgetBackend widget, Xwt.Rectangle rect) { }
public virtual void SetContent(Xwt.Backends.IWidgetBackend widget) { }
public virtual void Popup(Xwt.Backends.IWidgetBackend widget, double x, double y) { }
public virtual void Add(Xwt.Backends.IWidgetBackend widget) { }
public virtual void SetChild(Xwt.Backends.IWidgetBackend child) { }
public virtual void SetPanel(int panel, Xwt.Backends.IWidgetBackend widget, bool resize, bool shrink) { }