panel.frame_header_mixin
Module for [FrameHeader] interface mixin
Templates 2
tmplFrameHeaderT()
An interface implemented by the header of a #PanelFrame.
Functions
panel.frame.Frame frame()
Get frame property.
Returns
The frame the header is attached to, or null.
void frame(panel.frame.Frame propval)
Set frame property.
Parameters
propval | The frame the header is attached to, or null. |
void addPrefix(int priority, gtk.widget.Widget child)
Add a widget into a the prefix area with a priority. The highest the priority the closest to the start.
Parameters
priority | the priority |
child | a #GtkWidget |
void addSuffix(int priority, gtk.widget.Widget child)
Add a widget into a the suffix area with a priority. The highest the priority the closest to the start.
Parameters
priority | the priority |
child | a #GtkWidget |
bool canDrop(panel.widget.Widget widget)
Tells if the panel widget can be drop onto the panel frame.
Parameters
widget | a #PanelWidget |
Returns
whether the widget can be dropped.
panel.frame.Frame getFrame()
Gets the frame the header is attached to.
Returns
a #PanelFrame or null
void pageChanged(panel.widget.Widget widget = null)
Notifies the header that the visible page has changed.
Parameters
widget | a #PanelWidget or null if no page is visible |
void setFrame(panel.frame.Frame frame = null)
Sets the frame the header is attached to.
Parameters
frame | a #PanelFrame or null |
tmplFrameHeaderGidBuilderT()
Functions
T frame(panel.frame.Frame propval)
Set frame property.
Parameters
propval | The frame the header is attached to, or null. |
Returns
Builder instance for fluent chaining