mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
2007-11-15 Emmanuele Bassi <ebassi@openedhand.com>
* clutter.symbols: Update with the new public symbols * clutter/clutter-script.h: * clutter/clutter-script-private.h: * clutter/clutter-script.c: (parse_signals), (json_object_end), (signal_info_free), (object_info_free): Parse the "signals" member for GObjects. (clutter_script_connect_signals), (clutter_script_connect_signals_full): Add new API for autoconnecting signal handlers using the UI definition files. * tests/test-script.c: * tests/test-script.json: Test signal autoconnection.
This commit is contained in:
@ -43,6 +43,7 @@ typedef struct {
|
||||
GList *properties;
|
||||
GList *children;
|
||||
GList *behaviours;
|
||||
GList *signals;
|
||||
|
||||
GType gtype;
|
||||
GObject *object;
|
||||
@ -62,6 +63,14 @@ typedef struct {
|
||||
GParamSpec *pspec;
|
||||
} PropertyInfo;
|
||||
|
||||
typedef struct {
|
||||
gchar *name;
|
||||
gchar *handler;
|
||||
gchar *object;
|
||||
|
||||
GConnectFlags flags;
|
||||
} SignalInfo;
|
||||
|
||||
void property_info_free (gpointer data);
|
||||
|
||||
gboolean clutter_script_parse_node (ClutterScript *script,
|
||||
|
Reference in New Issue
Block a user