Gladeui.Clipboard

g GObject.Object GObject.Object Gladeui.Clipboard Gladeui.Clipboard GObject.Object->Gladeui.Clipboard

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

add (widgets)

clear ()

get_has_selection ()

widgets ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

has-selection

bool

r

Whether clipboard has a selection of items to paste

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

GObject.Object

r

Class Details

class Gladeui.Clipboard(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Gladeui.ClipboardClass

classmethod new()
Returns:

a new Gladeui.Clipboard object

Return type:

Gladeui.Clipboard

add(widgets)
Parameters:

widgets ([Gladeui.Widget]) – a GLib.List of Gladeui.Widgets

Adds widgets to self. This increases the reference count of each Gladeui.Widget in widgets.

clear()

Removes all widgets from the self.

get_has_selection()
Returns:

True if this clipboard has selected items to paste.

Return type:

bool

widgets()
Returns:

a GLib.List of Gladeui.Widgets

Return type:

[Gladeui.Widget]

Property Details

Gladeui.Clipboard.props.has_selection
Name:

has-selection

Type:

bool

Default Value:

False

Flags:

READABLE

Whether clipboard has a selection of items to paste