Gtk.ColorSelectionDialog

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 Gtk.Bin Gtk.Bin Gtk.Window Gtk.Window Gtk.Bin->Gtk.Window Gtk.Buildable->Gtk.Widget Gtk.ColorSelectionDialog Gtk.ColorSelectionDialog Gtk.Container Gtk.Container Gtk.Container->Gtk.Bin Gtk.Dialog Gtk.Dialog Gtk.Dialog->Gtk.ColorSelectionDialog Gtk.Widget->Gtk.Container Gtk.Window->Gtk.Dialog

Subclasses:

None

Methods

Inherited:

Gtk.Dialog (14), Gtk.Window (119), 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 (title)

get_color_selection ()

Virtual Methods

Inherited:

Gtk.Dialog (2), Gtk.Window (5), Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10)

Properties

Inherited:

Gtk.Dialog (1), Gtk.Window (33), Gtk.Container (3), Gtk.Widget (39)

Name

Type

Flags

Short Description

cancel-button

Gtk.Widget

r

The cancel button of the dialog.

color-selection

Gtk.Widget

r

The color selection embedded in the dialog.

help-button

Gtk.Widget

r

The help button of the dialog.

ok-button

Gtk.Widget

r

The OK button of the dialog.

Style Properties

Inherited:

Gtk.Dialog (4), Gtk.Window (2), Gtk.Widget (17)

Signals

Inherited:

Gtk.Dialog (2), Gtk.Window (5), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Fields

Inherited:

Gtk.Dialog (2), Gtk.Window (5), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Name

Type

Access

Description

parent_instance

Gtk.Dialog

r

Class Details

class Gtk.ColorSelectionDialog(*args, **kwargs)
Bases:

Gtk.Dialog

Abstract:

No

Structure:

Gtk.ColorSelectionDialogClass

classmethod new(title)[source]
Parameters:

title (str) – a string containing the title text for the dialog.

Returns:

a Gtk.ColorSelectionDialog.

Return type:

Gtk.Widget

Creates a new Gtk.ColorSelectionDialog.

get_color_selection()[source]
Returns:

the embedded Gtk.ColorSelection

Return type:

Gtk.Widget

Retrieves the Gtk.ColorSelection widget embedded in the dialog.

New in version 2.14.

Property Details

Gtk.ColorSelectionDialog.props.cancel_button
Name:

cancel-button

Type:

Gtk.Widget

Default Value:

None

Flags:

READABLE

The cancel button of the dialog.

Gtk.ColorSelectionDialog.props.color_selection
Name:

color-selection

Type:

Gtk.Widget

Default Value:

None

Flags:

READABLE

The color selection embedded in the dialog.

Gtk.ColorSelectionDialog.props.help_button
Name:

help-button

Type:

Gtk.Widget

Default Value:

None

Flags:

READABLE

The help button of the dialog.

Gtk.ColorSelectionDialog.props.ok_button
Name:

ok-button

Type:

Gtk.Widget

Default Value:

None

Flags:

READABLE

The OK button of the dialog.