panel.widget

Module for [Widget] class

Types 3

PanelWidget is the base widget class for widgets added to a #PanelFrame. It can be use as-is or you can subclass it.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
Widget self() nothrowReturns `this`, for use in `with` statements.
WidgetGidBuilder builder() static nothrowGet builder for [panel.widget.Widget] Returns: New builder object
bool busy() @property nothrow
bool canMaximize() @property nothrow
void canMaximize(bool propval) @property nothrow
gtk.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.
gio.icon.Icon icon() @property nothrowGet `icon` property. Returns: The icon for this widget.
void icon(gio.icon.Icon propval) @property nothrowSet `icon` property. Params: propval = The icon for this widget.
string iconName() @property nothrowGet `iconName` property. Returns: The icon name for this widget.
void iconName(string propval) @property nothrowSet `iconName` property. Params: propval = The icon name for this widget.
string id() @property nothrow
void id(string propval) @property nothrow
string kind() @property nothrow
void kind(string propval) @property nothrow
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.
bool modified() @property nothrow
void modified(bool propval) @property nothrow
bool needsAttention() @property nothrow
void needsAttention(bool propval) @property nothrow
bool reorderable() @property nothrow
void reorderable(bool propval) @property nothrow
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.
string title() @property nothrowGet `title` property. Returns: The title for 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) nothrow
void close() nothrow
bool focusDefault() nothrow
void forceClose() nothrowCloses the widget without any save dialogs.
bool getBusy() nothrow
bool getCanMaximize() nothrow
gtk.widget.Widget getChild() nothrowGets the child widget of the panel. Returns: a #GtkWidget or null
gtk.widget.Widget getDefaultFocus() nothrowDiscovers the widget that should be focused as the default widget for the #PanelWidget.
gio.icon.Icon getIcon() nothrowGets a #GIcon for the widget. Returns: a #GIcon or null
string getIconName() nothrowGets the icon name for the widget. Returns: the icon name or null
string getId() nothrowGets the id of the panel widget. Returns: The id of the panel widget.
string getKind() nothrow
gio.menu_model.MenuModel getMenuModel() nothrowGets the #GMenuModel for the widget.
bool getModified() nothrowGets the modified status of a panel widget Returns: the modified status of the panel widget.
bool getNeedsAttention() nothrow
panel.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() nothrow
panel.save_delegate.SaveDelegate getSaveDelegate() nothrowGets the #PanelWidget:save-delegate property.
string getTitle() nothrowGets the title for the widget. Returns: the title or null
string getTooltip() nothrowGets the tooltip for the widget. Returns: the tooltip or null
void insertActionGroup(string prefix, gio.action_group.ActionGroup group) nothrow
void markBusy() nothrow
void maximize() nothrow
void raise() nothrow
void setCanMaximize(bool canMaximize) nothrow
void setChild(gtk.widget.Widget child = null) nothrowSets the child widget of the panel.
void setIcon(gio.icon.Icon icon = null) nothrowSets a #GIcon for the widget.
void setIconName(string iconName = null) nothrowSets the icon name for the widget.
void setId(string id) nothrowSets the id of the panel widget.
void setKind(string kind = null) nothrowSets the kind of the widget.
void setMenuModel(gio.menu_model.MenuModel menuModel = null) nothrowSets the #GMenuModel for the widget.
void setModified(bool modified) nothrowSets the modified status of a panel widget.
void setNeedsAttention(bool needsAttention) nothrow
void setReorderable(bool reorderable) nothrow
void setSaveDelegate(panel.save_delegate.SaveDelegate saveDelegate = null) nothrowSets the #PanelWidget:save-delegate property.
void setTitle(string title = null) nothrowSets the title for the widget.
void setTooltip(string tooltip = null) nothrowSets the tooltip for the widget to be displayed in tabs.
void unmarkBusy() nothrow
void unmaximize() nothrow
gulong 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.
Constructors
this(void * ptr, Flag!"Take" take)
this()Create a new #PanelWidget. Returns: a newly created #PanelWidget

Fluent builder implementation template for panel.widget.Widget

Methods
T canMaximize(bool propval) nothrow
T child(gtk.widget.Widget propval) nothrowSet `child` property. Params: propval = The child inside this widget. Returns: Builder instance for fluent chaining
T icon(gio.icon.Icon propval) nothrowSet `icon` property. Params: propval = The icon for this widget. Returns: Builder instance for fluent chaining
T iconName(string propval) nothrowSet `iconName` property. Params: propval = The icon name for this widget. Returns: Builder instance for fluent chaining
T id(string propval) nothrow
T kind(string propval) nothrow
T 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 chaining
T modified(bool propval) nothrow
T needsAttention(bool propval) nothrow
T reorderable(bool propval) nothrow
T saveDelegate(panel.save_delegate.SaveDelegate propval) nothrowSet `saveDelegate` property. Params: propval = The save delegate attached to this widget. Returns: Builder instance for fluent chaining
T title(string propval) nothrowSet `title` property. Params: propval = The title for this widget. Returns: Builder instance for fluent chaining
T tooltip(string propval) nothrowSet `tooltip` property. Params: propval = The tooltip to display in tabs for the widget. Returns: Builder instance for fluent chaining

Fluent builder for panel.widget.Widget

Methods
Widget build() nothrowCreate object from builder. Returns: New object