Top |
CallyActorCallyActor — Implementation of the ATK interfaces for ClutterActor |
void | (*CallyActionFunc) () |
void | (*CallyActionCallback) () |
AtkObject * | cally_actor_new () |
guint | cally_actor_add_action () |
guint | cally_actor_add_action_full () |
gboolean | cally_actor_remove_action () |
gboolean | cally_actor_remove_action_by_name () |
GObject ╰── AtkObject ╰── AtkGObjectAccessible ╰── CallyActor ├── CallyClone ├── CallyGroup ├── CallyRectangle ├── CallyText ╰── CallyTexture
CallyActor implements the required ATK interfaces of ClutterActor exposing the common elements on each actor (position, extents, etc).
void
(*CallyActionFunc) (CallyActor *cally_actor
);
Action function, to be used on AtkAction implementations as a individual action
Since 1.4
void (*CallyActionCallback) (CallyActor *cally_actor
,gpointer user_data
);
Action function, to be used on AtkAction implementations as
an individual action. Unlike CallyActionFunc, this function
uses the user_data
argument passed to cally_actor_add_action_full()
.
Since 1.6
AtkObject *
cally_actor_new (ClutterActor *actor
);
Creates a new CallyActor for the given actor
Since 1.4
guint cally_actor_add_action (CallyActor *cally_actor
,const gchar *action_name
,const gchar *action_description
,const gchar *action_keybinding
,CallyActionFunc action_func
);
Adds a new action to be accessed with the AtkAction interface.
cally_actor |
||
action_name |
the action name |
|
action_description |
the action description |
|
action_keybinding |
the action keybinding |
|
action_func |
the callback of the action, to be executed with do_action |
Since 1.4
guint cally_actor_add_action_full (CallyActor *cally_actor
,const gchar *action_name
,const gchar *action_description
,const gchar *action_keybinding
,CallyActionCallback callback
,gpointer user_data
,GDestroyNotify notify
);
Adds a new action to be accessed with the AtkAction interface.
cally_actor |
||
action_name |
the action name |
|
action_description |
the action description |
|
action_keybinding |
the action keybinding |
|
callback |
the callback of the action. |
[scope notified] |
user_data |
data to be passed to |
[closure] |
notify |
function to be called when removing the action |
Since 1.6
gboolean cally_actor_remove_action (CallyActor *cally_actor
,gint action_id
);
Removes a action, using the action_id
returned by cally_actor_add_action()
Since 1.4
gboolean cally_actor_remove_action_by_name (CallyActor *cally_actor
,const gchar *action_name
);
Removes an action, using the action_name
used when the action was added
with cally_actor_add_action()
Since 1.4
struct CallyActor;
The <structname>CallyActor</structname> structure contains only private data and should be accessed using the provided API
Since 1.4
struct CallyActorClass { void (*notify_clutter) (GObject *object, GParamSpec *pspec); gboolean (*focus_clutter) (ClutterActor *actor, gpointer data); gint (*add_actor) (ClutterActor *container, ClutterActor *actor, gpointer data); gint (*remove_actor) (ClutterActor *container, ClutterActor *actor, gpointer data); };
The <structname>CallyActorClass</structname> structure contains only private data
Signal handler for notify signal on Clutter actor |
||
Signal handler for key-focus-in and key-focus-out signal on Clutter actor. This virtual functions is deprecated. |
||
Signal handler for actor-added signal on ClutterContainer interface |
||
Signal handler for actor-added signal on ClutterContainer interface |
Since 1.4