GimpUi.Frame

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned GimpUi.Frame GimpUi.Frame Gtk.Bin Gtk.Bin Gtk.Frame Gtk.Frame Gtk.Bin->Gtk.Frame Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Container->Gtk.Bin Gtk.Frame->GimpUi.Frame Gtk.Widget->Gtk.Container

Subclasses:

GimpUi.IntRadioFrame

Methods

Inherited:

Gtk.Frame (9), Gtk.Bin (1), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10)

Structs:

Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)

class

new (label)

Virtual Methods

Inherited:

Gtk.Frame (1), Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10)

Properties

Inherited:

Gtk.Frame (5), Gtk.Container (3), Gtk.Widget (39)

Style Properties

Inherited:

Gtk.Widget (17)

Name

Type

Default

Flags

Short Description

label-bold

bool

True

r

Whether the frame’s label should be bold

label-spacing

int

6

r

The spacing between the label and the frame content

Signals

Inherited:

Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Fields

Inherited:

Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Name

Type

Access

Description

parent_instance

Gtk.Frame

r

Class Details

class GimpUi.Frame(**kwargs)
Bases:

Gtk.Frame

Abstract:

No

Structure:

GimpUi.FrameClass

A widget providing a HIG-compliant subclass of Gtk.Frame.

classmethod new(label)
Parameters:

label (str or None) – text to set as the frame’s title label (or None for no title)

Returns:

a new GimpUi.Frame widget

Return type:

Gtk.Widget

Creates a GimpUi.Frame widget. A GimpUi.Frame is a HIG-compliant variant of Gtk.Frame. It doesn’t render a frame at all but otherwise behaves like a frame. The frame’s title is rendered in bold and the frame content is indented four spaces as suggested by the GNOME HIG (see https://developer.gnome.org/hig/stable/).

New in version 2.2.