Gladeui.WidgetAction

g GObject.Object GObject.Object Gladeui.WidgetAction Gladeui.WidgetAction GObject.Object->Gladeui.WidgetAction

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_children ()

get_def ()

get_sensitive ()

get_visible ()

set_sensitive (sensitive)

set_visible (visible)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

definition

int

w/co

Gladeui.WidgetActionDef structure pointer

sensitive

bool

r/w

Whether this action is sensitive

visible

bool

r/w

Whether this action is visible

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

GObject.Object

r

Class Details

class Gladeui.WidgetAction(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Gladeui.WidgetActionClass

get_children()
Returns:

a list of Gladeui.WidgetActionDef

Return type:

[Gladeui.WidgetActionDef]

get_def()
Return type:

Gladeui.WidgetActionDef

get_sensitive()
Return type:

bool

get_visible()
Return type:

bool

set_sensitive(sensitive)
Parameters:

sensitive (bool) – the sensitivity to set

Set whether or not this action is sensitive.

set_visible(visible)
Parameters:

visible (bool) –

Property Details

Gladeui.WidgetAction.props.definition
Name:

definition

Type:

int

Default Value:

None

Flags:

WRITABLE, CONSTRUCT_ONLY

Gladeui.WidgetActionDef structure pointer

Gladeui.WidgetAction.props.sensitive
Name:

sensitive

Type:

bool

Default Value:

True

Flags:

READABLE, WRITABLE

Whether this action is sensitive

Gladeui.WidgetAction.props.visible
Name:

visible

Type:

bool

Default Value:

True

Flags:

READABLE, WRITABLE

Whether this action is visible