Cally.Actor¶
- Subclasses:
Cally.Clone
,Cally.Group
,Cally.Rectangle
,Cally.Text
,Cally.Texture
Methods¶
- Inherited:
Atk.GObjectAccessible (2), Atk.Object (27), GObject.Object (37), Atk.Action (7), Atk.Component (15)
- Structs:
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Atk.Object (24), GObject.Object (7), Atk.Action (7), Atk.Component (16)
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class Cally.Actor(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
Cally.Actor
structure contains only private data and should be accessed using the provided APINew in version 1.4.
- classmethod new(actor)¶
- Parameters:
actor (
Clutter.Actor
) – aClutter.Actor
- Returns:
the newly created
Atk.Object
- Return type:
Creates a new
Cally.Actor
for the given actorNew in version 1.4.
- add_action(action_name, action_description, action_keybinding, callback, *user_data)¶
- Parameters:
- Returns:
added action id, or -1 if failure
- Return type:
Adds a new action to be accessed with the
Atk.Action
interface.New in version 1.6.
- remove_action(action_id)¶
- Parameters:
action_id (
int
) – the action id- Returns:
- Return type:
Removes a action, using the action_id returned by
Cally.Actor.add_action
()New in version 1.4.
- remove_action_by_name(action_name)¶
- Parameters:
action_name (
str
) – the name of the action to remove- Returns:
- Return type:
Removes an action, using the action_name used when the action was added with
Cally.Actor.add_action
()New in version 1.4.