Gladeui.WidgetActionDef

Fields

Name

Type

Access

Description

actions

[object]

r/w

id

str

r/w

important

bool

r/w

label

str

r/w

path

str

r/w

stock

str

r/w

Methods

class

new (path)

clone ()

free ()

set_important (important)

set_label (label)

set_stock (stock)

Details

class Gladeui.WidgetActionDef
classmethod new(path)
Parameters:

path (str) – the action path

Returns:

a newly created Gladeui.WidgetActionDef for path.

Return type:

Gladeui.WidgetActionDef

clone()
Returns:

a newly allocated copy of self.

Return type:

Gladeui.WidgetActionDef

free()

Frees a Gladeui.WidgetActionDef.

set_important(important)
Parameters:

important (bool) –

set_label(label)
Parameters:

label (str) –

set_stock(stock)
Parameters:

stock (str) –