Skip to content

Instantly share code, notes, and snippets.

@arjan
Created September 21, 2010 21:16
Show Gist options
  • Save arjan/590565 to your computer and use it in GitHub Desktop.
Save arjan/590565 to your computer and use it in GitHub Desktop.
commit 0954a59be189ea6313f93636603082043f1e1e3f
Author: Arjan Scherpenisse <[email protected]>
Date: Tue Sep 21 20:05:42 2010 +0200
Updated Python defs to 1.2.13
diff --git a/clutter/clutter-base.defs b/clutter/clutter-base.defs
index 0752ebe..8122dac 100644
--- a/clutter/clutter-base.defs
+++ b/clutter/clutter-base.defs
@@ -3243,16 +3243,18 @@
(varargs #t)
)
-(define-virtual create_child_meta
+(define-method create_child_meta
(of-object "ClutterContainer")
+ (c-name "clutter_container_create_child_meta")
(return-type "none")
(parameters
'("ClutterActor*" "actor")
)
)
-(define-virtual destroy_child_meta
+(define-method destroy_child_meta
(of-object "ClutterContainer")
+ (c-name "clutter_container_destroy_child_meta")
(return-type "none")
(parameters
'("ClutterActor*" "actor")
@@ -3261,6 +3263,36 @@
;; From clutter-enum-types.h
+(define-function redraw_flags_get_type
+ (c-name "clutter_redraw_flags_get_type")
+ (return-type "GType")
+)
+
+(define-function interpolation_get_type
+ (c-name "clutter_interpolation_get_type")
+ (return-type "GType")
+)
+
+(define-function bin_alignment_get_type
+ (c-name "clutter_bin_alignment_get_type")
+ (return-type "GType")
+)
+
+(define-function box_alignment_get_type
+ (c-name "clutter_box_alignment_get_type")
+ (return-type "GType")
+)
+
+(define-function flow_orientation_get_type
+ (c-name "clutter_flow_orientation_get_type")
+ (return-type "GType")
+)
+
+(define-function text_direction_get_type
+ (c-name "clutter_text_direction_get_type")
+ (return-type "GType")
+)
+
(define-function shader_error_get_type
(c-name "clutter_shader_error_get_type")
(return-type "GType")
@@ -3777,6 +3809,54 @@
+;; From clutter-input-device.h
+
+(define-function input_device_get_type
+ (c-name "clutter_input_device_get_type")
+ (return-type "GType")
+)
+
+(define-method get_device_coords
+ (of-object "ClutterInputDevice")
+ (c-name "clutter_input_device_get_device_coords")
+ (return-type "none")
+ (parameters
+ '("gint*" "x")
+ '("gint*" "y")
+ )
+)
+
+(define-method get_pointer_actor
+ (of-object "ClutterInputDevice")
+ (c-name "clutter_input_device_get_pointer_actor")
+ (return-type "ClutterActor*")
+)
+
+(define-method get_pointer_stage
+ (of-object "ClutterInputDevice")
+ (c-name "clutter_input_device_get_pointer_stage")
+ (return-type "ClutterStage*")
+)
+
+(define-method get_device_name
+ (of-object "ClutterInputDevice")
+ (c-name "clutter_input_device_get_device_name")
+ (return-type "const-gchar*")
+)
+
+(define-method update_from_event
+ (of-object "ClutterInputDevice")
+ (c-name "clutter_input_device_update_from_event")
+ (return-type "none")
+ (parameters
+ '("ClutterEvent*" "event")
+ '("gboolean" "update_stage")
+ )
+)
+
+
+
+
;; From clutter-keysyms.h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment