public static ActionGroupDesignerBackend CreateActionGroupDesigner(ProjectBackend project, ActionGroupToolbar groupToolbar) { Editor.ActionGroupEditor agroupEditor = new Editor.ActionGroupEditor(); agroupEditor.Project = project; WidgetDesignerBackend groupDesign = EmbedWindow.Wrap(agroupEditor, -1, -1); groupToolbar.Bind(agroupEditor); return(new ActionGroupDesignerBackend(groupDesign, agroupEditor, groupToolbar)); }
public static WidgetDesignerBackend CreateWidgetDesigner(Gtk.Container widget, int designWidth, int designHeight) { return(EmbedWindow.Wrap(widget, designWidth, designHeight)); }