panel.widget
Module for [Widget] class
Types 3
classWidget : gtk.widget.Widget
PanelWidget is the base widget class for widgets added to a #PanelFrame. It can be use as-is or you can subclass it.
Methods
WidgetGidBuilder builder() static nothrowGet builder for [panel.widget.Widget] Returns: New builder objectgtk.widget.Widget child() @property nothrowGet `child` property. Returns: The child inside this widget.void child(gtk.widget.Widget propval) @property nothrowSet `child` property. Params: propval = The child inside this widget.void icon(gio.icon.Icon propval) @property nothrowSet `icon` property. Params: propval = The icon for this widget.void iconName(string propval) @property nothrowSet `iconName` property. Params: propval = The icon name for this widget.gio.menu_model.MenuModel menuModel() @property nothrowGet `menuModel` property. Returns: A menu model to display additional options for the page to the user via menus.void menuModel(gio.menu_model.MenuModel propval) @property nothrowSet `menuModel` property. Params: propval = A menu model to display additional options for the page to the user via menus.panel.save_delegate.SaveDelegate saveDelegate() @property nothrowGet `saveDelegate` property. Returns: The save delegate attached to this widget.void saveDelegate(panel.save_delegate.SaveDelegate propval) @property nothrowSet `saveDelegate` property. Params: propval = The save delegate attached to this widget.void title(string propval) @property nothrowSet `title` property. Params: propval = The title for this widget.string tooltip() @property nothrowGet `tooltip` property. Returns: The tooltip to display in tabs for the widget.void tooltip(string propval) @property nothrowSet `tooltip` property. Params: propval = The tooltip to display in tabs for the widget.void actionSetEnabled(string actionName, bool enabled) nothrowvoid close() nothrowbool focusDefault() nothrowbool getBusy() nothrowbool getCanMaximize() nothrowgtk.widget.Widget getChild() nothrowGets the child widget of the panel. Returns: a #GtkWidget or nullgtk.widget.Widget getDefaultFocus() nothrowDiscovers the widget that should be focused as the default widget for the #PanelWidget.string getKind() nothrowbool getModified() nothrowGets the modified status of a panel widget Returns: the modified status of the panel widget.bool getNeedsAttention() nothrowpanel.position.Position getPosition() nothrowGets teh position of the widget within the dock. Returns: a #PanelPosition or null if the widget isn't within a #PanelFrame.bool getReorderable() nothrowpanel.save_delegate.SaveDelegate getSaveDelegate() nothrowGets the #PanelWidget:save-delegate property.void insertActionGroup(string prefix, gio.action_group.ActionGroup group) nothrowvoid markBusy() nothrowvoid maximize() nothrowvoid raise() nothrowvoid setCanMaximize(bool canMaximize) nothrowvoid setMenuModel(gio.menu_model.MenuModel menuModel = null) nothrowSets the #GMenuModel for the widget.void setNeedsAttention(bool needsAttention) nothrowvoid setReorderable(bool reorderable) nothrowvoid setSaveDelegate(panel.save_delegate.SaveDelegate saveDelegate = null) nothrowSets the #PanelWidget:save-delegate property.void setTooltip(string tooltip = null) nothrowSets the tooltip for the widget to be displayed in tabs.void unmarkBusy() nothrowvoid unmaximize() nothrowgulong connectGetDefaultFocus(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T : gtk.widget.Widget)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : panel.widget.Widget)))
&& Parameters!T.length < 2) nothrowConnect to `GetDefaultFocus` signal.gulong connectPresented(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : panel.widget.Widget)))
&& Parameters!T.length < 2) nothrowConnect to `Presented` signal.classWidgetGidBuilderImpl(T) : gtk.widget.WidgetGidBuilderImpl!T
Fluent builder implementation template for panel.widget.Widget
Methods
T canMaximize(bool propval) nothrowT child(gtk.widget.Widget propval) nothrowSet `child` property. Params: propval = The child inside this widget. Returns: Builder instance for fluent chainingT icon(gio.icon.Icon propval) nothrowSet `icon` property. Params: propval = The icon for this widget. Returns: Builder instance for fluent chainingT iconName(string propval) nothrowSet `iconName` property. Params: propval = The icon name for this widget. Returns: Builder instance for fluent chainingT id(string propval) nothrowT kind(string propval) nothrowT menuModel(gio.menu_model.MenuModel propval) nothrowSet `menuModel` property. Params: propval = A menu model to display additional options for the page to the user via menus. Returns: Builder instance for fluent chainingT modified(bool propval) nothrowT needsAttention(bool propval) nothrowT reorderable(bool propval) nothrowT saveDelegate(panel.save_delegate.SaveDelegate propval) nothrowSet `saveDelegate` property. Params: propval = The save delegate attached to this widget. Returns: Builder instance for fluent chainingT title(string propval) nothrowSet `title` property. Params: propval = The title for this widget. Returns: Builder instance for fluent chainingT tooltip(string propval) nothrowSet `tooltip` property. Params: propval = The tooltip to display in tabs for the widget. Returns: Builder instance for fluent chainingFluent builder for panel.widget.Widget