mirror of
https://github.com/brl/mutter.git
synced 2024-11-27 10:30:47 -05:00
8a537b6299
* clutter/Makefile.am: * clutter/clutter.h: Add ClutterBindingPool to the build. * clutter/clutter-binding-pool.c: * clutter/clutter-binding-pool.h: Add ClutterBindingPool, a data structure meant to hold (key symbol, modifiers) pairs and associate them to a closure. The ClutterBindingPool can be used to install key bindings for actors and then execute closures inside the key-press-event signal handlers, removing the need for big switch() or if() blocks for each key. * clutter/clutter-event.c: Consistently use "key symbol" instead of "key value". * clutter/clutter-event.h: Add more modifier masks. * clutter/clutter-marshal.list: * tests/conform/Makefile.am: * tests/conform/test-binding-pool.c: * tests/conform/test-conform-main.c: Add ClutterBindingPool conformance test. * tests/interactive/Makefile.am: * tests/interactive/test-binding-pool.c: Add interactive test (and example code) for the ClutterBindingPool usage.
16 lines
255 B
Plaintext
16 lines
255 B
Plaintext
BOOLEAN:BOXED
|
|
BOOLEAN:STRING,UINT,ENUM
|
|
UINT:VOID
|
|
VOID:BOXED
|
|
VOID:INT
|
|
VOID:INT64,INT64,FLOAT,BOOLEAN
|
|
VOID:INT,INT
|
|
VOID:INT,INT,INT,INT
|
|
VOID:OBJECT
|
|
VOID:OBJECT,OBJECT,PARAM
|
|
VOID:OBJECT,POINTER
|
|
VOID:STRING,BOOLEAN,BOOLEAN
|
|
VOID:STRING,INT
|
|
VOID:UINT
|
|
VOID:VOID
|