panel.frame
Module for [Frame] class
Types 3
The #PanelFrame is a widget containing panels to display in an area. The widgets are added internally in an adw.tab_view.TabView to display them one at a time like in a stack.
A #PanelFrame can also have a header widget that will be displayed above the panels.
Methods
FrameGidBuilder builder() static nothrowGet builder for [panel.frame.Frame] Returns: New builder objectvoid addBefore(panel.widget.Widget panel, panel.widget.Widget sibling) nothrowAdd panel before sibling in the #PanelFrame.bool getCloseable() nothrowTells if the panel frame is closeable. Returns: true if the panel frame is closeable.panel.frame_header.FrameHeader getHeader() nothrowGets the header for the frame. Returns: a #PanelFrameHeader or nullgtk.selection_model.SelectionModel getPages() nothrowGet the pages for the frame. Returns: a #GtkSelectionModelgtk.widget.Widget getPlaceholder() nothrowGets the placeholder widget, if any. Returns: a #GtkWidget or nullpanel.position.Position getPosition() nothrowGets the #PanelPosition for the frame. Returns: a #PanelPositionint getRequestedSize() nothrowGets the requested size for the panel frame. Returns: the requested size.panel.widget.Widget getVisibleChild() nothrowGets the widget of the currently visible child. Returns: a #PanelWidget or nullvoid setHeader(panel.frame_header.FrameHeader header = null) nothrowSets the header for the frame, such as a #PanelFrameSwitcher.void setPlaceholder(gtk.widget.Widget placeholder = null) nothrowSets the placeholder widget for the frame.void setVisibleChild(panel.widget.Widget widget) nothrowSets the current page to the child specified in widget.gulong connectAdoptWidget(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == bool)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : panel.widget.Widget)))
&& (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : panel.frame.Frame)))
&& Parameters!T.length < 3) nothrowConnect to `AdoptWidget` signal.gulong connectPageClosed(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 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : panel.frame.Frame)))
&& Parameters!T.length < 3) nothrowConnect to `PageClosed` signal.classFrameGidBuilderImpl(T) : gtk.widget.WidgetGidBuilderImpl!T, gtk.orientable.OrientableGidBuilderImpl!T
Fluent builder implementation template for panel.frame.Frame
Methods
T placeholder(gtk.widget.Widget propval) nothrowT visibleChild(panel.widget.Widget propval) nothrowFluent builder for panel.frame.Frame