Panel.FrameHeader¶
- Implementations:
Panel.FrameHeaderBar
,Panel.FrameSwitcher
,Panel.FrameTabBar
Methods¶
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
|
|
|
|
|
|
|
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
Frame |
Signals¶
None
Fields¶
None
Class Details¶
- class Panel.FrameHeader¶
- Bases:
- Structure:
An interface implemented by the header of a
Panel.Frame
.- add_prefix(priority, child)¶
- Parameters:
priority (
int
) – the prioritychild (
Gtk.Widget
) – aGtk.Widget
Add a widget into a the prefix area with a priority. The highest the priority the closest to the start.
- add_suffix(priority, child)¶
- Parameters:
priority (
int
) – the prioritychild (
Gtk.Widget
) – aGtk.Widget
Add a widget into a the suffix area with a priority. The highest the priority the closest to the start.
- can_drop(widget)¶
- Parameters:
widget (
Panel.Widget
) – aPanel.Widget
- Returns:
whether the widget can be dropped.
- Return type:
Tells if the panel widget can be drop onto the panel frame.
- get_frame()¶
- Returns:
a
Panel.Frame
orNone
- Return type:
Panel.Frame
orNone
Gets the frame the header is attached to.
- page_changed(widget)¶
- Parameters:
widget (
Panel.Widget
orNone
) – aPanel.Widget
orNone
if no page is visible
Notifies the header that the visible page has changed.
- set_frame(frame)¶
- Parameters:
frame (
Panel.Frame
orNone
) – aPanel.Frame
orNone
Sets the frame the header is attached to.
- do_add_prefix(priority, child) virtual¶
- Parameters:
priority (
int
) – the prioritychild (
Gtk.Widget
) – aGtk.Widget
Add a widget into a the prefix area with a priority. The highest the priority the closest to the start.
- do_add_suffix(priority, child) virtual¶
- Parameters:
priority (
int
) – the prioritychild (
Gtk.Widget
) – aGtk.Widget
Add a widget into a the suffix area with a priority. The highest the priority the closest to the start.
- do_can_drop(widget) virtual¶
- Parameters:
widget (
Panel.Widget
) – aPanel.Widget
- Returns:
whether the widget can be dropped.
- Return type:
Tells if the panel widget can be drop onto the panel frame.
- do_page_changed(widget) virtual¶
- Parameters:
widget (
Panel.Widget
orNone
) – aPanel.Widget
orNone
if no page is visible
Notifies the header that the visible page has changed.