panel.frame_header_mixin

Module for [FrameHeader] interface mixin

Templates 2

tmplFrameHeaderT()

An interface implemented by the header of a #PanelFrame.

Functions

Get frame property.

Returns

The frame the header is attached to, or null.
void frame(panel.frame.Frame propval)

Set frame property.

Parameters

propvalThe 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

prioritythe priority
childa #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

prioritythe priority
childa #GtkWidget
bool canDrop(panel.widget.Widget widget)

Tells if the panel widget can be drop onto the panel frame.

Parameters

widgeta #PanelWidget

Returns

whether the widget can be dropped.

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

widgeta #PanelWidget or null if no page is visible
void setFrame(panel.frame.Frame frame = null)

Sets the frame the header is attached to.

Parameters

framea #PanelFrame or null
tmplFrameHeaderGidBuilderT()
Functions
T frame(panel.frame.Frame propval)

Set frame property.

Parameters

propvalThe frame the header is attached to, or null.

Returns

Builder instance for fluent chaining