diff options
author | Tristan Van Berkom <tvb@src.gnome.org> | 2007-02-01 22:31:16 +0000 |
---|---|---|
committer | Tristan Van Berkom <tvb@src.gnome.org> | 2007-02-01 22:31:16 +0000 |
commit | 13cd1b35ac39860b35e6fdc59156ed4ab3844b20 (patch) | |
tree | c1d81f20aad2ff69cac2609caab94436600e967d /gladeui/glade-app.h | |
parent | 086b27dc3b6293f0942c3c282738b82d7f88dc6e (diff) | |
download | glade-13cd1b35ac39860b35e6fdc59156ed4ab3844b20.tar.gz |
Changed the hierarchy changed signal for a "widget-event" signal.
* gladeui/glade-app.[ch]: Changed the hierarchy changed signal
for a "widget-event" signal.
* gladeui/glade-design-layout.c: Catch the "widget-event" signal
and propagate the event from there, dont raise the event_window anymore.
* gladeui/glade-widget.c:
- Removed "enter-notify-event"
- Catch "event" signal on GtkWidget instances and forward
the event to GladeApp
- When handling selection and SHIFT is down, dont stop emmission
(better handling of drag/resize)
* gladeui/glade-fixed.c: Only drag/resize with shift down
* gladeui/glade-marshallers.list: added new marshaller
svn path=/trunk/; revision=1066
Diffstat (limited to 'gladeui/glade-app.h')
-rw-r--r-- | gladeui/glade-app.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gladeui/glade-app.h b/gladeui/glade-app.h index b07e4d95..4e7c4408 100644 --- a/gladeui/glade-app.h +++ b/gladeui/glade-app.h @@ -57,7 +57,9 @@ struct _GladeAppClass void (* hide_properties) (GladeApp* app); /* signals */ - void (* hierarchy_changed)(GladeApp *app, GladeWidget *toplevel); + void (* widget_event) (GladeApp *app, + GladeWidget *toplevel, + GdkEvent *event); void (* update_ui_signal) (GladeApp *app); }; @@ -71,6 +73,9 @@ LIBGLADEUI_API void glade_app_update_ui (void); LIBGLADEUI_API +gboolean glade_app_widget_event (GladeWidget *widget, + GdkEvent *event); +LIBGLADEUI_API void glade_app_set_window (GtkWidget *window); LIBGLADEUI_API GtkWidget* glade_app_get_window (void); @@ -142,9 +147,6 @@ GtkWidget *glade_app_redo_button_new (void); LIBGLADEUI_API GList *glade_app_get_selection (void); -LIBGLADEUI_API -void glade_app_hierarchy_changed (GladeWidget *widget); - /* These handle selection on a global scope and take care * of multiple project logic. |