GObject.Object
GObject.InitiallyUnowned
Clutter.ActorMeta
Clutter.Action
Clutter.DragAction
Import line: | Clutter = imports.gi.Clutter; |
GIR File: | Clutter-1.0.gir |
C documentation: | ClutterDragAction |
Class : | DragAction |
Extends: | Clutter.Action |
Properties | Defined By | |
---|---|---|
actor : Clutter.Actor
read only
The ClutterActor attached to the ClutterActorMeta instance
The ClutterActor attached to the ClutterActorMeta instance
|
Clutter.ActorMeta | |
drag_axis : Clutter.DragAxis
Constraints the dragging action to the specified axis
Constraints the dragging action to the specified axis
|
Clutter.DragAction | |
drag_handle : Clutter.Actor
The ClutterActor that is effectively being dragged
A ClutterDragActor will, be default, use the ClutterActor that has been attached to the action; it is possible to create a separate ClutterActor and use it instead. The ClutterActor that is effectively being dragged
A ClutterDragActor will, be default, use the ClutterActor that has been attached to the action; it is possible to create a separate ClutterActor and use it instead. Setting this property has no effect on the ClutterActor argument passed to the ClutterDragAction signals |
Clutter.DragAction | |
enabled : gboolean
Whether or not the ClutterActorMeta is enabled
Whether or not the ClutterActorMeta is enabled
|
Clutter.ActorMeta | |
g_type_instance : GObject.TypeInstance
|
GObject.InitiallyUnowned | |
name : String
The unique name to access the ClutterActorMeta
The unique name to access the ClutterActorMeta
|
Clutter.ActorMeta | |
parent_instance : Clutter.Action
read only
|
Clutter.DragAction | |
priv : Clutter.DragActionPrivate
read only
|
Clutter.DragAction | |
qdata : GLib.Data
read only
|
GObject.InitiallyUnowned | |
ref_count : guint32
read only
|
GObject.InitiallyUnowned | |
x_drag_threshold : guint32
|
Clutter.DragAction | |
y_drag_threshold : guint32
|
Clutter.DragAction |
Method / Constructor | Defined By | |
---|---|---|
new Clutter.DragAction
(Object properties)
Create a new Clutter.DragAction
Create a new Clutter.DragAction
|
||
get_actor
()
:
Clutter.Actor
Retrieves a pointer to the ClutterActor that owns meta
Retrieves a pointer to the ClutterActor that owns meta
|
Clutter.ActorMeta | |
get_drag_axis
()
:
Clutter.DragAxis
Retrieves the axis constraint set by clutter_drag_action_set_drag_axis()
Retrieves the axis constraint set by clutter_drag_action_set_drag_axis()
|
Clutter.DragAction | |
get_drag_handle
()
:
Clutter.Actor
Retrieves the drag handle set by clutter_drag_action_set_drag_handle()
handle, or NULL if none was set
Retrieves the drag handle set by clutter_drag_action_set_drag_handle()
handle, or NULL if none was set
|
Clutter.DragAction | |
get_drag_threshold
()
:
Object
|
Clutter.DragAction | |
get_enabled
()
:
gboolean
Retrieves whether meta is enabled
Retrieves whether meta is enabled
|
Clutter.ActorMeta | |
get_motion_coords
()
:
Object
|
Clutter.DragAction | |
get_name
()
:
String
Retrieves the name set using clutter_actor_meta_set_name()
instance, or NULL if none was set.
Retrieves the name set using clutter_actor_meta_set_name()
instance, or NULL if none was set. The returned string is owned by the ClutterActorMeta instance and it should not be modified or freed
|
Clutter.ActorMeta | |
get_press_coords
()
:
Object
|
Clutter.DragAction | |
set_drag_axis
(DragAxis axis)
:
none
Restricts the dragging action to a specific axis
Restricts the dragging action to a specific axis
|
Clutter.DragAction | |
set_drag_handle
(Actor handle)
:
none
Sets the actor to be used as the drag handle
Sets the actor to be used as the drag handle
|
Clutter.DragAction | |
Clutter.DragAction | ||
set_enabled
(gboolean is_enabled)
:
none
Sets whether meta should be enabled or not
Sets whether meta should be enabled or not
|
Clutter.ActorMeta | |
set_name
(String name)
:
none
Sets the name of meta
The name can be used to identify the ClutterActorMeta instance
Sets the name of meta
The name can be used to identify the ClutterActorMeta instance
|
Clutter.ActorMeta |
Event | Defined By | |
---|---|---|
drag_begin (DragAction self, Actor actor, gfloat event_x, gfloat event_y, ModifierType modifiers)
:
none
The ::drag-begin signal is emitted when the ClutterDragAction
starts the dragging The emission of this signal can be delayed by using the ClutterDragAction:drag-threshold property
The ::drag-begin signal is emitted when the ClutterDragAction
starts the dragging The emission of this signal can be delayed by using the ClutterDragAction:drag-threshold property
|
Clutter.DragAction | |
drag_end (DragAction self, Actor actor, gfloat event_x, gfloat event_y, ModifierType modifiers)
:
none
The ::drag-end signal is emitted at the end of the dragging,
when the pointer button's is released This signal is emitted if and only if the ClutterDragAction::drag-begin signal has been emitted first
The ::drag-end signal is emitted at the end of the dragging,
when the pointer button's is released This signal is emitted if and only if the ClutterDragAction::drag-begin signal has been emitted first
|
Clutter.DragAction | |
|
Clutter.DragAction |