1
0
Fork 0
mutter-performance-source/doc/reference/clutter
Emmanuele Bassi 41e85f3073 introspection-friendly ClutterEvent accessors
ClutterEvent is not really gobject-introspection friendly because
of the whole discriminated union thing. In particular, if you get
a ClutterEvent in a signal handler, you probably can't access the
event-type-specific fields, and you probably can't call methods
like clutter_key_event_symbol() either, because you can't cast the
ClutterEvent to a ClutterKeyEvent.

The cleanest solution is to turn every accessor into ClutterEvent
methods, accepting a ClutterEvent* and internally checking the event
type.

Fixes bug:

  http://bugzilla.openedhand.com/show_bug.cgi?id=1585
2009-06-08 12:05:20 +01:00
..
actor-box.png Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
building-clutter.xml 2008-06-27 Emmanuele Bassi <ebassi@openedhand.com> 2008-06-27 20:45:33 +00:00
clutter-animation-tutorial.xml [clutter-docs] Update the animation tutorial 2009-01-28 16:47:41 +00:00
clutter-docs.xml.in [docs] Rework the API reference version generation 2009-06-01 17:40:23 +01:00
clutter-overview.xml 2008-06-26 Emmanuele Bassi <ebassi@openedhand.com> 2008-06-26 09:02:58 +00:00
clutter-sections.txt introspection-friendly ClutterEvent accessors 2009-06-08 12:05:20 +01:00
clutter.types [docs] Add Animation get_type() function 2009-05-14 16:11:47 +01:00
creating-behaviours.xml 2008-06-26 Emmanuele Bassi <ebassi@openedhand.com> 2008-06-26 09:02:58 +00:00
easing-modes.png [docs] Update the easing modes documentation 2009-01-20 18:13:36 +00:00
easing-modes.svg [docs] Update the easing modes documentation 2009-01-20 18:13:36 +00:00
event-flow.dia * clutter/event-flow.png: fixed typo. 2008-06-13 10:37:33 +00:00
event-flow.png * clutter/event-flow.png: fixed typo. 2008-06-13 10:37:33 +00:00
Makefile.am [docs] Rework the API reference version generation 2009-06-01 17:40:23 +01:00
path-alpha-func.png Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
running-clutter.xml [docs] Document envvars and command line switches 2009-02-23 13:44:03 +00:00
subclassing-ClutterActor.xml 2008-11-12 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-12 13:57:58 +00:00