summaryrefslogtreecommitdiff
path: root/gladeui/glade-app.h
diff options
context:
space:
mode:
authorTristan Van Berkom <tvb@src.gnome.org>2007-01-31 07:12:33 +0000
committerTristan Van Berkom <tvb@src.gnome.org>2007-01-31 07:12:33 +0000
commit086b27dc3b6293f0942c3c282738b82d7f88dc6e (patch)
treec4b10ffddd6c42dbb4323088bd0b960e6ca065e8 /gladeui/glade-app.h
parentc15f54b24e42fdf68bfc5ebdb586d4880e3bb0b0 (diff)
downloadglade-086b27dc3b6293f0942c3c282738b82d7f88dc6e.tar.gz
o Removed search algorythm for child widgets, removed
* gladeui/glade-widget.[ch]: o Removed search algorythm for child widgets, removed glade_widget_event_widget (), removed popup-menu signal handler, removed call to gtk_window_set_decorated() on toplevel project widgets, removed widget->setup_events(), removed hide_on_delete() o Added glade_widget_event() to feed events directly to widgets from the design layout. o Call glade_app_hierarchy_changed() upon add/remove/replace operations * gladeui/glade-utils.c: Removed glade_utils_deep_fixed_event() and the hacky widget grab that went with it. * gladeui/glade-app.[ch]: Added glade_app_hierarchy_changed() and added "hierarchy-changed" signal. * gladeui/glade-design-layout.c: o Make sure event window is always on top by trapping GladeApp's "hierarchy-changed" signal o Feed events directly to the proper GladeWidget, if its not handled then pass it on to the underlying widgets (using gtk_widget_event() directly). * gladeui/glade-cursor.c: Removed the recursive cursor setting routine. * gladeui/glade-fixed.c: Simplified immensely by removing redundant code, now there is only one GladeWidget to deal with, no searching and gropeing for the appropriate widget to operate on. svn path=/trunk/; revision=1065
Diffstat (limited to 'gladeui/glade-app.h')
-rw-r--r--gladeui/glade-app.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gladeui/glade-app.h b/gladeui/glade-app.h
index e96e3830..b07e4d95 100644
--- a/gladeui/glade-app.h
+++ b/gladeui/glade-app.h
@@ -57,6 +57,7 @@ struct _GladeAppClass
void (* hide_properties) (GladeApp* app);
/* signals */
+ void (* hierarchy_changed)(GladeApp *app, GladeWidget *toplevel);
void (* update_ui_signal) (GladeApp *app);
};
@@ -141,6 +142,9 @@ 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.