Panel.FrameHeaderBar

g GObject.GInterface GObject.GInterface Gtk.Accessible Gtk.Accessible GObject.GInterface->Gtk.Accessible Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable Gtk.ConstraintTarget Gtk.ConstraintTarget GObject.GInterface->Gtk.ConstraintTarget Panel.FrameHeader Panel.FrameHeader GObject.GInterface->Panel.FrameHeader GObject.InitiallyUnowned GObject.InitiallyUnowned Gtk.Widget Gtk.Widget GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Accessible->Gtk.Widget Gtk.Buildable->Gtk.Widget Gtk.ConstraintTarget->Gtk.Widget Panel.FrameHeaderBar Panel.FrameHeaderBar Gtk.Widget->Panel.FrameHeaderBar Panel.FrameHeader->Panel.FrameHeaderBar

Subclasses:

None

Methods

Inherited:

Gtk.Widget (181), GObject.Object (37), Gtk.Accessible (15), Gtk.Buildable (1), Panel.FrameHeader (6)

Structs:

Gtk.WidgetClass (18), GObject.ObjectClass (5)

class

new ()

get_menu_popover ()

get_show_icon ()

set_show_icon (show_icon)

Virtual Methods

Inherited:

Gtk.Widget (25), GObject.Object (7), Gtk.Accessible (6), Gtk.Buildable (9), Panel.FrameHeader (4)

Properties

Inherited:

Gtk.Widget (34), Gtk.Accessible (1), Panel.FrameHeader (1)

Name

Type

Flags

Short Description

show-icon

bool

r/w/en

Show Icon

Signals

Inherited:

Gtk.Widget (13), GObject.Object (1)

Fields

Inherited:

Gtk.Widget (13), GObject.Object (1)

Class Details

class Panel.FrameHeaderBar(**kwargs)
Bases:

Gtk.Widget, Panel.FrameHeader

Abstract:

No

Structure:

Panel.FrameHeaderBarClass

A header bar for Panel.Frame. It can optionally show an icon, it can have a popover to be displace, and it can also have prefix and suffix widgets.

It is an implementation of Panel.FrameHeader

classmethod new()
Returns:

a newly created Panel.FrameHeaderBar

Return type:

Gtk.Widget

Create a new Panel.FrameHeaderBar.

get_menu_popover()
Returns:

a Gtk.PopoverMenu

Return type:

Gtk.PopoverMenu

Gets the menu popover attached to this menubar.

get_show_icon()
Returns:

whether to show the icon.

Return type:

bool

Tell whether it show the icon or not.

set_show_icon(show_icon)
Parameters:

show_icon (bool) – whether to show the icon

Set whether to show the icon or not.

Property Details

Panel.FrameHeaderBar.props.show_icon
Name:

show-icon

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE, EXPLICIT_NOTIFY

Whether to show the icon or not.