df92202c5f
* clutter/Makefile.am: * clutter/clutter-actor.c: * clutter/clutter-actor.h: * clutter/clutter-clone-texture.c: * clutter/clutter-clone-texture.h: * clutter/clutter-element.c: * clutter/clutter-element.h: * clutter/clutter-group.c: * clutter/clutter-group.h: * clutter/clutter-label.c: * clutter/clutter-label.h: * clutter/clutter-main.c: * clutter/clutter-main.h: * clutter/clutter-rectangle.c: * clutter/clutter-rectangle.h: * clutter/clutter-stage.c: * clutter/clutter-stage.h: * clutter/clutter-texture.c: * clutter/clutter-texture.h: * clutter/clutter-video-texture.c: * clutter/clutter-video-texture.h: * clutter/clutter.h: * examples/super-oh.c: * examples/test-text.c: * examples/test-video.c: * examples/test.c: * examples/video-cube.c: * gtk/gtk-clutter-test.c: * gtk/gtk-clutter.c: * gtk/gtk-clutter.h: Element to Actor Renaming.
1079 lines
20 KiB
Scheme
1079 lines
20 KiB
Scheme
;; -*- scheme -*-
|
|
|
|
(include "clutter-base-types.defs")
|
|
|
|
;; From ../../clutter/clutter-keysyms.h
|
|
|
|
|
|
|
|
;; From ../../clutter/clutter-timeline.h
|
|
|
|
(define-function clutter_timeline_get_type
|
|
(c-name "clutter_timeline_get_type")
|
|
(return-type "GType")
|
|
)
|
|
|
|
(define-function clutter_timeline_new
|
|
(c-name "clutter_timeline_new")
|
|
(is-constructor-of "ClutterTimeline")
|
|
(return-type "ClutterTimeline*")
|
|
(properties
|
|
'("num-frames" (argname "frames"))
|
|
'("fps" (argsname "fps"))
|
|
)
|
|
)
|
|
|
|
(define-method set_speed
|
|
(of-object "ClutterTimeline")
|
|
(c-name "clutter_timeline_set_speed")
|
|
(return-type "none")
|
|
(parameters
|
|
'("guint" "fps")
|
|
)
|
|
)
|
|
|
|
(define-method start
|
|
(of-object "ClutterTimeline")
|
|
(c-name "clutter_timeline_start")
|
|
(return-type "none")
|
|
)
|
|
|
|
(define-method pause
|
|
(of-object "ClutterTimeline")
|
|
(c-name "clutter_timeline_pause")
|
|
(return-type "none")
|
|
)
|
|
|
|
(define-method stop
|
|
(of-object "ClutterTimeline")
|
|
(c-name "clutter_timeline_stop")
|
|
(return-type "none")
|
|
)
|
|
|
|
(define-method set_loop
|
|
(of-object "ClutterTimeline")
|
|
(c-name "clutter_timeline_set_loop")
|
|
(return-type "none")
|
|
(parameters
|
|
'("gboolean" "loop")
|
|
)
|
|
)
|
|
|
|
(define-method rewind
|
|
(of-object "ClutterTimeline")
|
|
(c-name "clutter_timeline_rewind")
|
|
(return-type "none")
|
|
)
|
|
|
|
(define-method skip
|
|
(of-object "ClutterTimeline")
|
|
(c-name "clutter_timeline_skip")
|
|
(return-type "none")
|
|
(parameters
|
|
'("guint" "nframes")
|
|
)
|
|
)
|
|
|
|
(define-method advance
|
|
(of-object "ClutterTimeline")
|
|
(c-name "clutter_timeline_advance")
|
|
(return-type "none")
|
|
(parameters
|
|
'("guint" "frame_num")
|
|
)
|
|
)
|
|
|
|
(define-method get_current_frame
|
|
(of-object "ClutterTimeline")
|
|
(c-name "clutter_timeline_get_current_frame")
|
|
(return-type "gint")
|
|
)
|
|
|
|
(define-method get_n_frames
|
|
(of-object "ClutterTimeline")
|
|
(c-name "clutter_timeline_get_n_frames")
|
|
(return-type "guint")
|
|
)
|
|
|
|
|
|
|
|
;; From ../../clutter/clutter-main.h
|
|
|
|
(define-function clutter_init
|
|
(c-name "clutter_init")
|
|
(return-type "int")
|
|
(parameters
|
|
'("int*" "argc")
|
|
'("char***" "argv")
|
|
)
|
|
)
|
|
|
|
(define-function main
|
|
(c-name "clutter_main")
|
|
(return-type "none")
|
|
)
|
|
|
|
(define-function main_quit
|
|
(c-name "clutter_main_quit")
|
|
(return-type "none")
|
|
)
|
|
|
|
(define-function redraw
|
|
(c-name "clutter_redraw")
|
|
(return-type "none")
|
|
(parameters
|
|
)
|
|
)
|
|
|
|
(define-function xdisplay
|
|
(c-name "clutter_xdisplay")
|
|
(return-type "Display*")
|
|
)
|
|
|
|
(define-function xscreen
|
|
(c-name "clutter_xscreen")
|
|
(return-type "int")
|
|
)
|
|
|
|
(define-function root_xwindow
|
|
(c-name "clutter_root_xwindow")
|
|
(return-type "Window")
|
|
)
|
|
|
|
(define-function gl_context
|
|
(c-name "clutter_gl_context")
|
|
(return-type "GLXContext")
|
|
)
|
|
|
|
(define-function want_debug
|
|
(c-name "clutter_want_debug")
|
|
(return-type "gboolean")
|
|
)
|
|
|
|
(define-function threads_enter
|
|
(c-name "clutter_threads_enter")
|
|
(return-type "none")
|
|
)
|
|
|
|
(define-function threads_leave
|
|
(c-name "clutter_threads_leave")
|
|
(return-type "none")
|
|
)
|
|
|
|
|
|
|
|
;; From ../../clutter/clutter-event.h
|
|
|
|
(define-function clutter_event_new
|
|
(c-name "clutter_event_new")
|
|
(is-constructor-of "ClutterEvent")
|
|
(return-type "ClutterEvent*")
|
|
(parameters
|
|
'("ClutterEventType" "type")
|
|
)
|
|
)
|
|
|
|
(define-method copy
|
|
(of-object "ClutterEvent")
|
|
(c-name "clutter_event_copy")
|
|
(return-type "ClutterEvent*")
|
|
)
|
|
|
|
(define-method free
|
|
(of-object "ClutterEvent")
|
|
(c-name "clutter_event_free")
|
|
(return-type "none")
|
|
)
|
|
|
|
(define-method type
|
|
(of-object "ClutterKeyEvent")
|
|
(c-name "clutter_key_event_type")
|
|
(return-type "ClutterEventType")
|
|
)
|
|
|
|
(define-method time
|
|
(of-object "ClutterKeyEvent")
|
|
(c-name "clutter_key_event_time")
|
|
(return-type "guint32")
|
|
)
|
|
|
|
(define-method state
|
|
(of-object "ClutterKeyEvent")
|
|
(c-name "clutter_key_event_state")
|
|
(return-type "guint")
|
|
)
|
|
|
|
(define-method symbol
|
|
(of-object "ClutterKeyEvent")
|
|
(c-name "clutter_key_event_symbol")
|
|
(return-type "guint")
|
|
)
|
|
|
|
(define-method code
|
|
(of-object "ClutterKeyEvent")
|
|
(c-name "clutter_key_event_code")
|
|
(return-type "guint16")
|
|
)
|
|
|
|
(define-method unicode
|
|
(of-object "ClutterKeyEvent")
|
|
(c-name "clutter_key_event_unicode")
|
|
(return-type "guint32")
|
|
)
|
|
|
|
(define-function clutter_keysym_to_unicode
|
|
(c-name "clutter_keysym_to_unicode")
|
|
(return-type "guint32")
|
|
(parameters
|
|
'("guint" "keyval")
|
|
)
|
|
)
|
|
|
|
|
|
|
|
;; From ../../clutter/clutter-actor.h
|
|
|
|
(define-function clutter_geometry_get_type
|
|
(c-name "clutter_geometry_get_type")
|
|
(return-type "GType")
|
|
)
|
|
|
|
;;(define-function geometry_new
|
|
;; (c-name "clutter_geometry_new")
|
|
;; (is-constructor-of "ClutterGeometry")
|
|
;; (return-type "ClutterGeometry")
|
|
;;)
|
|
|
|
(define-function clutter_actor_box_get_type
|
|
(c-name "clutter_actor_box_get_type")
|
|
(return-type "GType")
|
|
)
|
|
|
|
;;(define-function actor_box_new
|
|
;; (c-name "clutter_actor_box_new")
|
|
;; (is-constructor-of "ClutterActorBox")
|
|
;; (return-type "ClutterActorBox")
|
|
;;)
|
|
|
|
(define-function clutter_actor_get_type
|
|
(c-name "clutter_actor_get_type")
|
|
(return-type "GType")
|
|
)
|
|
|
|
(define-method show
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_show")
|
|
(return-type "none")
|
|
)
|
|
|
|
(define-method hide
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_hide")
|
|
(return-type "none")
|
|
)
|
|
|
|
(define-method realize
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_realize")
|
|
(return-type "none")
|
|
)
|
|
|
|
(define-method unrealize
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_unrealize")
|
|
(return-type "none")
|
|
)
|
|
|
|
(define-method paint
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_paint")
|
|
(return-type "none")
|
|
)
|
|
|
|
(define-method queue_redraw
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_queue_redraw")
|
|
(return-type "none")
|
|
)
|
|
|
|
(define-method request_coords
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_request_coords")
|
|
(return-type "none")
|
|
(parameters
|
|
'("ClutterActorBox*" "box")
|
|
)
|
|
)
|
|
|
|
(define-method allocate_coords
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_allocate_coords")
|
|
(return-type "none")
|
|
(parameters
|
|
'("ClutterActorBox*" "box")
|
|
)
|
|
)
|
|
|
|
(define-method set_geometry
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_set_geometry")
|
|
(return-type "none")
|
|
(parameters
|
|
'("ClutterGeometry*" "geom")
|
|
)
|
|
)
|
|
|
|
(define-method get_geometry
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_get_geometry")
|
|
(return-type "none")
|
|
(parameters
|
|
'("ClutterGeometry*" "geom")
|
|
)
|
|
)
|
|
|
|
(define-method get_coords
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_get_coords")
|
|
(return-type "none")
|
|
(parameters
|
|
'("gint*" "x1")
|
|
'("gint*" "y1")
|
|
'("gint*" "x2")
|
|
'("gint*" "y2")
|
|
)
|
|
)
|
|
|
|
(define-method set_position
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_set_position")
|
|
(return-type "none")
|
|
(parameters
|
|
'("gint" "x")
|
|
'("gint" "y")
|
|
)
|
|
)
|
|
|
|
(define-method set_size
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_set_size")
|
|
(return-type "none")
|
|
(parameters
|
|
'("gint" "width")
|
|
'("gint" "height")
|
|
)
|
|
)
|
|
|
|
(define-method get_abs_position
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_get_abs_position")
|
|
(return-type "none")
|
|
(parameters
|
|
'("gint*" "x")
|
|
'("gint*" "y")
|
|
)
|
|
)
|
|
|
|
(define-method get_width
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_get_width")
|
|
(return-type "guint")
|
|
)
|
|
|
|
(define-method get_height
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_get_height")
|
|
(return-type "guint")
|
|
)
|
|
|
|
(define-method get_x
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_get_x")
|
|
(return-type "gint")
|
|
)
|
|
|
|
(define-method get_y
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_get_y")
|
|
(return-type "gint")
|
|
)
|
|
|
|
(define-method rotate_z
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_rotate_z")
|
|
(return-type "none")
|
|
(parameters
|
|
'("gfloat" "angle")
|
|
'("gint" "x")
|
|
'("gint" "y")
|
|
)
|
|
)
|
|
|
|
(define-method rotate_x
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_rotate_x")
|
|
(return-type "none")
|
|
(parameters
|
|
'("gfloat" "angle")
|
|
'("gint" "y")
|
|
'("gint" "z")
|
|
)
|
|
)
|
|
|
|
(define-method rotate_y
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_rotate_y")
|
|
(return-type "none")
|
|
(parameters
|
|
'("gfloat" "angle")
|
|
'("gint" "x")
|
|
'("gint" "z")
|
|
)
|
|
)
|
|
|
|
(define-method set_opacity
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_set_opacity")
|
|
(return-type "none")
|
|
(parameters
|
|
'("guint8" "opacity")
|
|
)
|
|
)
|
|
|
|
(define-method get_opacity
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_get_opacity")
|
|
(return-type "guint8")
|
|
)
|
|
|
|
(define-method set_name
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_set_name")
|
|
(return-type "none")
|
|
(parameters
|
|
'("const-gchar*" "id")
|
|
)
|
|
)
|
|
|
|
(define-method get_name
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_get_name")
|
|
(return-type "const-gchar*")
|
|
)
|
|
|
|
(define-method get_id
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_get_id")
|
|
(return-type "guint32")
|
|
)
|
|
|
|
(define-method set_clip
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_set_clip")
|
|
(return-type "none")
|
|
(parameters
|
|
'("gint" "xoff")
|
|
'("gint" "yoff")
|
|
'("gint" "width")
|
|
'("gint" "height")
|
|
)
|
|
)
|
|
|
|
(define-method remove_clip
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_remove_clip")
|
|
(return-type "none")
|
|
)
|
|
|
|
(define-method set_parent
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_set_parent")
|
|
(return-type "none")
|
|
(parameters
|
|
'("ClutterActor*" "parent")
|
|
)
|
|
)
|
|
|
|
(define-method get_parent
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_get_parent")
|
|
(return-type "ClutterActor*")
|
|
)
|
|
|
|
(define-method raise
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_raise")
|
|
(return-type "none")
|
|
(parameters
|
|
'("ClutterActor*" "below")
|
|
)
|
|
)
|
|
|
|
(define-method lower
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_lower")
|
|
(return-type "none")
|
|
(parameters
|
|
'("ClutterActor*" "above")
|
|
)
|
|
)
|
|
|
|
(define-method raise_top
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_raise_top")
|
|
(return-type "none")
|
|
)
|
|
|
|
(define-method lower_bottom
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_lower_bottom")
|
|
(return-type "none")
|
|
)
|
|
|
|
(define-method set_depth
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_set_depth")
|
|
(return-type "none")
|
|
(parameters
|
|
'("gint" "depth")
|
|
)
|
|
)
|
|
|
|
(define-method get_depth
|
|
(of-object "ClutterActor")
|
|
(c-name "clutter_actor_get_depth")
|
|
(return-type "gint")
|
|
)
|
|
|
|
;; From ../../clutter/clutter-rectangle.h
|
|
|
|
(define-function clutter_rectangle_new
|
|
(c-name "clutter_rectangle_new")
|
|
(is-constructor-of "ClutterRectangle")
|
|
(return-type "ClutterActor*")
|
|
)
|
|
|
|
(define-function clutter_rectangle_new_with_color
|
|
(c-name "clutter_rectangle_new_with_color")
|
|
(is-constructor-of "ClutterRectangle")
|
|
(return-type "ClutterActor*")
|
|
(properties
|
|
'("color" (argname "color"))
|
|
)
|
|
)
|
|
|
|
(define-method get_color
|
|
(of-object "ClutterRectangle")
|
|
(c-name "clutter_rectangle_get_color")
|
|
(return-type "none")
|
|
(parameters
|
|
'("ClutterColor*" "color")
|
|
)
|
|
)
|
|
|
|
(define-method set_color
|
|
(of-object "ClutterRectangle")
|
|
(c-name "clutter_rectangle_set_color")
|
|
(return-type "none")
|
|
(parameters
|
|
'("const-ClutterColor*" "color")
|
|
)
|
|
)
|
|
|
|
|
|
|
|
;; From ../../clutter/clutter-texture.h
|
|
|
|
(define-function clutter_texture_get_type
|
|
(c-name "clutter_texture_get_type")
|
|
(return-type "GType")
|
|
)
|
|
|
|
(define-function clutter_texture_new_from_pixbuf
|
|
(c-name "clutter_texture_new_from_pixbuf")
|
|
(return-type "ClutterActor*")
|
|
(parameters
|
|
'("GdkPixbuf*" "pixbuf")
|
|
)
|
|
)
|
|
|
|
(define-function clutter_texture_new
|
|
(c-name "clutter_texture_new")
|
|
(is-constructor-of "ClutterTexture")
|
|
(return-type "ClutterActor*")
|
|
)
|
|
|
|
(define-method set_pixbuf
|
|
(of-object "ClutterTexture")
|
|
(c-name "clutter_texture_set_pixbuf")
|
|
(return-type "none")
|
|
(parameters
|
|
'("GdkPixbuf*" "pixbuf")
|
|
)
|
|
)
|
|
|
|
(define-method get_pixbuf
|
|
(of-object "ClutterTexture")
|
|
(c-name "clutter_texture_get_pixbuf")
|
|
(return-type "GdkPixbuf*")
|
|
)
|
|
|
|
(define-method get_base_size
|
|
(of-object "ClutterTexture")
|
|
(c-name "clutter_texture_get_base_size")
|
|
(return-type "none")
|
|
(parameters
|
|
'("gint*" "width")
|
|
'("gint*" "height")
|
|
)
|
|
)
|
|
|
|
(define-method bind_tile
|
|
(of-object "ClutterTexture")
|
|
(c-name "clutter_texture_bind_tile")
|
|
(return-type "none")
|
|
(parameters
|
|
'("gint" "index")
|
|
)
|
|
)
|
|
|
|
(define-method get_n_tiles
|
|
(of-object "ClutterTexture")
|
|
(c-name "clutter_texture_get_n_tiles")
|
|
(return-type "none")
|
|
(parameters
|
|
'("gint*" "n_x_tiles")
|
|
'("gint*" "n_y_tiles")
|
|
)
|
|
)
|
|
|
|
(define-method get_x_tile_detail
|
|
(of-object "ClutterTexture")
|
|
(c-name "clutter_texture_get_x_tile_detail")
|
|
(return-type "none")
|
|
(parameters
|
|
'("gint" "x_index")
|
|
'("gint*" "pos")
|
|
'("gint*" "size")
|
|
'("gint*" "waste")
|
|
)
|
|
)
|
|
|
|
(define-method get_y_tile_detail
|
|
(of-object "ClutterTexture")
|
|
(c-name "clutter_texture_get_y_tile_detail")
|
|
(return-type "none")
|
|
(parameters
|
|
'("gint" "y_index")
|
|
'("gint*" "pos")
|
|
'("gint*" "size")
|
|
'("gint*" "waste")
|
|
)
|
|
)
|
|
|
|
(define-method has_generated_tiles
|
|
(of-object "ClutterTexture")
|
|
(c-name "clutter_texture_has_generated_tiles")
|
|
(return-type "gboolean")
|
|
)
|
|
|
|
(define-method is_tiled
|
|
(of-object "ClutterTexture")
|
|
(c-name "clutter_texture_is_tiled")
|
|
(return-type "gboolean")
|
|
)
|
|
|
|
|
|
|
|
;; From ../../clutter/clutter-color.h
|
|
|
|
(define-function clutter_color_get_type
|
|
(c-name "clutter_color_get_type")
|
|
(return-type "GType")
|
|
)
|
|
|
|
(define-method add
|
|
(of-object "ClutterColor")
|
|
(c-name "clutter_color_add")
|
|
(return-type "none")
|
|
(parameters
|
|
'("ClutterColor*" "src2")
|
|
'("ClutterColor*" "dest")
|
|
)
|
|
)
|
|
|
|
(define-method subtract
|
|
(of-object "ClutterColor")
|
|
(c-name "clutter_color_subtract")
|
|
(return-type "none")
|
|
(parameters
|
|
'("ClutterColor*" "src2")
|
|
'("ClutterColor*" "dest")
|
|
)
|
|
)
|
|
|
|
(define-method lighten
|
|
(of-object "ClutterColor")
|
|
(c-name "clutter_color_lighten")
|
|
(return-type "none")
|
|
(parameters
|
|
'("ClutterColor*" "dest")
|
|
)
|
|
)
|
|
|
|
(define-method darken
|
|
(of-object "ClutterColor")
|
|
(c-name "clutter_color_darken")
|
|
(return-type "none")
|
|
(parameters
|
|
'("ClutterColor*" "dest")
|
|
)
|
|
)
|
|
|
|
(define-method shade
|
|
(of-object "ClutterColor")
|
|
(c-name "clutter_color_shade")
|
|
(return-type "none")
|
|
(parameters
|
|
'("ClutterColor*" "dest")
|
|
'("gdouble" "shade")
|
|
)
|
|
)
|
|
|
|
(define-function color_to_hls
|
|
(c-name "clutter_color_to_hls")
|
|
(return-type "none")
|
|
(parameters
|
|
'("guint8*" "hue")
|
|
'("guint8*" "luminance")
|
|
'("guint8*" "saturation")
|
|
)
|
|
)
|
|
|
|
(define-function color_from_hls
|
|
(c-name "clutter_color_from_hls")
|
|
(return-type "none")
|
|
(parameters
|
|
'("guint8" "hue")
|
|
'("guint8" "luminance")
|
|
'("guint8" "saturation")
|
|
)
|
|
)
|
|
|
|
(define-function color_to_pixel
|
|
(c-name "clutter_color_to_pixel")
|
|
(return-type "guint32")
|
|
(parameters
|
|
'("ClutterColor" "src")
|
|
)
|
|
)
|
|
|
|
(define-function color_from_pixel
|
|
(c-name "clutter_color_from_pixel")
|
|
(return-type "none")
|
|
(parameters
|
|
'("ClutterColor" "dest")
|
|
'("guint32" "pixel")
|
|
)
|
|
)
|
|
|
|
|
|
|
|
|
|
;; From ../../clutter/clutter-clone-texture.h
|
|
|
|
(define-function clutter_clone_texture_get_type
|
|
(c-name "clutter_clone_texture_get_type")
|
|
(return-type "GType")
|
|
)
|
|
|
|
(define-function clutter_clone_texture_new
|
|
(c-name "clutter_clone_texture_new")
|
|
(is-constructor-of "ClutterCloneTexture")
|
|
(return-type "ClutterActor*")
|
|
(properties
|
|
'("parent-texture" (argname "texture"))
|
|
)
|
|
)
|
|
|
|
;; From ../../clutter/clutter-label.h
|
|
|
|
(define-function clutter_label_get_type
|
|
(c-name "clutter_label_get_type")
|
|
(return-type "GType")
|
|
)
|
|
|
|
(define-function clutter_label_new
|
|
(c-name "clutter_label_new")
|
|
(is-constructor-of "ClutterLabel")
|
|
(return-type "ClutterActor*")
|
|
)
|
|
|
|
(define-function clutter_label_new_with_text
|
|
(c-name "clutter_label_new_with_text")
|
|
(return-type "ClutterActor*")
|
|
(is-constructor-of "ClutterLabel")
|
|
(properties
|
|
'("font-name" (argname "name") (optional))
|
|
'("text" (argname "str") (optional))
|
|
)
|
|
)
|
|
|
|
(define-method set_text
|
|
(of-object "ClutterLabel")
|
|
(c-name "clutter_label_set_text")
|
|
(return-type "none")
|
|
(parameters
|
|
'("const-gchar*" "text")
|
|
)
|
|
)
|
|
|
|
(define-method get_text
|
|
(of-object "ClutterLabel")
|
|
(c-name "clutter_label_get_text")
|
|
(return-type "const-gchar*")
|
|
)
|
|
|
|
(define-method set_font_name
|
|
(of-object "ClutterLabel")
|
|
(c-name "clutter_label_set_font_name")
|
|
(return-type "none")
|
|
(parameters
|
|
'("const-gchar*" "font_name")
|
|
)
|
|
)
|
|
|
|
(define-method get_font_name
|
|
(of-object "ClutterLabel")
|
|
(c-name "clutter_label_get_font_name")
|
|
(return-type "const-gchar*")
|
|
)
|
|
|
|
(define-method set_color
|
|
(of-object "ClutterLabel")
|
|
(c-name "clutter_label_set_color")
|
|
(return-type "none")
|
|
(parameters
|
|
'("const-ClutterColor*" "color")
|
|
)
|
|
)
|
|
|
|
(define-method get_color
|
|
(of-object "ClutterLabel")
|
|
(c-name "clutter_label_get_color")
|
|
(return-type "none")
|
|
(parameters
|
|
'("ClutterColor*" "color")
|
|
)
|
|
)
|
|
|
|
(define-method set_text_extents
|
|
(of-object "ClutterLabel")
|
|
(c-name "clutter_label_set_text_extents")
|
|
(return-type "none")
|
|
(parameters
|
|
'("gint" "width")
|
|
'("gint" "height")
|
|
)
|
|
)
|
|
|
|
(define-method get_text_extents
|
|
(of-object "ClutterLabel")
|
|
(c-name "clutter_label_get_text_extents")
|
|
(return-type "none")
|
|
(parameters
|
|
'("gint*" "width")
|
|
'("gint*" "height")
|
|
)
|
|
)
|
|
|
|
|
|
|
|
;; From ../../clutter/clutter-group.h
|
|
|
|
(define-function clutter_group_get_type
|
|
(c-name "clutter_group_get_type")
|
|
(return-type "GType")
|
|
)
|
|
|
|
(define-function clutter_group_new
|
|
(c-name "clutter_group_new")
|
|
(is-constructor-of "ClutterGroup")
|
|
(return-type "ClutterGroup*")
|
|
)
|
|
|
|
(define-method add
|
|
(of-object "ClutterGroup")
|
|
(c-name "clutter_group_add")
|
|
(return-type "none")
|
|
(parameters
|
|
'("ClutterActor*" "actor")
|
|
)
|
|
)
|
|
|
|
(define-method add_many_valist
|
|
(of-object "ClutterGroup")
|
|
(c-name "clutter_group_add_many_valist")
|
|
(return-type "none")
|
|
(parameters
|
|
'("ClutterActor*" "first_actor")
|
|
'("va_list" "args")
|
|
)
|
|
)
|
|
|
|
(define-method add_many
|
|
(of-object "ClutterGroup")
|
|
(c-name "clutter_group_add_many")
|
|
(return-type "none")
|
|
(parameters
|
|
'("ClutterActor*" "first_actor")
|
|
)
|
|
(varargs #t)
|
|
)
|
|
|
|
(define-method remove
|
|
(of-object "ClutterGroup")
|
|
(c-name "clutter_group_remove")
|
|
(return-type "none")
|
|
(parameters
|
|
'("ClutterActor*" "actor")
|
|
)
|
|
)
|
|
|
|
(define-method show_all
|
|
(of-object "ClutterGroup")
|
|
(c-name "clutter_group_show_all")
|
|
(return-type "none")
|
|
)
|
|
|
|
(define-method hide_all
|
|
(of-object "ClutterGroup")
|
|
(c-name "clutter_group_hide_all")
|
|
(return-type "none")
|
|
)
|
|
|
|
(define-method find_child_by_id
|
|
(of-object "ClutterGroup")
|
|
(c-name "clutter_group_find_child_by_id")
|
|
(return-type "ClutterActor*")
|
|
(parameters
|
|
'("guint" "id")
|
|
)
|
|
)
|
|
|
|
(define-method raise
|
|
(of-object "ClutterGroup")
|
|
(c-name "clutter_group_raise")
|
|
(return-type "none")
|
|
(parameters
|
|
'("ClutterActor*" "actor")
|
|
'("ClutterActor*" "sibling")
|
|
)
|
|
)
|
|
|
|
(define-method lower
|
|
(of-object "ClutterGroup")
|
|
(c-name "clutter_group_lower")
|
|
(return-type "none")
|
|
(parameters
|
|
'("ClutterActor*" "actor")
|
|
'("ClutterActor*" "sibling")
|
|
)
|
|
)
|
|
|
|
|
|
|
|
;; From ../../clutter/clutter-stage.h
|
|
|
|
(define-function clutter_stage_get_type
|
|
(c-name "clutter_stage_get_type")
|
|
(return-type "GType")
|
|
)
|
|
|
|
(define-function stage_get_default
|
|
(c-name "clutter_stage_get_default")
|
|
(return-type "ClutterActor*")
|
|
)
|
|
|
|
(define-method get_xwindow
|
|
(of-object "ClutterStage")
|
|
(c-name "clutter_stage_get_xwindow")
|
|
(return-type "Window")
|
|
)
|
|
|
|
(define-method set_color
|
|
(of-object "ClutterStage")
|
|
(c-name "clutter_stage_set_color")
|
|
(return-type "none")
|
|
(parameters
|
|
'("const-ClutterColor*" "color")
|
|
)
|
|
)
|
|
|
|
(define-method get_color
|
|
(of-object "ClutterStage")
|
|
(c-name "clutter_stage_get_color")
|
|
(return-type "none")
|
|
(parameters
|
|
'("ClutterColor*" "color")
|
|
)
|
|
)
|
|
|
|
(define-method get_actor_at_pos
|
|
(of-object "ClutterStage")
|
|
(c-name "clutter_stage_get_actor_at_pos")
|
|
(return-type "ClutterActor*")
|
|
(parameters
|
|
'("gint" "x")
|
|
'("gint" "y")
|
|
)
|
|
)
|
|
|
|
(define-method snapshot
|
|
(of-object "ClutterStage")
|
|
(c-name "clutter_stage_snapshot")
|
|
(return-type "GdkPixbuf*")
|
|
(parameters
|
|
'("gint" "x")
|
|
'("gint" "y")
|
|
'("gint" "width")
|
|
'("gint" "height")
|
|
)
|
|
)
|
|
|
|
|
|
|
|
;; From ../../clutter/clutter-enum-types.h
|
|
|
|
(define-function clutter_event_type_get_type
|
|
(c-name "clutter_event_type_get_type")
|
|
(return-type "GType")
|
|
)
|
|
|
|
(define-function clutter_actor_transform_get_type
|
|
(c-name "clutter_actor_transform_get_type")
|
|
(return-type "GType")
|
|
)
|
|
|
|
(define-function clutter_actor_flags_get_type
|
|
(c-name "clutter_actor_flags_get_type")
|
|
(return-type "GType")
|
|
)
|
|
|
|
(define-function clutter_video_texture_error_get_type
|
|
(c-name "clutter_video_texture_error_get_type")
|
|
(return-type "GType")
|
|
)
|
|
|
|
(define-function clutter_video_texture_aspect_ratio_get_type
|
|
(c-name "clutter_video_texture_aspect_ratio_get_type")
|
|
(return-type "GType")
|
|
)
|
|
|
|
(define-function clutter_video_texture_metadata_type_get_type
|
|
(c-name "clutter_video_texture_metadata_type_get_type")
|
|
(return-type "GType")
|
|
)
|
|
|
|
|