mutter/doc
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
..
manual 2007-06-16 Emmanuele Bassi <ebassi@openedhand.com> 2007-06-16 09:06:03 +00:00
reference introspection-friendly ClutterEvent accessors 2009-06-08 12:05:20 +01:00
clutter-actor-invariants.txt Enforce invariants on mapped, realized, visibility states 2009-04-24 15:27:19 +01:00
Makefile.am 2007-05-31 Matthew Allum <mallum@openedhand.com> 2007-05-30 23:16:58 +00:00