mirror of
https://gitlab.gnome.org/GNOME/glade.git
synced 2025-09-24 00:04:33 -04:00
Auto-generate `gladeui.def' for DLL symbol exports. Remove
* gladeui/Makefile.am: Auto-generate `gladeui.def' for DLL symbol exports. Remove -DINSIDE_LIBGLADEUI from libgladeui_1_la_CPPFLAGS. * gladeui/glade-accumulators.h, gladeui/glade-app.h, gladeui/glade-base-editor.h, gladeui/glade-binding.h, gladeui/glade-builtins.h, gladeui/glade-catalog.h, gladeui/glade-clipboard-view.h, gladeui/glade-clipboard.h, gladeui/glade-command.h, gladeui/glade-custom.h, gladeui/glade-debug.h, gladeui/glade-design-view.h, gladeui/glade-editor-property.h, gladeui/glade-editor.h, gladeui/glade-fixed.h, gladeui/glade-palette.h, gladeui/glade-parameter.h, gladeui/glade-placeholder.h, gladeui/glade-project-view.h, gladeui/glade-project.h, gladeui/glade-property-class.h, gladeui/glade-property.h, gladeui/glade-signal-editor.h, gladeui/glade-utils.h, gladeui/glade-widget-adaptor.h, gladeui/glade-widget.h, gladeui/glade.h: Remove LIBGLADEUI_API function attributes. * plugins/gnome/glade-gnome.c, plugins/gtk+/glade-gtk.c, plugins/gtk+/glade-gtk.h: Remove GLADEGTK_API and GLADEGNOME_API function attributes. svn path=/trunk/; revision=1248
This commit is contained in:
parent
c2730cb354
commit
48cacc47ea
25
ChangeLog
25
ChangeLog
@ -1,3 +1,28 @@
|
||||
2007-04-12 Vincent Geddes <vincent.geddes@gmail.com>
|
||||
|
||||
* gladeui/Makefile.am: Auto-generate `gladeui.def' for DLL symbol
|
||||
exports. Remove -DINSIDE_LIBGLADEUI from libgladeui_1_la_CPPFLAGS.
|
||||
|
||||
* gladeui/glade-accumulators.h, gladeui/glade-app.h,
|
||||
gladeui/glade-base-editor.h, gladeui/glade-binding.h,
|
||||
gladeui/glade-builtins.h, gladeui/glade-catalog.h,
|
||||
gladeui/glade-clipboard-view.h, gladeui/glade-clipboard.h,
|
||||
gladeui/glade-command.h, gladeui/glade-custom.h,
|
||||
gladeui/glade-debug.h, gladeui/glade-design-view.h,
|
||||
gladeui/glade-editor-property.h, gladeui/glade-editor.h,
|
||||
gladeui/glade-fixed.h, gladeui/glade-palette.h,
|
||||
gladeui/glade-parameter.h, gladeui/glade-placeholder.h,
|
||||
gladeui/glade-project-view.h, gladeui/glade-project.h,
|
||||
gladeui/glade-property-class.h, gladeui/glade-property.h,
|
||||
gladeui/glade-signal-editor.h, gladeui/glade-utils.h,
|
||||
gladeui/glade-widget-adaptor.h, gladeui/glade-widget.h,
|
||||
gladeui/glade.h:
|
||||
Remove LIBGLADEUI_API function attributes.
|
||||
|
||||
* plugins/gnome/glade-gnome.c, plugins/gtk+/glade-gtk.c,
|
||||
plugins/gtk+/glade-gtk.h:
|
||||
Remove GLADEGTK_API and GLADEGNOME_API function attributes.
|
||||
|
||||
2007-04-08 Christian Persch <chpe@gnome.org>
|
||||
|
||||
* gladeui/glade-property-class.c:
|
||||
|
@ -14,8 +14,7 @@ lib_LTLIBRARIES = libgladeui-1.la
|
||||
|
||||
BUILT_SOURCES = glade-marshallers.c glade-marshallers.h
|
||||
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
EXTRA_DIST = glade-marshallers.list
|
||||
EXTRA_DIST = atk.xpm glade-marshallers.list
|
||||
|
||||
# The glade-3 core library
|
||||
libgladeui_1_la_SOURCES = \
|
||||
@ -34,11 +33,11 @@ libgladeui_1_la_SOURCES = \
|
||||
glade-design-layout.c \
|
||||
glade-design-view.c \
|
||||
glade-cursor.c \
|
||||
glade-catalog.c \
|
||||
glade-property.c \
|
||||
glade-property-class.c \
|
||||
glade-popup.c \
|
||||
glade-widget.c \
|
||||
glade-catalog.c \
|
||||
glade-editor-property.c \
|
||||
glade-editor.c \
|
||||
glade-utils.c \
|
||||
@ -56,10 +55,22 @@ libgladeui_1_la_SOURCES = \
|
||||
glade-keysyms.c \
|
||||
glade-fixed.c \
|
||||
glade-binding.c \
|
||||
glade-base-editor.c
|
||||
glade-base-editor.c \
|
||||
glade-palette-item.h \
|
||||
glade-palette-box.h \
|
||||
glade-palette-expander.h \
|
||||
glade-popup.h \
|
||||
glade-catalog.h \
|
||||
glade-id-allocator.h \
|
||||
glade-marshallers.h \
|
||||
glade-accumulators.h \
|
||||
glade-parser.h \
|
||||
glade-cursor.h \
|
||||
glade-signal.h \
|
||||
glade-xml-utils.h \
|
||||
atk.xpm
|
||||
|
||||
libgladeui_1_la_CPPFLAGS = \
|
||||
-DINSIDE_LIBGLADEUI \
|
||||
$(common_defines) \
|
||||
-I$(top_srcdir) \
|
||||
-I$(top_builddir) \
|
||||
@ -73,6 +84,7 @@ libgladeui_1_la_CFLAGS = \
|
||||
libgladeui_1_la_LDFLAGS = -version-info $(GLADE_CURRENT):$(GLADE_REVISION):$(GLADE_AGE) $(AM_LDFLAGS)
|
||||
libgladeui_1_la_LIBADD = $(GTK_LIBS)
|
||||
|
||||
|
||||
libgladeuiincludedir=$(includedir)/libgladeui-1.0/gladeui
|
||||
libgladeuiinclude_HEADERS = \
|
||||
glade.h \
|
||||
@ -86,41 +98,48 @@ libgladeuiinclude_HEADERS = \
|
||||
glade-editor-property.h \
|
||||
glade-signal-editor.h \
|
||||
glade-palette.h \
|
||||
glade-palette-item.h \
|
||||
glade-palette-box.h \
|
||||
glade-palette-expander.h \
|
||||
glade-design-layout.h \
|
||||
glade-design-view.h \
|
||||
glade-cursor.h \
|
||||
glade-widget.h \
|
||||
glade-widget-adaptor.h \
|
||||
glade-property.h \
|
||||
glade-property-class.h \
|
||||
glade-popup.h \
|
||||
glade-catalog.h \
|
||||
glade-utils.h \
|
||||
glade-signal.h \
|
||||
glade-xml-utils.h \
|
||||
glade-clipboard.h \
|
||||
glade-clipboard-view.h \
|
||||
glade-command.h \
|
||||
glade-id-allocator.h \
|
||||
glade-marshallers.h \
|
||||
glade-accumulators.h \
|
||||
glade-parser.h \
|
||||
glade-app.h \
|
||||
glade-builtins.h \
|
||||
glade-fixed.h \
|
||||
glade-binding.h \
|
||||
glade-base-editor.h \
|
||||
fixed_bg.xpm \
|
||||
atk.xpm
|
||||
fixed_bg.xpm
|
||||
|
||||
|
||||
if WITH_WIN32
|
||||
libgladeui_1_la_LDFLAGS += -no-undefined
|
||||
libgladeui_1_la_LDFLAGS += -no-undefined -export-symbols gladeui.def
|
||||
libgladeui_1_la_DEPENDENCIES = gladeui.def
|
||||
endif
|
||||
|
||||
# gladeui.def: auto-generated DEF file for linker input
|
||||
# The routines below will scan the header files and extracts symbol declarations.
|
||||
# The symbol 'custom_get_type' is added manually. It's naming deviates from
|
||||
# the pattern set by all other public symbols in the glade namespace.
|
||||
#
|
||||
gladeui.def: $(libgladeuiinclude_HEADERS)
|
||||
@echo Generating $@
|
||||
@(echo EXPORTS; \
|
||||
echo 'custom_get_type'; \
|
||||
(cd $(srcdir); cat $(libgladeuiinclude_HEADERS) || echo 'glade_ERROR ()' ) | \
|
||||
grep -v -E '^# *include' | \
|
||||
grep -v -E '^# *define' | \
|
||||
grep -E '[^\(]glade_.*[[:space:]]+\(.*' | \
|
||||
sed -e 's/[ ]*(.*//' | \
|
||||
sed -e 's/.*glade_/glade_/' | \
|
||||
sort; \
|
||||
) >$@
|
||||
@ ! grep -q glade_ERROR $@ || ($(RM) $@; false)
|
||||
|
||||
#
|
||||
# Marshaller generation
|
||||
#
|
||||
@ -132,3 +151,6 @@ glade-marshallers.c: glade-marshallers.list $(GLIB_GENMARSHAL)
|
||||
$(GLIB_GENMARSHAL) --prefix=glade_marshal $(srcdir)/glade-marshallers.list --body > glade-marshallers-c.tmp \
|
||||
&& mv glade-marshallers-c.tmp glade-marshallers.c \
|
||||
|| ( rm -f glade-marshallers-c.tmp && exit 1 )
|
||||
|
||||
|
||||
CLEANFILES = $(BUILT_SOURCES) gladeui.def
|
||||
|
@ -27,4 +27,4 @@ gboolean glade_stop_emission_accumulator (GSignalInvocationHint *ihint,
|
||||
gpointer dummy);
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GLADE_ACCUM_H__ */
|
||||
#endif /* __GLADE_ACCUMULATORS_H__ */
|
||||
|
@ -67,124 +67,121 @@ struct _GladeAppClass
|
||||
void (* update_ui_signal) (GladeApp *app);
|
||||
};
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GType glade_app_get_type (void) G_GNUC_CONST;
|
||||
|
||||
LIBGLADEUI_API
|
||||
GladeApp* glade_app_get (void);
|
||||
|
||||
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);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladeEditor* glade_app_get_editor (void);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladePalette* glade_app_get_palette (void);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladeClipboard* glade_app_get_clipboard (void);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GtkWidget* glade_app_get_clipboard_view (void);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladeProject* glade_app_get_project (void);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_app_set_project (GladeProject *project);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_app_add_project (GladeProject *project);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_app_remove_project (GladeProject *project);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GList* glade_app_get_projects (void);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GKeyFile* glade_app_get_config (void);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_app_is_project_loaded (const gchar *project_path);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladeProject* glade_app_get_project_by_path (const gchar *project_path);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_app_show_properties (gboolean raise);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_app_hide_properties (void);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_app_add_project_view (GladeProjectView *view);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_app_command_copy (void);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_app_command_cut (void);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_app_command_paste (GladePlaceholder *placeholder);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_app_command_delete (void);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_app_command_delete_clipboard (void);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_app_command_undo (void);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_app_command_redo (void);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
gint glade_app_config_save (void);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_app_set_transient_parent (GtkWindow *parent);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GtkWindow *glade_app_get_transient_parent (void);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_app_set_accel_group (GtkAccelGroup *accel_group);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_app_update_instance_count (GladeProject *project);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GtkWidget *glade_app_undo_button_new (void);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GtkWidget *glade_app_redo_button_new (void);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GList *glade_app_get_selection (void);
|
||||
|
||||
|
||||
/* These handle selection on a global scope and take care
|
||||
* of multiple project logic.
|
||||
*/
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_app_is_selected (GObject *object);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_app_selection_set (GObject *object,
|
||||
gboolean emit_signal);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_app_selection_add (GObject *object,
|
||||
gboolean emit_signal);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_app_selection_remove (GObject *object,
|
||||
gboolean emit_signal);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_app_selection_clear (gboolean emit_signal);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_app_selection_changed (void);
|
||||
|
||||
/* package paths */
|
||||
LIBGLADEUI_API
|
||||
|
||||
const gchar *glade_app_get_scripts_dir (void) G_GNUC_CONST;
|
||||
LIBGLADEUI_API
|
||||
|
||||
const gchar *glade_app_get_catalogs_dir (void) G_GNUC_CONST;
|
||||
LIBGLADEUI_API
|
||||
|
||||
const gchar *glade_app_get_modules_dir (void) G_GNUC_CONST;
|
||||
LIBGLADEUI_API
|
||||
|
||||
const gchar *glade_app_get_plugins_dir (void) G_GNUC_CONST;
|
||||
LIBGLADEUI_API
|
||||
|
||||
const gchar *glade_app_get_pixmaps_dir (void) G_GNUC_CONST;
|
||||
LIBGLADEUI_API
|
||||
|
||||
const gchar *glade_app_get_locale_dir (void) G_GNUC_CONST;
|
||||
LIBGLADEUI_API
|
||||
|
||||
const gchar *glade_app_get_bindings_dir (void) G_GNUC_CONST;
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -22,12 +22,9 @@
|
||||
#ifndef __GLADE_BASE_EDITOR_H__
|
||||
#define __GLADE_BASE_EDITOR_H__
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <gladeui/glade-widget.h>
|
||||
#include <gladeui/glade-marshallers.h>
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
@ -62,37 +59,30 @@ struct _GladeBaseEditorClass
|
||||
gboolean (*move_child) (GladeBaseEditor *, GladeWidget *, GladeWidget *);
|
||||
};
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GType glade_base_editor_get_type (void);
|
||||
|
||||
LIBGLADEUI_API
|
||||
GladeBaseEditor *glade_base_editor_new (GObject *container,
|
||||
gboolean tree_like,
|
||||
...);
|
||||
|
||||
LIBGLADEUI_API
|
||||
void glade_base_editor_add_default_properties (GladeBaseEditor *editor,
|
||||
GladeWidget *gchild);
|
||||
|
||||
LIBGLADEUI_API
|
||||
void glade_base_editor_add_properties (GladeBaseEditor *editor,
|
||||
GladeWidget *gchild,
|
||||
...);
|
||||
|
||||
LIBGLADEUI_API
|
||||
void glade_base_editor_add_label (GladeBaseEditor *editor,
|
||||
gchar *str);
|
||||
|
||||
LIBGLADEUI_API
|
||||
void glade_base_editor_add_popup_items (GladeBaseEditor *editor,
|
||||
...);
|
||||
|
||||
LIBGLADEUI_API
|
||||
void glade_base_editor_set_show_signal_editor (GladeBaseEditor *editor,
|
||||
gboolean val);
|
||||
|
||||
/* Convenience functions */
|
||||
LIBGLADEUI_API
|
||||
GtkWidget *glade_base_editor_pack_new_window (GladeBaseEditor *editor,
|
||||
gchar *title,
|
||||
gchar *markup);
|
||||
|
@ -104,30 +104,25 @@ struct _GladeBindingScript {
|
||||
gchar *name, *path;
|
||||
};
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_binding_load_all (void);
|
||||
|
||||
LIBGLADEUI_API
|
||||
void glade_binding_unload_all (void);
|
||||
|
||||
LIBGLADEUI_API
|
||||
GladeBinding *glade_binding_get (const gchar *name);
|
||||
|
||||
LIBGLADEUI_API
|
||||
const gchar *glade_binding_get_name (GladeBinding *binding);
|
||||
|
||||
LIBGLADEUI_API
|
||||
GList *glade_binding_get_all ();
|
||||
|
||||
LIBGLADEUI_API
|
||||
void glade_binding_library_load (GladeBinding *binding,
|
||||
const gchar *library);
|
||||
|
||||
LIBGLADEUI_API
|
||||
gint glade_binding_run_script (GladeBinding *script,
|
||||
const gchar *path,
|
||||
gchar **argv);
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif
|
||||
#endif /* __GLADE_BINDING_H__ */
|
||||
|
@ -16,7 +16,7 @@ struct _GladeKey {
|
||||
gchar *name;
|
||||
};
|
||||
|
||||
LIBGLADEUI_API const GladeKey GladeKeys[];
|
||||
extern const GladeKey GladeKeys[];
|
||||
|
||||
#define GLADE_KEYS_LAST_ALPHANUM "9"
|
||||
#define GLADE_KEYS_LAST_EXTRA "questiondown"
|
||||
@ -51,56 +51,56 @@ LIBGLADEUI_API const GladeKey GladeKeys[];
|
||||
(G_TYPE_CHECK_INSTANCE_CAST ((pspec), \
|
||||
GLADE_TYPE_PARAM_ACCEL, GladeParamSpecAccel))
|
||||
|
||||
LIBGLADEUI_API GType glade_standard_stock_get_type (void) G_GNUC_CONST;
|
||||
LIBGLADEUI_API GType glade_standard_stock_image_get_type (void) G_GNUC_CONST;
|
||||
LIBGLADEUI_API GType glade_glist_get_type (void) G_GNUC_CONST;
|
||||
LIBGLADEUI_API GType glade_accel_glist_get_type (void) G_GNUC_CONST;
|
||||
LIBGLADEUI_API GType glade_param_objects_get_type (void) G_GNUC_CONST;
|
||||
LIBGLADEUI_API GType glade_param_accel_get_type (void) G_GNUC_CONST;
|
||||
LIBGLADEUI_API GType glade_item_appearance_get_type (void) G_GNUC_CONST;
|
||||
GType glade_standard_stock_get_type (void) G_GNUC_CONST;
|
||||
GType glade_standard_stock_image_get_type (void) G_GNUC_CONST;
|
||||
GType glade_glist_get_type (void) G_GNUC_CONST;
|
||||
GType glade_accel_glist_get_type (void) G_GNUC_CONST;
|
||||
GType glade_param_objects_get_type (void) G_GNUC_CONST;
|
||||
GType glade_param_accel_get_type (void) G_GNUC_CONST;
|
||||
GType glade_item_appearance_get_type (void) G_GNUC_CONST;
|
||||
|
||||
|
||||
LIBGLADEUI_API guint glade_builtin_key_from_string (const gchar *string);
|
||||
LIBGLADEUI_API const gchar *glade_builtin_string_from_key (guint key);
|
||||
guint glade_builtin_key_from_string (const gchar *string);
|
||||
const gchar *glade_builtin_string_from_key (guint key);
|
||||
|
||||
|
||||
LIBGLADEUI_API GList *glade_accel_list_copy (GList *accels);
|
||||
LIBGLADEUI_API void glade_accel_list_free (GList *accels);
|
||||
GList *glade_accel_list_copy (GList *accels);
|
||||
void glade_accel_list_free (GList *accels);
|
||||
|
||||
|
||||
|
||||
LIBGLADEUI_API GParamSpec *glade_param_spec_objects (const gchar *name,
|
||||
const gchar *nick,
|
||||
const gchar *blurb,
|
||||
GType accepted_type,
|
||||
GParamFlags flags);
|
||||
GParamSpec *glade_param_spec_objects (const gchar *name,
|
||||
const gchar *nick,
|
||||
const gchar *blurb,
|
||||
GType accepted_type,
|
||||
GParamFlags flags);
|
||||
|
||||
LIBGLADEUI_API GParamSpec *glade_param_spec_accel (const gchar *name,
|
||||
const gchar *nick,
|
||||
const gchar *blurb,
|
||||
GType widget_type,
|
||||
GParamFlags flags);
|
||||
GParamSpec *glade_param_spec_accel (const gchar *name,
|
||||
const gchar *nick,
|
||||
const gchar *blurb,
|
||||
GType widget_type,
|
||||
GParamFlags flags);
|
||||
|
||||
LIBGLADEUI_API void glade_param_spec_objects_set_type (GladeParamSpecObjects *pspec,
|
||||
GType type);
|
||||
LIBGLADEUI_API GType glade_param_spec_objects_get_type (GladeParamSpecObjects *pspec);
|
||||
void glade_param_spec_objects_set_type (GladeParamSpecObjects *pspec,
|
||||
GType type);
|
||||
GType glade_param_spec_objects_get_type (GladeParamSpecObjects *pspec);
|
||||
|
||||
LIBGLADEUI_API GParamSpec *glade_standard_pixbuf_spec (void);
|
||||
LIBGLADEUI_API GParamSpec *glade_standard_gdkcolor_spec (void);
|
||||
LIBGLADEUI_API GParamSpec *glade_standard_objects_spec (void);
|
||||
LIBGLADEUI_API GParamSpec *glade_standard_stock_spec (void);
|
||||
LIBGLADEUI_API GParamSpec *glade_standard_stock_image_spec (void);
|
||||
LIBGLADEUI_API GParamSpec *glade_standard_accel_spec (void);
|
||||
LIBGLADEUI_API GParamSpec *glade_standard_int_spec (void);
|
||||
LIBGLADEUI_API GParamSpec *glade_standard_uint_spec (void);
|
||||
LIBGLADEUI_API GParamSpec *glade_standard_string_spec (void);
|
||||
LIBGLADEUI_API GParamSpec *glade_standard_strv_spec (void);
|
||||
LIBGLADEUI_API GParamSpec *glade_standard_float_spec (void);
|
||||
LIBGLADEUI_API GParamSpec *glade_standard_boolean_spec (void);
|
||||
GParamSpec *glade_standard_pixbuf_spec (void);
|
||||
GParamSpec *glade_standard_gdkcolor_spec (void);
|
||||
GParamSpec *glade_standard_objects_spec (void);
|
||||
GParamSpec *glade_standard_stock_spec (void);
|
||||
GParamSpec *glade_standard_stock_image_spec (void);
|
||||
GParamSpec *glade_standard_accel_spec (void);
|
||||
GParamSpec *glade_standard_int_spec (void);
|
||||
GParamSpec *glade_standard_uint_spec (void);
|
||||
GParamSpec *glade_standard_string_spec (void);
|
||||
GParamSpec *glade_standard_strv_spec (void);
|
||||
GParamSpec *glade_standard_float_spec (void);
|
||||
GParamSpec *glade_standard_boolean_spec (void);
|
||||
|
||||
LIBGLADEUI_API void glade_standard_stock_append_prefix (const gchar *prefix);
|
||||
void glade_standard_stock_append_prefix (const gchar *prefix);
|
||||
|
||||
LIBGLADEUI_API gboolean glade_keyval_valid (guint val);
|
||||
gboolean glade_keyval_valid (guint val);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -32,36 +32,34 @@ typedef struct _GladeCatalog GladeCatalog;
|
||||
typedef struct _GladeWidgetGroup GladeWidgetGroup;
|
||||
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GList * glade_catalog_load_all (void);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
const gchar * glade_catalog_get_name (GladeCatalog *catalog);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GList * glade_catalog_get_widget_groups (GladeCatalog *catalog);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GList * glade_catalog_get_adaptors (GladeCatalog *catalog);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_catalog_free (GladeCatalog *catalog);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
const gchar * glade_widget_group_get_name (GladeWidgetGroup *group);
|
||||
LIBGLADEUI_API
|
||||
|
||||
const gchar * glade_widget_group_get_title (GladeWidgetGroup *group);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_widget_group_get_expanded (GladeWidgetGroup *group);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GList * glade_widget_group_get_adaptors (GladeWidgetGroup *group);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_group_free (GladeWidgetGroup *group);
|
||||
|
||||
LIBGLADEUI_API
|
||||
gboolean glade_catalog_is_loaded (const gchar *name);
|
||||
|
||||
LIBGLADEUI_API
|
||||
void glade_catalog_modules_close (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -13,11 +13,12 @@ G_BEGIN_DECLS
|
||||
#define GLADE_IS_CLIPBOARD_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GLADE_TYPE_CLIPBOARD_VIEW))
|
||||
#define GLADE_CLIPBOARD_VIEW_GET_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE ((obj), GLADE_TYPE_CLIPBOARD_VIEW, GladeClipboardViewClass))
|
||||
|
||||
typedef struct _GladeClipboardView GladeClipboardView;
|
||||
typedef struct _GladeClipboardView GladeClipboardView;
|
||||
typedef struct _GladeClipboardViewClass GladeClipboardViewClass;
|
||||
|
||||
struct _GladeClipboardView {
|
||||
GtkWindow __parent__;
|
||||
struct _GladeClipboardView
|
||||
{
|
||||
GtkWindow parent_instance;
|
||||
|
||||
GtkWidget *widget; /* The GtkTreeView widget */
|
||||
GtkListStore *model; /* The GtkListStore model for the View */
|
||||
@ -26,24 +27,25 @@ struct _GladeClipboardView {
|
||||
* the selecion. */
|
||||
};
|
||||
|
||||
struct _GladeClipboardViewClass {
|
||||
GtkWindowClass __parent__;
|
||||
struct _GladeClipboardViewClass
|
||||
{
|
||||
GtkWindowClass parent_class;
|
||||
};
|
||||
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GType glade_clipboard_view_get_type (void) G_GNUC_CONST;
|
||||
|
||||
LIBGLADEUI_API
|
||||
GtkWidget *glade_clipboard_view_new (GladeClipboard *clipboard);
|
||||
LIBGLADEUI_API
|
||||
void glade_clipboard_view_add (GladeClipboardView *view,
|
||||
GladeWidget *widget);
|
||||
LIBGLADEUI_API
|
||||
void glade_clipboard_view_remove (GladeClipboardView *view,
|
||||
GladeWidget *widget);
|
||||
LIBGLADEUI_API
|
||||
void glade_clipboard_view_refresh_sel (GladeClipboardView *view);
|
||||
|
||||
GtkWidget *glade_clipboard_view_new (GladeClipboard *clipboard);
|
||||
|
||||
void glade_clipboard_view_add (GladeClipboardView *view,
|
||||
GladeWidget *widget);
|
||||
|
||||
void glade_clipboard_view_remove (GladeClipboardView *view,
|
||||
GladeWidget *widget);
|
||||
|
||||
void glade_clipboard_view_refresh_sel (GladeClipboardView *view);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -13,8 +13,9 @@ G_BEGIN_DECLS
|
||||
typedef struct _GladeClipboard GladeClipboard;
|
||||
typedef struct _GladeClipboardClass GladeClipboardClass;
|
||||
|
||||
struct _GladeClipboard {
|
||||
GObject __parent__;
|
||||
struct _GladeClipboard
|
||||
{
|
||||
GObject parent_instance;
|
||||
|
||||
GList *widgets; /* A list of GladeWidget's on the clipboard */
|
||||
GList *selection; /* Selection list of GladeWidget's */
|
||||
@ -22,32 +23,31 @@ struct _GladeClipboard {
|
||||
GtkWidget *view; /* see glade-clipboard-view.c */
|
||||
};
|
||||
|
||||
struct _GladeClipboardClass {
|
||||
GObjectClass __parent__;
|
||||
struct _GladeClipboardClass
|
||||
{
|
||||
GObjectClass parent_class;
|
||||
};
|
||||
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GType glade_clipboard_get_type (void);
|
||||
|
||||
LIBGLADEUI_API
|
||||
GladeClipboard *glade_clipboard_new (void);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_clipboard_add (GladeClipboard *clipboard,
|
||||
GList *widgets);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_clipboard_remove (GladeClipboard *clipboard,
|
||||
GList *widgets);
|
||||
|
||||
LIBGLADEUI_API
|
||||
void glade_clipboard_selection_add (GladeClipboard *clipboard,
|
||||
GladeWidget *widget);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_clipboard_selection_remove (GladeClipboard *clipboard,
|
||||
GladeWidget *widget);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_clipboard_selection_clear (GladeClipboard *clipboard);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_clipboard_get_has_selection (GladeClipboard *clipboard);
|
||||
|
||||
|
||||
|
@ -54,83 +54,83 @@ struct _GladeCommandClass
|
||||
};
|
||||
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GType glade_command_get_type (void);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_command_push_group (const gchar *fmt,
|
||||
...);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_command_pop_group (void);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_command_execute (GladeCommand *command);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_command_undo (GladeCommand *command);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_command_unifies (GladeCommand *command,
|
||||
GladeCommand *other);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_command_collapse (GladeCommand *command,
|
||||
GladeCommand *other);
|
||||
|
||||
/************************** properties *********************************/
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_command_set_property (GladeProperty *property,
|
||||
...);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_command_set_property_value (GladeProperty *property,
|
||||
const GValue *value);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_command_set_properties (GladeProperty *property,
|
||||
const GValue *old_value,
|
||||
const GValue *new_value,
|
||||
...);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_command_set_properties_list (GladeProject *project,
|
||||
GList *props); /* list of GCSetPropData */
|
||||
|
||||
/************************** name ******************************/
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_command_set_name (GladeWidget *glade_widget, const gchar *name);
|
||||
|
||||
|
||||
/************************ create/delete ******************************/
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_command_delete (GList *widgets);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladeWidget *glade_command_create (GladeWidgetAdaptor *adaptor,
|
||||
GladeWidget *parent,
|
||||
GladePlaceholder *placeholder,
|
||||
GladeProject *project);
|
||||
|
||||
/************************ cut/copy/paste ******************************/
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_command_cut (GList *widgets);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_command_copy (GList *widgets);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_command_paste (GList *widgets,
|
||||
GladeWidget *parent,
|
||||
GladePlaceholder *placeholder);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_command_dnd (GList *widgets,
|
||||
GladeWidget *parent,
|
||||
GladePlaceholder *placeholder);
|
||||
|
||||
/************************ signals ******************************/
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_command_add_signal (GladeWidget *glade_widget,
|
||||
const GladeSignal *signal);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_command_remove_signal (GladeWidget *glade_widget,
|
||||
const GladeSignal *signal);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_command_change_signal (GladeWidget *glade_widget,
|
||||
const GladeSignal *old,
|
||||
const GladeSignal *new_signal);
|
||||
|
||||
/************************ set i18n ******************************/
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_command_set_i18n (GladeProperty *property,
|
||||
gboolean translatable,
|
||||
gboolean has_context,
|
||||
@ -139,4 +139,4 @@ void glade_command_set_i18n (GladeProperty *property,
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* GLADE_COMMAND_H */
|
||||
#endif /* __GLADE_COMMAND_H__ */
|
||||
|
@ -54,8 +54,8 @@ struct _GladeCustomClass
|
||||
/* Since the class is called Custom and not GladeCustom,
|
||||
* glade-widget-class will search for custom_get_type() instead
|
||||
* if glade_custom_get_type()
|
||||
*/
|
||||
LIBGLADEUI_API GType custom_get_type (void) G_GNUC_CONST;
|
||||
*/
|
||||
GType custom_get_type (void) G_GNUC_CONST;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -2,6 +2,10 @@
|
||||
#ifndef __GLADE_DEBUG_H__
|
||||
#define __GLADE_DEBUG_H__
|
||||
|
||||
LIBGLADEUI_API void glade_setup_log_handlers (void);
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#endif /* __GLADE-DEBUG_H__ */
|
||||
void glade_setup_log_handlers (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GLADE_DEBUG_H__ */
|
||||
|
@ -57,19 +57,15 @@ struct _GladeDesignViewClass
|
||||
|
||||
};
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GType glade_design_view_get_type (void) G_GNUC_CONST;
|
||||
|
||||
LIBGLADEUI_API
|
||||
GtkWidget *glade_design_view_new (GladeProject *project);
|
||||
|
||||
LIBGLADEUI_API
|
||||
GladeProject *glade_design_view_get_project (GladeDesignView *view);
|
||||
|
||||
LIBGLADEUI_API
|
||||
GladeDesignView *glade_design_view_get_from_project (GladeProject *project);
|
||||
|
||||
LIBGLADEUI_API
|
||||
GladeDesignLayout *glade_design_view_get_layout (GladeDesignView *view);
|
||||
|
||||
|
||||
|
@ -15,7 +15,8 @@ G_BEGIN_DECLS
|
||||
typedef struct _GladeEditorProperty GladeEditorProperty;
|
||||
typedef struct _GladeEditorPropertyClass GladeEditorPropertyClass;
|
||||
|
||||
struct _GladeEditorProperty {
|
||||
struct _GladeEditorProperty
|
||||
{
|
||||
GtkHBox parent_instance;
|
||||
|
||||
GladePropertyClass *klass; /* The property class this GladeEditorProperty was created for
|
||||
@ -78,28 +79,29 @@ struct _GladeEditorPropertyClass {
|
||||
};
|
||||
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GType glade_editor_property_get_type (void);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladeEditorProperty *glade_editor_property_new (GladePropertyClass *klass,
|
||||
gboolean use_command);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladeEditorProperty *glade_editor_property_new_from_widget (GladeWidget *widget,
|
||||
const gchar *property,
|
||||
gboolean use_command);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_editor_property_load (GladeEditorProperty *eprop,
|
||||
GladeProperty *property);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_editor_property_load_by_widget (GladeEditorProperty *eprop,
|
||||
GladeWidget *widget);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_editor_property_supported (GParamSpec *pspec);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_editor_property_show_info (GladeEditorProperty *eprop);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_editor_property_hide_info (GladeEditorProperty *eprop);
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GLADE_EDITOR_PROPERTY_H__ */
|
||||
|
@ -181,27 +181,27 @@ struct _GladeEditorTable
|
||||
gint rows;
|
||||
};
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GType glade_editor_get_type (void);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladeEditor *glade_editor_new (void);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_editor_load_widget (GladeEditor *editor,
|
||||
GladeWidget *widget);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_editor_refresh (GladeEditor *editor);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_editor_update_widget_name (GladeEditor *editor);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_editor_query_dialog (GladeEditor *editor,
|
||||
GladeWidget *widget);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_editor_show_info (GladeEditor *editor);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_editor_show_context_info (GladeEditor *editor);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_editor_hide_info (GladeEditor *editor);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_editor_hide_context_info (GladeEditor *editor);
|
||||
|
||||
|
||||
|
@ -86,7 +86,6 @@ struct _GladeFixedClass {
|
||||
|
||||
};
|
||||
|
||||
LIBGLADEUI_API
|
||||
GType glade_fixed_get_type (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -61,31 +61,23 @@ struct _GladePaletteClass
|
||||
void (*toggled) (GladePalette *palette);
|
||||
};
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GType glade_palette_get_type (void) G_GNUC_CONST;
|
||||
|
||||
LIBGLADEUI_API
|
||||
GtkWidget *glade_palette_new (const GList *catalogs);
|
||||
|
||||
LIBGLADEUI_API
|
||||
void glade_palette_deselect_current_item (GladePalette *palette, gboolean sticky_aware);
|
||||
|
||||
LIBGLADEUI_API
|
||||
GladeWidgetAdaptor *glade_palette_get_current_item (GladePalette *palette);
|
||||
|
||||
LIBGLADEUI_API
|
||||
GladeItemAppearance glade_palette_get_item_appearance (GladePalette *palette);
|
||||
|
||||
LIBGLADEUI_API
|
||||
void glade_palette_set_item_appearance (GladePalette *palette, GladeItemAppearance appearance);
|
||||
|
||||
LIBGLADEUI_API
|
||||
gboolean glade_palette_get_use_small_item_icons (GladePalette *palette);
|
||||
|
||||
LIBGLADEUI_API
|
||||
void glade_palette_set_use_small_item_icons (GladePalette *palette, gboolean use_small_item_icons);
|
||||
|
||||
LIBGLADEUI_API
|
||||
void glade_palette_set_show_selector_button (GladePalette *palette, gboolean show_selector_button);
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -32,22 +32,21 @@ struct _GladeParameter {
|
||||
gchar *value; /* The textual representation of the parameter */
|
||||
};
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladeParameter *glade_parameter_new (void);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladeParameter *glade_parameter_clone (GladeParameter *parameter);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_parameter_free (GladeParameter *parameter);
|
||||
|
||||
LIBGLADEUI_API
|
||||
void glade_parameter_get_float (GList *parameters, const gchar *key, gfloat *value);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_parameter_get_integer (GList *parameters, const gchar *key, gint *value);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_parameter_get_boolean (GList *parameters, const gchar *key, gboolean *value);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_parameter_get_string (GList *parameters, const gchar *key, gchar **value);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GList * glade_parameter_list_new_from_node (GList *list, GladeXmlNode *node);
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -33,11 +33,11 @@ struct _GladePlaceholderClass
|
||||
GtkWidgetClass parent_class;
|
||||
};
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GType glade_placeholder_get_type (void) G_GNUC_CONST;
|
||||
LIBGLADEUI_API
|
||||
|
||||
GtkWidget *glade_placeholder_new (void);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladeWidget *glade_placeholder_get_parent (GladePlaceholder *placeholder);
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -45,22 +45,17 @@ struct _GladeProjectViewClass
|
||||
GladeProject *project);
|
||||
};
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GType glade_project_view_get_type (void) G_GNUC_CONST;
|
||||
|
||||
LIBGLADEUI_API
|
||||
GtkWidget *glade_project_view_new (void);
|
||||
|
||||
LIBGLADEUI_API
|
||||
GladeProject *glade_project_view_get_project (GladeProjectView *view);
|
||||
|
||||
LIBGLADEUI_API
|
||||
void glade_project_view_set_project (GladeProjectView *view, GladeProject *project);
|
||||
|
||||
LIBGLADEUI_API
|
||||
void glade_project_view_expand_all (GladeProjectView *view);
|
||||
|
||||
LIBGLADEUI_API
|
||||
void glade_project_view_collapse_all (GladeProjectView *view);
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -103,103 +103,103 @@ struct _GladeProjectClass
|
||||
void (*parse_finished) (GladeProject *project);
|
||||
};
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GType glade_project_get_type (void);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladeProject *glade_project_new (gboolean untitled);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladeProject *glade_project_open (const gchar *path);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_project_save (GladeProject *project,
|
||||
const gchar *path,
|
||||
GError **error);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_project_undo (GladeProject *project);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_project_redo (GladeProject *project);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladeCommand *glade_project_next_undo_item (GladeProject *project);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladeCommand *glade_project_next_redo_item (GladeProject *project);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_project_push_undo (GladeProject *project,
|
||||
GladeCommand *cmd);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_project_reset_path (GladeProject *project);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_project_get_readonly (GladeProject *project);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_project_add_object (GladeProject *project,
|
||||
GladeProject *old_project,
|
||||
GObject *object);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_project_remove_object (GladeProject *project, GObject *object);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_project_has_object (GladeProject *project, GObject *object);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladeWidget *glade_project_get_widget_by_name (GladeProject *project, const char *name);
|
||||
LIBGLADEUI_API
|
||||
|
||||
char *glade_project_new_widget_name (GladeProject *project, const char *base_name);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_project_widget_name_changed (GladeProject *project, GladeWidget *widget,
|
||||
const char *old_name);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GtkTooltips *glade_project_get_tooltips (GladeProject *project);
|
||||
|
||||
/* Selection */
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_project_is_selected (GladeProject *project,
|
||||
GObject *object);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_project_selection_set (GladeProject *project,
|
||||
GObject *object,
|
||||
gboolean emit_signal);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_project_selection_add (GladeProject *project,
|
||||
GObject *object,
|
||||
gboolean emit_signal);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_project_selection_remove (GladeProject *project,
|
||||
GObject *object,
|
||||
gboolean emit_signal);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_project_selection_clear (GladeProject *project,
|
||||
gboolean emit_signal);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_project_selection_changed (GladeProject *project);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GList *glade_project_selection_get (GladeProject *project);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_project_get_has_selection (GladeProject *project);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_project_set_accel_group (GladeProject *project,
|
||||
GtkAccelGroup *accel_group);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_project_set_resource (GladeProject *project,
|
||||
GladeProperty *property,
|
||||
const gchar *resource);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GList *glade_project_list_resources (GladeProject *project);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
gchar *glade_project_resource_fullpath (GladeProject *project,
|
||||
const gchar *resource);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
gchar *glade_project_display_name (GladeProject *project,
|
||||
gboolean unsaved_changes,
|
||||
gboolean tab_aligned,
|
||||
gboolean mnemonic);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_project_is_loading (GladeProject *project);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
time_t glade_project_get_file_mtime (GladeProject *project);
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -149,65 +149,65 @@ struct _GladePropertyClass
|
||||
|
||||
};
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladePropertyClass *glade_property_class_new (gpointer handle);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladePropertyClass *glade_property_class_new_from_spec (gpointer handle,
|
||||
GParamSpec *spec);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GList *glade_property_class_list_atk_relations (gpointer handle,
|
||||
GType owner_type);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladePropertyClass *glade_property_class_accel_property (gpointer handle,
|
||||
GType owner_type);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladePropertyClass *glade_property_class_clone (GladePropertyClass *property_class);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_property_class_free (GladePropertyClass *property_class);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_property_class_is_visible (GladePropertyClass *property_class);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_property_class_is_object (GladePropertyClass *property_class);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GValue *glade_property_class_make_gvalue_from_string (GladePropertyClass *property_class,
|
||||
const gchar *string,
|
||||
GladeProject *project);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gchar *glade_property_class_make_string_from_gvalue (GladePropertyClass *property_class,
|
||||
const GValue *value);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GValue *glade_property_class_make_gvalue_from_vl (GladePropertyClass *property_class,
|
||||
va_list vl);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_property_class_set_vl_from_gvalue (GladePropertyClass *klass,
|
||||
GValue *value,
|
||||
va_list vl);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GValue *glade_property_class_make_gvalue (GladePropertyClass *klass,
|
||||
...);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_property_class_get_from_gvalue (GladePropertyClass *klass,
|
||||
GValue *value,
|
||||
...);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_property_class_update_from_node (GladeXmlNode *node,
|
||||
GModule *module,
|
||||
GType object_type,
|
||||
GladePropertyClass **property_class,
|
||||
const gchar *domain);
|
||||
LIBGLADEUI_API
|
||||
|
||||
G_CONST_RETURN gchar *glade_property_class_get_displayable_value (GladePropertyClass *klass,
|
||||
gint value);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GtkAdjustment *glade_property_class_make_adjustment (GladePropertyClass *property_class);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_property_class_match (GladePropertyClass *klass,
|
||||
GladePropertyClass *comp);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_property_class_void_value (GladePropertyClass *klass,
|
||||
GValue *value);
|
||||
LIBGLADEUI_API
|
||||
|
||||
G_CONST_RETURN gchar *glade_property_class_atk_realname (const gchar *atk_name);
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -2,6 +2,8 @@
|
||||
#ifndef __GLADE_PROPERTY_H__
|
||||
#define __GLADE_PROPERTY_H__
|
||||
|
||||
#include <glib-object.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define GLADE_TYPE_PROPERTY (glade_property_get_type())
|
||||
@ -84,112 +86,112 @@ struct _GladePropertyKlass
|
||||
void (* tooltip_changed) (GladeProperty *, const gchar *);
|
||||
};
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GType glade_property_get_type (void) G_GNUC_CONST;
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladeProperty *glade_property_new (GladePropertyClass *klass,
|
||||
GladeWidget *widget,
|
||||
GValue *value);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladeProperty *glade_property_dup (GladeProperty *template_prop,
|
||||
GladeWidget *widget);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_property_reset (GladeProperty *property);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_property_original_reset (GladeProperty *property);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_property_default (GladeProperty *property);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_property_original_default (GladeProperty *property);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_property_equals_value (GladeProperty *property,
|
||||
const GValue *value);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_property_equals (GladeProperty *property,
|
||||
...);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_property_set_value (GladeProperty *property,
|
||||
const GValue *value);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_property_set_va_list (GladeProperty *property,
|
||||
va_list vl);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_property_set (GladeProperty *property,
|
||||
...);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_property_get_value (GladeProperty *property,
|
||||
GValue *value);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_property_get_default (GladeProperty *property,
|
||||
GValue *value);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_property_get_va_list (GladeProperty *property,
|
||||
va_list vl);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_property_get (GladeProperty *property,
|
||||
...);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_property_add_object (GladeProperty *property,
|
||||
GObject *object);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_property_remove_object (GladeProperty *property,
|
||||
GObject *object);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_property_sync (GladeProperty *property);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_property_load (GladeProperty *property);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GValue *glade_property_read (GladeProperty *property,
|
||||
GladePropertyClass *pclass,
|
||||
GladeProject *project,
|
||||
gpointer info,
|
||||
gboolean free_value);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_property_write (GladeProperty *property,
|
||||
GladeInterface *interface,
|
||||
GArray *props);
|
||||
LIBGLADEUI_API
|
||||
|
||||
G_CONST_RETURN gchar *glade_property_get_tooltip (GladeProperty *property);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_property_set_sensitive (GladeProperty *property,
|
||||
gboolean sensitive,
|
||||
const gchar *reason);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_property_get_sensitive (GladeProperty *property);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_property_set_save_always (GladeProperty *property,
|
||||
gboolean setting);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_property_get_save_always (GladeProperty *property);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_property_set_enabled (GladeProperty *property,
|
||||
gboolean enabled);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_property_get_enabled (GladeProperty *property);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_property_i18n_set_comment (GladeProperty *property,
|
||||
const gchar *str);
|
||||
LIBGLADEUI_API
|
||||
|
||||
G_CONST_RETURN gchar *glade_property_i18n_get_comment (GladeProperty *property);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_property_i18n_set_translatable (GladeProperty *property,
|
||||
gboolean translatable);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_property_i18n_get_translatable (GladeProperty *property);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_property_i18n_set_has_context (GladeProperty *property,
|
||||
gboolean has_context);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_property_i18n_get_has_context (GladeProperty *property);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_property_push_superuser (void);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_property_pop_superuser (void);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_property_superuser (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -35,13 +35,13 @@ struct _GladeSignalEditor
|
||||
};
|
||||
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GtkWidget *glade_signal_editor_get_widget (GladeSignalEditor *editor);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladeSignalEditor *glade_signal_editor_new (gpointer *editor);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_signal_editor_load_widget (GladeSignalEditor *editor, GladeWidget *widget);
|
||||
|
||||
|
||||
|
@ -22,125 +22,115 @@ typedef enum
|
||||
GLADE_UI_YES_OR_NO
|
||||
} GladeUIMessageType;
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_util_widget_set_tooltip (GtkWidget *widget, const gchar *str);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GType glade_util_get_type_from_name (const gchar *name, gboolean have_func);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GParamSpec *glade_utils_get_pspec_from_funcname (const gchar *funcname);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_util_ui_message (GtkWidget *parent,
|
||||
GladeUIMessageType type,
|
||||
const gchar *format, ...);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_util_flash_message (GtkWidget *statusbar,
|
||||
guint context_id,
|
||||
gchar *format, ...);
|
||||
|
||||
/* This is a GCompareFunc for comparing the labels of 2 stock items, ignoring
|
||||
any '_' characters. It isn't particularly efficient. */
|
||||
LIBGLADEUI_API
|
||||
|
||||
gint glade_util_compare_stock_labels (gconstpointer a, gconstpointer b);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_util_hide_window (GtkWindow *window);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gchar *glade_util_gtk_combo_func (gpointer data);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gpointer glade_util_gtk_combo_find (GtkCombo *combo);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GtkWidget *glade_util_file_dialog_new (const gchar *title,
|
||||
GtkWindow *parent,
|
||||
GladeUtilFileDialogType action);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_util_replace (gchar *str, gchar a, gchar b);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gchar *glade_util_read_prop_name (const gchar *str);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gchar *glade_util_duplicate_underscores (const gchar *name);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_util_add_selection (GtkWidget *widget);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_util_remove_selection (GtkWidget *widget);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_util_has_selection (GtkWidget *widget);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_util_clear_selection (void);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GList *glade_util_get_selection (void);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_util_queue_draw_nodes (GdkWindow *window);
|
||||
|
||||
LIBGLADEUI_API
|
||||
GladeWidget *glade_util_get_parent (GtkWidget *w);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GList *glade_util_container_get_all_children (GtkContainer *container);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
gint glade_util_count_placeholders (GladeWidget *parent);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GtkTreeIter *glade_util_find_iter_by_widget (GtkTreeModel *model,
|
||||
GladeWidget *findme,
|
||||
gint column);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_util_basenames_match (const gchar *path1,
|
||||
const gchar *path2);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GList *glade_util_purify_list (GList *list);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GList *glade_util_added_in_list (GList *old_list,
|
||||
GList *new_list);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GList *glade_util_removed_from_list (GList *old_list,
|
||||
GList *new_list);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gchar *glade_util_canonical_path (const gchar *path);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_util_copy_file (const gchar *src_path,
|
||||
const gchar *dest_path);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_util_class_implements_interface (GType class_type,
|
||||
GType iface_type);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GModule *glade_util_load_library (const gchar *library_name);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_util_file_is_writeable (const gchar *path);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_util_have_devhelp (void);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GtkWidget *glade_util_get_devhelp_icon (GtkIconSize size);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_util_search_devhelp (const gchar *book,
|
||||
const gchar *page,
|
||||
const gchar *search);
|
||||
LIBGLADEUI_API
|
||||
void glade_util_set_grabed_widget (GladeWidget *gwidget);
|
||||
|
||||
LIBGLADEUI_API
|
||||
gboolean glade_util_deep_fixed_event (GtkWidget *widget,
|
||||
GdkEvent *event,
|
||||
GladeWidget *gwidget);
|
||||
|
||||
LIBGLADEUI_API
|
||||
GtkWidget *glade_util_get_placeholder_from_pointer (GtkContainer *container);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_util_object_is_loading (GObject *object);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_util_url_show (const gchar *url);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
time_t glade_util_get_file_mtime (const gchar *filename, GError **error);
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -461,127 +461,127 @@ struct _GladeWidgetAdaptorClass
|
||||
#define glade_widget_adaptor_from_pclass(pclass) \
|
||||
((pclass) ? (GladeWidgetAdaptor *)((GladePropertyClass *)(pclass))->handle : NULL)
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GType glade_widget_adaptor_get_type (void) G_GNUC_CONST;
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GType glade_create_reason_get_type (void) G_GNUC_CONST;
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladeWidgetAdaptor *glade_widget_adaptor_from_catalog (GladeXmlNode *class_node,
|
||||
const gchar *catname,
|
||||
const gchar *icon_prefix,
|
||||
GModule *module,
|
||||
const gchar *domain,
|
||||
const gchar *book);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_adaptor_register (GladeWidgetAdaptor *adaptor);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladeWidget *glade_widget_adaptor_create_internal (GladeWidget *parent,
|
||||
GObject *internal_object,
|
||||
const gchar *internal_name,
|
||||
const gchar *parent_name,
|
||||
gboolean anarchist,
|
||||
GladeCreateReason reason);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladeWidget *glade_widget_adaptor_create_widget_real (gboolean query,
|
||||
const gchar *first_property,
|
||||
...);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladeWidgetAdaptor *glade_widget_adaptor_get_by_name (const gchar *name);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladeWidgetAdaptor *glade_widget_adaptor_get_by_type (GType type);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GList *glade_widget_adaptor_get_derived_adaptors (GType type);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladePropertyClass *glade_widget_adaptor_get_property_class (GladeWidgetAdaptor *adaptor,
|
||||
const gchar *name);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladePropertyClass *glade_widget_adaptor_get_pack_property_class (GladeWidgetAdaptor *adaptor,
|
||||
const gchar *name);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GParameter *glade_widget_adaptor_default_params (GladeWidgetAdaptor *adaptor,
|
||||
gboolean construct,
|
||||
guint *n_params);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_adaptor_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GladeCreateReason reason);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GObject *glade_widget_adaptor_get_internal_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *internal_name);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_adaptor_launch_editor (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_adaptor_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *property_name,
|
||||
const GValue *value);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_adaptor_get_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *property_name,
|
||||
GValue *value);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_widget_adaptor_verify_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *property_name,
|
||||
const GValue *value);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_adaptor_add (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *child);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_adaptor_remove (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *child);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GList *glade_widget_adaptor_get_children (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_widget_adaptor_has_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *child);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_adaptor_child_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *child,
|
||||
const gchar *property_name,
|
||||
const GValue *value);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_adaptor_child_get_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *child,
|
||||
const gchar *property_name,
|
||||
GValue *value);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_widget_adaptor_child_verify_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *child,
|
||||
const gchar *property_name,
|
||||
GValue *value);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_adaptor_replace_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *old_obj,
|
||||
GObject *new_obj);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_widget_adaptor_contains_extra (GladeWidgetAdaptor *adaptor);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_widget_adaptor_query (GladeWidgetAdaptor *adaptor);
|
||||
|
||||
LIBGLADEUI_API G_CONST_RETURN
|
||||
G_CONST_RETURN
|
||||
gchar *glade_widget_adaptor_get_packing_default(GladeWidgetAdaptor *child_adaptor,
|
||||
GladeWidgetAdaptor *parent_adaptor,
|
||||
const gchar *propert_id);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_adaptor_action_activate (GladeWidget *widget,
|
||||
const gchar *action_id);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_widget_adaptor_is_container (GladeWidgetAdaptor *adaptor);
|
||||
|
||||
|
||||
|
@ -118,110 +118,110 @@ struct _GladeWidgetClass
|
||||
/*******************************************************************************
|
||||
General api
|
||||
*******************************************************************************/
|
||||
LIBGLADEUI_API
|
||||
|
||||
GType glade_widget_get_type (void);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladeWidget *glade_widget_get_from_gobject (gpointer object);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_add_child (GladeWidget *parent,
|
||||
GladeWidget *child,
|
||||
gboolean at_mouse);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_remove_child (GladeWidget *parent,
|
||||
GladeWidget *child);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladeWidgetInfo *glade_widget_write (GladeWidget *widget,
|
||||
GladeInterface *interface);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladeWidget *glade_widget_read (GladeProject *project,
|
||||
GladeWidgetInfo *info);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_replace (GladeWidget *parent,
|
||||
GObject *old_object,
|
||||
GObject *new_object);
|
||||
LIBGLADEUI_API
|
||||
void glade_widget_rebuild (GladeWidget *glade_widget);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_rebuild (GladeWidget *gwidget);
|
||||
|
||||
GladeWidget *glade_widget_dup (GladeWidget *template_widget);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_copy_properties (GladeWidget *widget,
|
||||
GladeWidget *template_widget);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_set_packing_properties (GladeWidget *widget,
|
||||
GladeWidget *container);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladeProperty *glade_widget_get_property (GladeWidget *widget,
|
||||
const gchar *id_property);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladeProperty *glade_widget_get_pack_property (GladeWidget *widget,
|
||||
const gchar *id_property);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GList *glade_widget_dup_properties (GList *template_props,
|
||||
gboolean as_load);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_remove_property (GladeWidget *widget,
|
||||
const gchar *id_property);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_show (GladeWidget *widget);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_hide (GladeWidget *widget);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_add_signal_handler (GladeWidget *widget,
|
||||
GladeSignal *signal_handler);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_remove_signal_handler (GladeWidget *widget,
|
||||
GladeSignal *signal_handler);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_change_signal_handler (GladeWidget *widget,
|
||||
GladeSignal *old_signal_handler,
|
||||
GladeSignal *new_signal_handler);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GPtrArray * glade_widget_list_signal_handlers (GladeWidget *widget,
|
||||
const gchar *signal_name);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_widget_has_launcher (GladeWidget *widget);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_launch_editor (GladeWidget *widget);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_widget_has_decendant (GladeWidget *widget,
|
||||
GType type);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_widget_event (GladeWidget *gwidget,
|
||||
GdkEvent *event);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_widget_placeholder_relation (GladeWidget *parent,
|
||||
GladeWidget *widget);
|
||||
|
||||
/*******************************************************************************
|
||||
Project, object property references
|
||||
*******************************************************************************/
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_project_notify (GladeWidget *widget,
|
||||
GladeProject *project);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_add_prop_ref (GladeWidget *widget,
|
||||
GladeProperty *property);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_remove_prop_ref (GladeWidget *widget,
|
||||
GladeProperty *property);
|
||||
|
||||
/*******************************************************************************
|
||||
Functions that deal with properties on the runtime object
|
||||
*******************************************************************************/
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_object_set_property (GladeWidget *widget,
|
||||
const gchar *property_name,
|
||||
const GValue *value);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_object_get_property (GladeWidget *widget,
|
||||
const gchar *property_name,
|
||||
GValue *value);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_child_set_property (GladeWidget *widget,
|
||||
GladeWidget *child,
|
||||
const gchar *property_name,
|
||||
const GValue *value);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_child_get_property (GladeWidget *widget,
|
||||
GladeWidget *child,
|
||||
const gchar *property_name,
|
||||
@ -230,61 +230,61 @@ void glade_widget_child_get_property (GladeWidget *w
|
||||
/*******************************************************************************
|
||||
GladeProperty api convenience wrappers
|
||||
*******************************************************************************/
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_widget_property_get (GladeWidget *widget,
|
||||
const gchar *id_property,
|
||||
...);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_widget_property_set (GladeWidget *widget,
|
||||
const gchar *id_property,
|
||||
...);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_widget_pack_property_get (GladeWidget *widget,
|
||||
const gchar *id_property,
|
||||
...);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_widget_pack_property_set (GladeWidget *widget,
|
||||
const gchar *id_property,
|
||||
...);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_widget_property_reset (GladeWidget *widget,
|
||||
const gchar *id_property);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_widget_pack_property_reset (GladeWidget *widget,
|
||||
const gchar *id_property);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_widget_property_default (GladeWidget *widget,
|
||||
const gchar *id_property);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_widget_property_original_default (GladeWidget *widget,
|
||||
const gchar *id_property);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_widget_pack_property_default (GladeWidget *widget,
|
||||
const gchar *id_property);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_widget_property_set_sensitive (GladeWidget *widget,
|
||||
const gchar *id_property,
|
||||
gboolean sensitive,
|
||||
const gchar *reason);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_widget_pack_property_set_sensitive (GladeWidget *widget,
|
||||
const gchar *id_property,
|
||||
gboolean sensitive,
|
||||
const gchar *reason);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_widget_property_set_enabled (GladeWidget *widget,
|
||||
const gchar *id_property,
|
||||
gboolean enabled);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_widget_pack_property_set_enabled (GladeWidget *widget,
|
||||
const gchar *id_property,
|
||||
gboolean enabled);
|
||||
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_widget_property_set_save_always (GladeWidget *widget,
|
||||
const gchar *id_property,
|
||||
gboolean setting);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_widget_pack_property_set_save_always (GladeWidget *widget,
|
||||
const gchar *id_property,
|
||||
gboolean setting);
|
||||
@ -292,38 +292,38 @@ gboolean glade_widget_pack_property_set_save_always (GladeWidget
|
||||
/*******************************************************************************
|
||||
Accessors
|
||||
*******************************************************************************/
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_set_name (GladeWidget *widget,
|
||||
const gchar *name);
|
||||
LIBGLADEUI_API
|
||||
|
||||
G_CONST_RETURN gchar *glade_widget_get_name (GladeWidget *widget);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_set_internal (GladeWidget *widget,
|
||||
const gchar *internal);
|
||||
LIBGLADEUI_API
|
||||
|
||||
G_CONST_RETURN gchar *glade_widget_get_internal (GladeWidget *widget);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_set_object (GladeWidget *gwidget,
|
||||
GObject *new_object);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GObject *glade_widget_get_object (GladeWidget *widget);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_set_project (GladeWidget *widget,
|
||||
GladeProject *project);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladeProject *glade_widget_get_project (GladeWidget *widget);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladeWidgetAdaptor *glade_widget_get_adaptor (GladeWidget *widget);
|
||||
LIBGLADEUI_API
|
||||
|
||||
GladeWidget *glade_widget_get_parent (GladeWidget *widget);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_set_parent (GladeWidget *widget,
|
||||
GladeWidget *parent);
|
||||
LIBGLADEUI_API
|
||||
|
||||
gboolean glade_widget_superuser (void);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_push_superuser (void);
|
||||
LIBGLADEUI_API
|
||||
|
||||
void glade_widget_pop_superuser (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
@ -1,32 +1,32 @@
|
||||
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
|
||||
/*
|
||||
* glade.h
|
||||
*
|
||||
* Copyright (C) 2007 The GNOME Foundation.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*
|
||||
*/
|
||||
#ifndef __GLADE_H__
|
||||
#define __GLADE_H__
|
||||
|
||||
/* symbol export attributes
|
||||
*/
|
||||
#ifndef __GNUC__
|
||||
# define __DLL_IMPORT__ __declspec(dllimport)
|
||||
# define __DLL_EXPORT__ __declspec(dllexport)
|
||||
#else
|
||||
# define __DLL_IMPORT__ __attribute__((dllimport)) extern
|
||||
# define __DLL_EXPORT__ __attribute__((dllexport)) extern
|
||||
#endif
|
||||
|
||||
#if defined(__WIN32__) || defined(_WIN32) || defined(WIN32)
|
||||
# ifdef INSIDE_LIBGLADEUI
|
||||
# define LIBGLADEUI_API __DLL_EXPORT__
|
||||
# else
|
||||
# define LIBGLADEUI_API __DLL_IMPORT__
|
||||
# endif
|
||||
#else
|
||||
# define LIBGLADEUI_API extern
|
||||
#endif
|
||||
|
||||
/* fix circular header dependencies with forward declarations.
|
||||
/* FIXME: forward declarations to get around circular header dependencies.
|
||||
*/
|
||||
typedef struct _GladeWidget GladeWidget;
|
||||
typedef struct _GladeProperty GladeProperty;
|
||||
typedef struct _GladeProject GladeProject;
|
||||
typedef struct _GladeWidget GladeWidget;
|
||||
typedef struct _GladeProperty GladeProperty;
|
||||
typedef struct _GladeProject GladeProject;
|
||||
|
||||
#include <gladeui/glade-widget-adaptor.h>
|
||||
#include <gladeui/glade-widget.h>
|
||||
|
@ -31,22 +31,16 @@
|
||||
#include <libgnome/libgnome.h>
|
||||
#include <libgnomeui/libgnomeui.h>
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
#define GLADEGNOME_API __declspec(dllexport)
|
||||
#else
|
||||
#define GLADEGNOME_API
|
||||
#endif
|
||||
|
||||
/* This function does absolutely nothing
|
||||
* (and is for use in overriding post_create functions).
|
||||
*/
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
empty (GObject *container, GladeCreateReason reason)
|
||||
{
|
||||
}
|
||||
|
||||
/* Catalog init function */
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnomeui_init ()
|
||||
{
|
||||
gchar *argv[2] = {"glade-3", NULL};
|
||||
@ -94,7 +88,7 @@ glade_gnomeui_init ()
|
||||
}
|
||||
|
||||
/* GnomeApp */
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_app_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GladeCreateReason reason)
|
||||
@ -146,7 +140,7 @@ glade_gnome_app_post_create (GladeWidgetAdaptor *adaptor,
|
||||
glade_widget_property_set (gapp, "has-statusbar", TRUE);
|
||||
}
|
||||
|
||||
GObject * GLADEGNOME_API
|
||||
GObject *
|
||||
glade_gnome_app_get_internal_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *name)
|
||||
@ -176,7 +170,7 @@ glade_gnome_app_get_internal_child (GladeWidgetAdaptor *adaptor,
|
||||
return child;
|
||||
}
|
||||
|
||||
GList * GLADEGNOME_API
|
||||
GList *
|
||||
glade_gnome_app_get_children (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object)
|
||||
{
|
||||
@ -190,7 +184,7 @@ glade_gnome_app_get_children (GladeWidgetAdaptor *adaptor,
|
||||
return list;
|
||||
}
|
||||
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_app_set_child_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *child,
|
||||
@ -209,7 +203,7 @@ glade_gnome_app_set_child_property (GladeWidgetAdaptor *adaptor,
|
||||
value);
|
||||
}
|
||||
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_app_get_child_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *child,
|
||||
@ -267,7 +261,7 @@ glade_gnome_app_set_has_statusbar (GObject *object, const GValue *value)
|
||||
}
|
||||
|
||||
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_app_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -284,13 +278,13 @@ glade_gnome_app_set_property (GladeWidgetAdaptor *adaptor,
|
||||
}
|
||||
|
||||
/* GnomeAppBar */
|
||||
GType GLADEGNOME_API
|
||||
GType
|
||||
gnome_app_bar_get_type ()
|
||||
{
|
||||
return gnome_appbar_get_type ();
|
||||
}
|
||||
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_app_bar_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GladeCreateReason reason)
|
||||
@ -305,7 +299,7 @@ glade_gnome_date_edit_set_no_show_all (GtkWidget *widget, gpointer data)
|
||||
gtk_widget_set_no_show_all (widget, TRUE);
|
||||
}
|
||||
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_date_edit_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GladeCreateReason reason)
|
||||
@ -341,7 +335,7 @@ glade_gnome_druid_add_page (GladeWidget *gdruid, gboolean edge)
|
||||
return gpage;
|
||||
}
|
||||
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_druid_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GladeCreateReason reason)
|
||||
@ -404,7 +398,7 @@ glade_gnome_druid_page_cb (GnomeDruidPage *druidpage,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_druid_add_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *child)
|
||||
@ -426,7 +420,7 @@ glade_gnome_druid_add_child (GladeWidgetAdaptor *adaptor,
|
||||
GINT_TO_POINTER (FALSE));
|
||||
}
|
||||
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_druid_remove_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *child)
|
||||
@ -483,7 +477,7 @@ glade_gnome_druid_get_page_position (GnomeDruid *druid, GnomeDruidPage *page)
|
||||
return i;
|
||||
}
|
||||
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_druid_set_child_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *child,
|
||||
@ -521,7 +515,7 @@ glade_gnome_druid_set_child_property (GladeWidgetAdaptor *adaptor,
|
||||
value);
|
||||
}
|
||||
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_druid_get_child_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *child,
|
||||
@ -545,7 +539,7 @@ glade_gnome_druid_get_child_property (GladeWidgetAdaptor *adaptor,
|
||||
}
|
||||
|
||||
/* GnomeDruidPageStandard */
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_dps_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GladeCreateReason reason)
|
||||
@ -563,7 +557,7 @@ glade_gnome_dps_post_create (GladeWidgetAdaptor *adaptor,
|
||||
glade_widget_property_set (gvbox, "size", 1);
|
||||
}
|
||||
|
||||
GObject * GLADEGNOME_API
|
||||
GObject *
|
||||
glade_gnome_dps_get_internal_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *name)
|
||||
@ -576,7 +570,7 @@ glade_gnome_dps_get_internal_child (GladeWidgetAdaptor *adaptor,
|
||||
return child;
|
||||
}
|
||||
|
||||
GList * GLADEGNOME_API
|
||||
GList *
|
||||
glade_gnome_dps_get_children (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object)
|
||||
{
|
||||
@ -607,7 +601,7 @@ glade_gnome_dps_set_color_common (GObject *object,
|
||||
if (color) glade_property_set_value (prop, color);
|
||||
}
|
||||
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_dps_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -649,7 +643,7 @@ glade_gnome_dpe_position_get_type (void)
|
||||
return etype;
|
||||
}
|
||||
|
||||
GParamSpec * GLADEGNOME_API
|
||||
GParamSpec *
|
||||
glade_gnome_dpe_position_spec (void)
|
||||
{
|
||||
return g_param_spec_enum ("position", _("Position"),
|
||||
@ -658,7 +652,7 @@ glade_gnome_dpe_position_spec (void)
|
||||
GNOME_EDGE_OTHER, G_PARAM_READWRITE);
|
||||
}
|
||||
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_dpe_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -722,7 +716,7 @@ glade_gnome_dpe_set_property (GladeWidgetAdaptor *adaptor,
|
||||
}
|
||||
|
||||
/* GnomeIconEntry */
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_icon_entry_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -775,7 +769,7 @@ glade_gnome_canvas_set_coordinate_common (GObject *object,
|
||||
gnome_canvas_set_scroll_region (GNOME_CANVAS (object), x1, y1, x2, y2);
|
||||
}
|
||||
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_canvas_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -832,7 +826,7 @@ glade_gnome_dialog_add_button (GladeWidget *gaction_area,
|
||||
action_area, button);
|
||||
}
|
||||
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_dialog_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GladeCreateReason reason)
|
||||
@ -914,7 +908,7 @@ glade_gnome_dialog_post_create (GladeWidgetAdaptor *adaptor,
|
||||
}
|
||||
}
|
||||
|
||||
GObject * GLADEGNOME_API
|
||||
GObject *
|
||||
glade_gnome_dialog_get_internal_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *name)
|
||||
@ -929,7 +923,7 @@ glade_gnome_dialog_get_internal_child (GladeWidgetAdaptor *adaptor,
|
||||
return child;
|
||||
}
|
||||
|
||||
GList * GLADEGNOME_API
|
||||
GList *
|
||||
glade_gnome_dialog_get_children (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object)
|
||||
{
|
||||
@ -949,7 +943,7 @@ glade_gnome_dialog_get_children (GladeWidgetAdaptor *adaptor,
|
||||
}
|
||||
|
||||
/* GnomeAbout */
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_about_dialog_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GladeCreateReason reason)
|
||||
@ -957,7 +951,7 @@ glade_gnome_about_dialog_post_create (GladeWidgetAdaptor *adaptor,
|
||||
gtk_dialog_set_response_sensitive (GTK_DIALOG (object), GTK_RESPONSE_CLOSE, FALSE);
|
||||
}
|
||||
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_about_dialog_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -1002,7 +996,7 @@ glade_gnome_message_box_type_get_type (void)
|
||||
return etype;
|
||||
}
|
||||
|
||||
GParamSpec * GLADEGNOME_API
|
||||
GParamSpec *
|
||||
glade_gnome_message_box_type_spec (void)
|
||||
{
|
||||
return g_param_spec_enum ("message_box_type", _("Message box type"),
|
||||
@ -1079,7 +1073,7 @@ glade_gnome_message_box_set_message (GObject *object, const GValue *value)
|
||||
NULL);
|
||||
}
|
||||
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_message_box_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -1097,7 +1091,7 @@ glade_gnome_message_box_set_property (GladeWidgetAdaptor *adaptor,
|
||||
|
||||
/* GnomeEntry & GnomeFileEntry */
|
||||
/* GnomeFileEntry is not derived from GnomeEntry... but hey!!! they should :) */
|
||||
GObject * GLADEGNOME_API
|
||||
GObject *
|
||||
glade_gnome_entry_get_internal_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *name)
|
||||
@ -1115,7 +1109,7 @@ glade_gnome_entry_get_internal_child (GladeWidgetAdaptor *adaptor,
|
||||
return child;
|
||||
}
|
||||
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_entry_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GladeCreateReason reason)
|
||||
@ -1132,7 +1126,7 @@ glade_gnome_entry_post_create (GladeWidgetAdaptor *adaptor,
|
||||
FALSE, reason);
|
||||
}
|
||||
|
||||
GList * GLADEGNOME_API
|
||||
GList *
|
||||
glade_gnome_entry_get_children (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object)
|
||||
{
|
||||
@ -1149,7 +1143,7 @@ glade_gnome_entry_get_children (GladeWidgetAdaptor *adaptor,
|
||||
return list;
|
||||
}
|
||||
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_entry_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -1163,7 +1157,7 @@ glade_gnome_entry_set_property (GladeWidgetAdaptor *adaptor,
|
||||
id, value);
|
||||
}
|
||||
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_file_entry_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -1183,7 +1177,7 @@ glade_gnome_file_entry_set_property (GladeWidgetAdaptor *adaptor,
|
||||
}
|
||||
|
||||
/* GnomePixmapEntry */
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_pixmap_entry_set_do_preview (GObject *object, GValue *value)
|
||||
{
|
||||
gnome_pixmap_entry_set_preview (GNOME_PIXMAP_ENTRY (object),
|
||||
@ -1230,7 +1224,7 @@ glade_gnome_font_picker_set_mode (GObject *object, const GValue *value)
|
||||
}
|
||||
}
|
||||
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_font_picker_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -1244,7 +1238,7 @@ glade_gnome_font_picker_set_property (GladeWidgetAdaptor *adaptor,
|
||||
id, value);
|
||||
}
|
||||
|
||||
GList * GLADEGNOME_API
|
||||
GList *
|
||||
glade_gnome_font_picker_get_children (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object)
|
||||
{
|
||||
@ -1256,7 +1250,7 @@ glade_gnome_font_picker_get_children (GladeWidgetAdaptor *adaptor,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_font_picker_add_child (GladeWidgetAdaptor *adaptor,
|
||||
GtkWidget *container,
|
||||
GtkWidget *child)
|
||||
@ -1264,7 +1258,7 @@ glade_gnome_font_picker_add_child (GladeWidgetAdaptor *adaptor,
|
||||
gnome_font_picker_uw_set_widget (GNOME_FONT_PICKER (container), child);
|
||||
}
|
||||
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_font_picker_remove_child (GladeWidgetAdaptor *adaptor,
|
||||
GtkWidget *container,
|
||||
GtkWidget *child)
|
||||
@ -1272,7 +1266,7 @@ glade_gnome_font_picker_remove_child (GladeWidgetAdaptor *adaptor,
|
||||
gnome_font_picker_uw_set_widget (GNOME_FONT_PICKER (container), glade_placeholder_new ());
|
||||
}
|
||||
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_font_picker_replace_child (GladeWidgetAdaptor *adaptor,
|
||||
GtkWidget *container,
|
||||
GtkWidget *current,
|
||||
@ -1282,7 +1276,7 @@ glade_gnome_font_picker_replace_child (GladeWidgetAdaptor *adaptor,
|
||||
}
|
||||
|
||||
/* GnomeIconList */
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_icon_list_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GladeCreateReason reason)
|
||||
@ -1307,7 +1301,7 @@ glade_gnome_icon_list_selection_mode_get_type (void)
|
||||
return etype;
|
||||
}
|
||||
|
||||
GParamSpec * GLADEGNOME_API
|
||||
GParamSpec *
|
||||
glade_gnome_icon_list_selection_mode_spec (void)
|
||||
{
|
||||
return g_param_spec_enum ("selection_mode", _("Selection Mode"),
|
||||
@ -1316,7 +1310,7 @@ glade_gnome_icon_list_selection_mode_spec (void)
|
||||
GTK_SELECTION_SINGLE, G_PARAM_READWRITE);
|
||||
}
|
||||
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_icon_list_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -1396,20 +1390,20 @@ glade_gnome_pixmap_set_scaled_common (GObject *object,
|
||||
}
|
||||
}
|
||||
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_pixmap_set_scaled_width (GObject *object, GValue *value)
|
||||
{
|
||||
glade_gnome_pixmap_set_scaled_common (object, value, "scaled-height");
|
||||
}
|
||||
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_pixmap_set_scaled_height (GObject *object, GValue *value)
|
||||
{
|
||||
glade_gnome_pixmap_set_scaled_common (object, value, "scaled-width");
|
||||
}
|
||||
|
||||
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_pixmap_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -1458,7 +1452,7 @@ glade_gnome_bonobo_dock_placement_get_type (void)
|
||||
return etype;
|
||||
}
|
||||
|
||||
GParamSpec * GLADEGNOME_API
|
||||
GParamSpec *
|
||||
glade_gnome_bonobo_dock_placement_spec (void)
|
||||
{
|
||||
return g_param_spec_enum ("placement", _("Placement"),
|
||||
@ -1487,7 +1481,7 @@ glade_gnome_bonobo_dock_item_behavior_get_type (void)
|
||||
return etype;
|
||||
}
|
||||
|
||||
GParamSpec * GLADEGNOME_API
|
||||
GParamSpec *
|
||||
glade_gnome_bonobo_dock_item_behavior_spec (void)
|
||||
{
|
||||
return g_param_spec_flags ("behavior", _("Behavior"),
|
||||
@ -1497,7 +1491,7 @@ glade_gnome_bonobo_dock_item_behavior_spec (void)
|
||||
}
|
||||
|
||||
/* GtkPackType */
|
||||
GParamSpec * GLADEGNOME_API
|
||||
GParamSpec *
|
||||
glade_gnome_gtk_pack_type_spec (void)
|
||||
{
|
||||
return g_param_spec_enum ("pack_type", _("Pack Type"),
|
||||
@ -1540,7 +1534,7 @@ glade_gnome_bd_get_band (BonoboDock *dock, GtkWidget *widget)
|
||||
}
|
||||
|
||||
/* BonoboDock */
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_bonobodock_add_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GObject *child)
|
||||
@ -1552,7 +1546,7 @@ glade_gnome_bonobodock_add_child (GladeWidgetAdaptor *adaptor,
|
||||
bonobo_dock_set_client_area (BONOBO_DOCK (object), GTK_WIDGET (child));
|
||||
}
|
||||
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_bonobodock_remove_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GObject *child)
|
||||
@ -1564,7 +1558,7 @@ glade_gnome_bonobodock_remove_child (GladeWidgetAdaptor *adaptor,
|
||||
gtk_container_remove (GTK_CONTAINER (band), GTK_WIDGET (child));
|
||||
}
|
||||
|
||||
GList * GLADEGNOME_API
|
||||
GList *
|
||||
glade_gnome_bonobodock_get_children (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object)
|
||||
{
|
||||
@ -1587,7 +1581,7 @@ glade_gnome_bonobodock_get_children (GladeWidgetAdaptor *adaptor,
|
||||
return g_list_reverse (list);
|
||||
}
|
||||
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_bonobodock_replace_child (GladeWidgetAdaptor *adaptor,
|
||||
GtkWidget *container,
|
||||
GtkWidget *current,
|
||||
@ -1624,7 +1618,7 @@ glade_gnome_bonobodockitem_get_props (BonoboDock *doc,
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_bonobodock_set_child_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *child,
|
||||
@ -1690,7 +1684,7 @@ glade_gnome_bonobodock_set_child_property (GladeWidgetAdaptor *adaptor,
|
||||
g_warning ("BonoboDockItem's band not found.\n");
|
||||
}
|
||||
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_bonobodock_get_child_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *child,
|
||||
@ -1729,7 +1723,7 @@ glade_gnome_bonobodock_get_child_property (GladeWidgetAdaptor *adaptor,
|
||||
g_value_set_int (value, offset);
|
||||
}
|
||||
|
||||
void GLADEGNOME_API
|
||||
void
|
||||
glade_gnome_bonobodock_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
|
@ -163,7 +163,7 @@ glade_gtk_gnome_ui_info_get_type (void)
|
||||
return etype;
|
||||
}
|
||||
|
||||
GParamSpec * GLADEGTK_API
|
||||
GParamSpec *
|
||||
glade_gtk_gnome_ui_info_spec (void)
|
||||
{
|
||||
return g_param_spec_enum ("gnomeuiinfo", _("GnomeUIInfo"),
|
||||
@ -172,7 +172,7 @@ glade_gtk_gnome_ui_info_spec (void)
|
||||
0, G_PARAM_READWRITE);
|
||||
}
|
||||
|
||||
GType GLADEGTK_API
|
||||
GType
|
||||
glade_gtk_image_type_get_type (void)
|
||||
{
|
||||
static GType etype = 0;
|
||||
@ -192,7 +192,7 @@ glade_gtk_image_type_get_type (void)
|
||||
return etype;
|
||||
}
|
||||
|
||||
GType GLADEGTK_API
|
||||
GType
|
||||
glade_gtk_button_type_get_type (void)
|
||||
{
|
||||
static GType etype = 0;
|
||||
@ -212,7 +212,7 @@ glade_gtk_button_type_get_type (void)
|
||||
return etype;
|
||||
}
|
||||
|
||||
GParamSpec * GLADEGTK_API
|
||||
GParamSpec *
|
||||
glade_gtk_image_type_spec (void)
|
||||
{
|
||||
return g_param_spec_enum ("type", _("Method"),
|
||||
@ -221,7 +221,7 @@ glade_gtk_image_type_spec (void)
|
||||
1, G_PARAM_READWRITE);
|
||||
}
|
||||
|
||||
GParamSpec * GLADEGTK_API
|
||||
GParamSpec *
|
||||
glade_gtk_button_type_spec (void)
|
||||
{
|
||||
return g_param_spec_enum ("type", _("Method"),
|
||||
@ -234,14 +234,14 @@ glade_gtk_button_type_spec (void)
|
||||
/* This function does absolutely nothing
|
||||
* (and is for use in overriding post_create functions).
|
||||
*/
|
||||
void GLADEGTK_API
|
||||
void
|
||||
empty (GObject *container, GladeCreateReason reason)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
/* ----------------------------- GtkWidget ------------------------------ */
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_widget_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -265,7 +265,7 @@ glade_gtk_widget_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GWA_GET_CLASS (G_TYPE_OBJECT)->set_property (adaptor, object, id, value);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_widget_get_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -284,7 +284,7 @@ glade_gtk_widget_get_property (GladeWidgetAdaptor *adaptor,
|
||||
}
|
||||
|
||||
/* ----------------------------- GtkContainer ------------------------------ */
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_container_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GladeCreateReason reason)
|
||||
@ -301,7 +301,7 @@ glade_gtk_container_post_create (GladeWidgetAdaptor *adaptor,
|
||||
}
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_container_replace_child (GladeWidgetAdaptor *adaptor,
|
||||
GtkWidget *container,
|
||||
GtkWidget *current,
|
||||
@ -340,7 +340,7 @@ glade_gtk_container_replace_child (GladeWidgetAdaptor *adaptor,
|
||||
g_free (value);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_container_add_child (GladeWidgetAdaptor *adaptor,
|
||||
GtkWidget *container,
|
||||
GtkWidget *child)
|
||||
@ -354,7 +354,7 @@ glade_gtk_container_add_child (GladeWidgetAdaptor *adaptor,
|
||||
gtk_container_add (GTK_CONTAINER (container), child);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_container_remove_child (GladeWidgetAdaptor *adaptor,
|
||||
GtkWidget *container,
|
||||
GtkWidget *child)
|
||||
@ -367,7 +367,7 @@ glade_gtk_container_remove_child (GladeWidgetAdaptor *adaptor,
|
||||
gtk_container_add (GTK_CONTAINER (container), glade_placeholder_new ());
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_container_set_child_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *child,
|
||||
@ -379,7 +379,7 @@ glade_gtk_container_set_child_property (GladeWidgetAdaptor *adaptor,
|
||||
property_name, value);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_container_get_child_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *child,
|
||||
@ -392,7 +392,7 @@ glade_gtk_container_get_child_property (GladeWidgetAdaptor *adaptor,
|
||||
}
|
||||
|
||||
|
||||
GList * GLADEGTK_API
|
||||
GList *
|
||||
glade_gtk_container_get_children (GladeWidgetAdaptor *adaptor,
|
||||
GtkContainer *container)
|
||||
{
|
||||
@ -601,7 +601,7 @@ glade_gtk_box_configure_end (GladeFixed *fixed,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_box_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GladeCreateReason reason)
|
||||
@ -658,7 +658,7 @@ sort_box_children (GtkWidget *widget_a, GtkWidget *widget_b)
|
||||
return position_a - position_b;
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_box_set_child_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *child,
|
||||
@ -771,7 +771,7 @@ glade_gtk_box_set_child_property (GladeWidgetAdaptor *adaptor,
|
||||
}
|
||||
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_box_get_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -866,7 +866,7 @@ glade_gtk_box_set_size (GObject *object, const GValue *value)
|
||||
}
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_box_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -899,7 +899,7 @@ glade_gtk_box_verify_size (GObject *object, const GValue *value)
|
||||
}
|
||||
|
||||
|
||||
gboolean GLADEGTK_API
|
||||
gboolean
|
||||
glade_gtk_box_verify_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -914,7 +914,7 @@ glade_gtk_box_verify_property (GladeWidgetAdaptor *adaptor,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_box_add_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GObject *child)
|
||||
@ -962,7 +962,7 @@ glade_gtk_box_add_child (GladeWidgetAdaptor *adaptor,
|
||||
glade_widget_pack_property_set (gchild, "position", num_children - 1);
|
||||
}
|
||||
|
||||
GObject * GLADEGTK_API
|
||||
GObject *
|
||||
glade_gtk_box_get_internal_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *name)
|
||||
@ -991,7 +991,7 @@ glade_gtk_box_get_internal_child (GladeWidgetAdaptor *adaptor,
|
||||
return child;
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_box_remove_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GObject *child)
|
||||
@ -1428,7 +1428,7 @@ glade_gtk_table_configure_end (GladeFixed *fixed,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_table_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GladeCreateReason reason)
|
||||
@ -1510,7 +1510,7 @@ glade_gtk_table_refresh_placeholders (GtkTable *table)
|
||||
}
|
||||
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_table_add_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GObject *child)
|
||||
@ -1523,7 +1523,7 @@ glade_gtk_table_add_child (GladeWidgetAdaptor *adaptor,
|
||||
glade_gtk_table_refresh_placeholders (GTK_TABLE (object));
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_table_remove_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GObject *child)
|
||||
@ -1536,7 +1536,7 @@ glade_gtk_table_remove_child (GladeWidgetAdaptor *adaptor,
|
||||
glade_gtk_table_refresh_placeholders (GTK_TABLE (object));
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_table_replace_child (GladeWidgetAdaptor *adaptor,
|
||||
GtkWidget *container,
|
||||
GtkWidget *current,
|
||||
@ -1647,7 +1647,7 @@ glade_gtk_table_set_n_common (GObject *object, const GValue *value, gboolean for
|
||||
}
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_table_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -1678,7 +1678,7 @@ glade_gtk_table_verify_n_common (GObject *object, const GValue *value, gboolean
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
gboolean GLADEGTK_API
|
||||
gboolean
|
||||
glade_gtk_table_verify_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -1695,7 +1695,7 @@ glade_gtk_table_verify_property (GladeWidgetAdaptor *adaptor,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_table_set_child_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *child,
|
||||
@ -1783,7 +1783,7 @@ glade_gtk_table_verify_right_bottom_attach (GObject *object,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
gboolean GLADEGTK_API
|
||||
gboolean
|
||||
glade_gtk_table_child_verify_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *child,
|
||||
@ -1820,7 +1820,7 @@ glade_gtk_table_child_verify_property (GladeWidgetAdaptor *adaptor,
|
||||
}
|
||||
|
||||
/* ----------------------------- GtkFrame ------------------------------ */
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_frame_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *frame,
|
||||
GladeCreateReason reason)
|
||||
@ -1879,7 +1879,7 @@ glade_gtk_frame_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GWA_GET_CLASS (GTK_TYPE_CONTAINER)->post_create (adaptor, frame, reason);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_frame_replace_child (GladeWidgetAdaptor *adaptor,
|
||||
GtkWidget *container,
|
||||
GtkWidget *current,
|
||||
@ -1905,7 +1905,7 @@ glade_gtk_frame_replace_child (GladeWidgetAdaptor *adaptor,
|
||||
G_OBJECT (new_widget));
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_frame_add_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GObject *child)
|
||||
@ -2199,7 +2199,7 @@ glade_gtk_notebook_switch_page (GtkNotebook *notebook,
|
||||
}
|
||||
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_notebook_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *notebook,
|
||||
GladeCreateReason reason)
|
||||
@ -2292,7 +2292,7 @@ glade_gtk_notebook_set_n_pages (GObject *object, const GValue *value)
|
||||
}
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_notebook_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -2329,7 +2329,7 @@ glade_gtk_notebook_verify_n_pages (GObject *object, const GValue *value)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
gboolean GLADEGTK_API
|
||||
gboolean
|
||||
glade_gtk_notebook_verify_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -2344,7 +2344,7 @@ glade_gtk_notebook_verify_property (GladeWidgetAdaptor *adaptor,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_notebook_add_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GObject *child)
|
||||
@ -2443,7 +2443,7 @@ glade_gtk_notebook_add_child (GladeWidgetAdaptor *adaptor,
|
||||
}
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_notebook_remove_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GObject *child)
|
||||
@ -2481,7 +2481,7 @@ glade_gtk_notebook_remove_child (GladeWidgetAdaptor *adaptor,
|
||||
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_notebook_replace_child (GladeWidgetAdaptor *adaptor,
|
||||
GtkWidget *container,
|
||||
GtkWidget *current,
|
||||
@ -2528,7 +2528,7 @@ glade_gtk_notebook_replace_child (GladeWidgetAdaptor *adaptor,
|
||||
gtk_widget_destroy (GTK_WIDGET (new_widget));
|
||||
}
|
||||
|
||||
gboolean GLADEGTK_API
|
||||
gboolean
|
||||
glade_gtk_notebook_child_verify_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *child,
|
||||
@ -2548,7 +2548,7 @@ glade_gtk_notebook_child_verify_property (GladeWidgetAdaptor *adaptor,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_notebook_set_child_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *child,
|
||||
@ -2576,7 +2576,7 @@ glade_gtk_notebook_set_child_property (GladeWidgetAdaptor *adaptor,
|
||||
property_name, value);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_notebook_get_child_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *child,
|
||||
@ -2612,7 +2612,7 @@ glade_gtk_notebook_get_child_property (GladeWidgetAdaptor *adaptor,
|
||||
|
||||
|
||||
/* ----------------------------- GtkPaned ------------------------------ */
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_paned_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *paned,
|
||||
GladeCreateReason reason)
|
||||
@ -2626,7 +2626,7 @@ glade_gtk_paned_post_create (GladeWidgetAdaptor *adaptor,
|
||||
gtk_paned_add2 (GTK_PANED (paned), glade_placeholder_new ());
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_paned_add_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GObject *child)
|
||||
@ -2678,7 +2678,7 @@ glade_gtk_paned_add_child (GladeWidgetAdaptor *adaptor,
|
||||
}
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_paned_remove_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GObject *child)
|
||||
@ -2688,7 +2688,7 @@ glade_gtk_paned_remove_child (GladeWidgetAdaptor *adaptor,
|
||||
glade_gtk_paned_post_create (adaptor, object, GLADE_CREATE_USER);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_paned_set_child_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *child,
|
||||
@ -2730,7 +2730,7 @@ glade_gtk_paned_set_child_property (GladeWidgetAdaptor *adaptor,
|
||||
property_name, value);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_paned_get_child_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *child,
|
||||
@ -2749,7 +2749,7 @@ glade_gtk_paned_get_child_property (GladeWidgetAdaptor *adaptor,
|
||||
}
|
||||
|
||||
/* ----------------------------- GtkExpander ------------------------------ */
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_expander_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *expander,
|
||||
GladeCreateReason reason)
|
||||
@ -2791,7 +2791,7 @@ glade_gtk_expander_post_create (GladeWidgetAdaptor *adaptor,
|
||||
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_expander_replace_child (GladeWidgetAdaptor *adaptor,
|
||||
GtkWidget *container,
|
||||
GtkWidget *current,
|
||||
@ -2818,7 +2818,7 @@ glade_gtk_expander_replace_child (GladeWidgetAdaptor *adaptor,
|
||||
}
|
||||
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_expander_add_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GObject *child)
|
||||
@ -2838,7 +2838,7 @@ glade_gtk_expander_add_child (GladeWidgetAdaptor *adaptor,
|
||||
GWA_GET_CLASS (GTK_TYPE_CONTAINER)->add (adaptor, object, child);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_expander_remove_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GObject *child)
|
||||
@ -2877,7 +2877,7 @@ glade_gtk_entry_changed (GtkEditable *editable, GladeWidget *gentry)
|
||||
glade_command_set_property (prop, text);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_entry_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GladeCreateReason reason)
|
||||
@ -2917,7 +2917,7 @@ glade_gtk_fixed_layout_realize (GtkWidget *widget)
|
||||
(GWeakNotify)glade_gtk_fixed_layout_finalize, backing);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_fixed_layout_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GladeCreateReason reason)
|
||||
@ -2931,7 +2931,7 @@ glade_gtk_fixed_layout_post_create (GladeWidgetAdaptor *adaptor,
|
||||
G_CALLBACK(glade_gtk_fixed_layout_realize), NULL);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_fixed_layout_add_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GObject *child)
|
||||
@ -2942,7 +2942,7 @@ glade_gtk_fixed_layout_add_child (GladeWidgetAdaptor *adaptor,
|
||||
gtk_container_add (GTK_CONTAINER (object), GTK_WIDGET (child));
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_fixed_layout_remove_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GObject *child)
|
||||
@ -2954,7 +2954,7 @@ glade_gtk_fixed_layout_remove_child (GladeWidgetAdaptor *adaptor,
|
||||
}
|
||||
|
||||
/* ----------------------------- GtkWindow ------------------------------ */
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_window_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GladeCreateReason reason)
|
||||
@ -2968,7 +2968,7 @@ glade_gtk_window_post_create (GladeWidgetAdaptor *adaptor,
|
||||
}
|
||||
|
||||
/* ----------------------------- GtkDialog(s) ------------------------------ */
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_dialog_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GladeCreateReason reason)
|
||||
@ -3107,7 +3107,7 @@ glade_gtk_dialog_post_create (GladeWidgetAdaptor *adaptor,
|
||||
}
|
||||
|
||||
|
||||
GtkWidget * GLADEGTK_API
|
||||
GtkWidget *
|
||||
glade_gtk_dialog_get_internal_child (GladeWidgetAdaptor *adaptor,
|
||||
GtkDialog *dialog,
|
||||
const gchar *name)
|
||||
@ -3165,7 +3165,7 @@ glade_gtk_dialog_get_internal_child (GladeWidgetAdaptor *adaptor,
|
||||
return child;
|
||||
}
|
||||
|
||||
GList * GLADEGTK_API
|
||||
GList *
|
||||
glade_gtk_dialog_get_children (GladeWidgetAdaptor *adaptor,
|
||||
GtkDialog *dialog)
|
||||
{
|
||||
@ -3203,7 +3203,7 @@ glade_gtk_dialog_get_children (GladeWidgetAdaptor *adaptor,
|
||||
}
|
||||
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_dialog_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -3340,7 +3340,7 @@ glade_gtk_button_post_create_parse_finished (GladeProject *project,
|
||||
g_type_class_unref (eclass);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_button_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *button,
|
||||
GladeCreateReason reason)
|
||||
@ -3505,7 +3505,7 @@ glade_gtk_button_set_stock (GObject *object, const GValue *value)
|
||||
g_type_class_unref (eclass);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_button_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -3520,7 +3520,7 @@ glade_gtk_button_set_property (GladeWidgetAdaptor *adaptor,
|
||||
id, value);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_button_replace_child (GladeWidgetAdaptor *adaptor,
|
||||
GtkWidget *container,
|
||||
GtkWidget *current,
|
||||
@ -3545,7 +3545,7 @@ glade_gtk_button_replace_child (GladeWidgetAdaptor *adaptor,
|
||||
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_button_add_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GObject *child)
|
||||
@ -3567,7 +3567,7 @@ glade_gtk_button_add_child (GladeWidgetAdaptor *adaptor,
|
||||
}
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_button_remove_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GObject *child)
|
||||
@ -3648,7 +3648,7 @@ glade_gtk_image_parse_finished (GladeProject *project, GladeWidget *gimage)
|
||||
gimage);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_image_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GladeCreateReason reason)
|
||||
@ -3795,7 +3795,7 @@ glade_gtk_image_set_glade_stock (GObject *object, const GValue *value)
|
||||
g_type_class_unref (eclass);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_image_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -3815,7 +3815,7 @@ glade_gtk_image_set_property (GladeWidgetAdaptor *adaptor,
|
||||
}
|
||||
|
||||
/* ----------------------------- GtkMenuShell ------------------------------ */
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_menu_shell_add_item (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GObject *child)
|
||||
@ -3828,7 +3828,7 @@ glade_gtk_menu_shell_add_item (GladeWidgetAdaptor *adaptor,
|
||||
}
|
||||
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_menu_shell_remove_item (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GObject *child)
|
||||
@ -3856,7 +3856,7 @@ glade_gtk_menu_shell_get_item_position (GObject *container, GObject *child)
|
||||
return position;
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_menu_shell_get_child_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *child,
|
||||
@ -3882,7 +3882,7 @@ glade_gtk_menu_shell_get_child_property (GladeWidgetAdaptor *adaptor,
|
||||
value);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_menu_shell_set_child_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *child,
|
||||
@ -4138,7 +4138,7 @@ glade_gtk_menu_shell_launch_editor (GObject *object, gchar *title)
|
||||
}
|
||||
|
||||
/* ----------------------------- GtkMenuItem(s) ------------------------------ */
|
||||
GList * GLADEGTK_API
|
||||
GList *
|
||||
glade_gtk_menu_item_get_children (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object)
|
||||
{
|
||||
@ -4157,7 +4157,7 @@ glade_gtk_menu_item_get_children (GladeWidgetAdaptor *adaptor,
|
||||
return list;
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_menu_item_add_submenu (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object, GObject *child)
|
||||
{
|
||||
@ -4173,7 +4173,7 @@ glade_gtk_menu_item_add_submenu (GladeWidgetAdaptor *adaptor,
|
||||
gtk_menu_item_set_submenu (GTK_MENU_ITEM (object), GTK_WIDGET (child));
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_menu_item_remove_submenu (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object, GObject *child)
|
||||
{
|
||||
@ -4186,7 +4186,7 @@ glade_gtk_menu_item_remove_submenu (GladeWidgetAdaptor *adaptor,
|
||||
#define glade_return_if_re_entrancy(o,p,v) \
|
||||
if ((v) == GPOINTER_TO_INT (g_object_get_data (G_OBJECT (o), p))) return; g_object_set_data (G_OBJECT (o), p, GINT_TO_POINTER ((v)))
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_menu_item_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GladeCreateReason reason)
|
||||
@ -4312,7 +4312,7 @@ glade_gtk_menu_item_set_use_underline (GObject *object, const GValue *value)
|
||||
gtk_label_set_use_underline (GTK_LABEL (label), g_value_get_boolean (value));
|
||||
}
|
||||
|
||||
GObject * GLADEGTK_API
|
||||
GObject *
|
||||
glade_gtk_image_menu_item_get_internal_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *parent,
|
||||
const gchar *name);
|
||||
@ -4448,7 +4448,7 @@ glade_gtk_menu_item_set_stock_item (GObject *object, const GValue *value)
|
||||
glade_widget_property_set (gitem, "label", label);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_menu_item_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -4465,7 +4465,7 @@ glade_gtk_menu_item_set_property (GladeWidgetAdaptor *adaptor,
|
||||
id, value);
|
||||
}
|
||||
|
||||
GObject * GLADEGTK_API
|
||||
GObject *
|
||||
glade_gtk_image_menu_item_get_internal_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *parent,
|
||||
const gchar *name)
|
||||
@ -4562,7 +4562,7 @@ glade_gtk_image_menu_item_set_stock (GObject *object, const GValue *value)
|
||||
g_type_class_unref (eclass);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_image_menu_item_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -4593,7 +4593,7 @@ glade_gtk_radio_menu_item_set_group (GObject *object, const GValue *value)
|
||||
}
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_radio_menu_item_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -4684,7 +4684,7 @@ glade_gtk_menu_bar_append_new_item (GladeWidget *parent,
|
||||
return gitem;
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_menu_bar_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GladeCreateReason reason)
|
||||
@ -4727,21 +4727,21 @@ glade_gtk_menu_bar_post_create (GladeWidgetAdaptor *adaptor,
|
||||
glade_gtk_menu_bar_append_new_item (gsubmenu, project, "gtk-about", TRUE);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_menu_bar_launch_editor (GladeWidgetAdaptor *adaptor, GObject *menubar)
|
||||
{
|
||||
glade_gtk_menu_shell_launch_editor (menubar, _("Menu Bar Editor"));
|
||||
}
|
||||
|
||||
/* ------------------------------ GtkMenu -------------------------------- */
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_menu_launch_editor (GladeWidgetAdaptor *adaptor, GObject *menu)
|
||||
{
|
||||
glade_gtk_menu_shell_launch_editor (menu, _("Menu Editor"));
|
||||
}
|
||||
|
||||
/* ----------------------------- GtkToolBar ------------------------------ */
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_toolbar_get_child_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *child,
|
||||
@ -4765,7 +4765,7 @@ glade_gtk_toolbar_get_child_property (GladeWidgetAdaptor *adaptor,
|
||||
property_name, value);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_toolbar_set_child_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *child,
|
||||
@ -4800,7 +4800,7 @@ glade_gtk_toolbar_set_child_property (GladeWidgetAdaptor *adaptor,
|
||||
property_name, value);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_toolbar_add_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object, GObject *child)
|
||||
{
|
||||
@ -4826,7 +4826,7 @@ glade_gtk_toolbar_add_child (GladeWidgetAdaptor *adaptor,
|
||||
}
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_toolbar_remove_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object, GObject *child)
|
||||
{
|
||||
@ -4891,7 +4891,7 @@ glade_gtk_toolbar_child_selected (GladeBaseEditor *editor,
|
||||
"group", "active", NULL);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_toolbar_launch_editor (GladeWidgetAdaptor *adaptor,
|
||||
GObject *toolbar)
|
||||
{
|
||||
@ -4926,7 +4926,7 @@ glade_gtk_toolbar_launch_editor (GladeWidgetAdaptor *adaptor,
|
||||
}
|
||||
|
||||
/* ----------------------------- GtkToolItem ------------------------------ */
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_tool_item_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GladeCreateReason reason)
|
||||
@ -5096,7 +5096,7 @@ glade_gtk_tool_button_set_icon_name (GObject *object, const GValue *value)
|
||||
gtk_tool_button_set_icon_name (GTK_TOOL_BUTTON (object), name);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_tool_button_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -5143,7 +5143,7 @@ glade_gtk_label_set_label (GObject *object, const GValue *value)
|
||||
gtk_label_set_use_underline (GTK_LABEL (object), use_underline);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_label_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -5186,7 +5186,7 @@ glade_gtk_text_view_stop_double_click (GtkWidget *widget,
|
||||
event->type == GDK_3BUTTON_PRESS);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_text_view_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GladeCreateReason reason)
|
||||
@ -5231,7 +5231,7 @@ glade_gtk_text_view_set_text (GObject *object, const GValue *value)
|
||||
g_signal_handlers_unblock_by_func (buffy, glade_gtk_text_view_changed, gtext);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_text_view_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -5247,7 +5247,7 @@ glade_gtk_text_view_set_property (GladeWidgetAdaptor *adaptor,
|
||||
|
||||
|
||||
/* ----------------------------- GtkComboBox ------------------------------ */
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_combo_box_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GladeCreateReason reason)
|
||||
@ -5292,7 +5292,7 @@ glade_gtk_combo_box_set_items (GObject *object, const GValue *value)
|
||||
gtk_combo_box_append_text (combo, split[i]);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_combo_box_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -5307,7 +5307,7 @@ glade_gtk_combo_box_set_property (GladeWidgetAdaptor *adaptor,
|
||||
}
|
||||
|
||||
/* ----------------------------- GtkComboBoxEntry ------------------------------ */
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_combo_box_entry_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GladeCreateReason reason)
|
||||
@ -5322,7 +5322,7 @@ glade_gtk_combo_box_entry_post_create (GladeWidgetAdaptor *adaptor,
|
||||
"entry", "comboboxentry", FALSE, reason);
|
||||
}
|
||||
|
||||
GObject * GLADEGTK_API
|
||||
GObject *
|
||||
glade_gtk_combo_box_entry_get_internal_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *name)
|
||||
@ -5355,7 +5355,7 @@ glade_gtk_spin_button_set_adjustment (GObject *object, const GValue *value)
|
||||
}
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_spin_button_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -5370,7 +5370,7 @@ glade_gtk_spin_button_set_property (GladeWidgetAdaptor *adaptor,
|
||||
}
|
||||
|
||||
/* ----------------------------- GtkTreeView ------------------------------ */
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_tree_view_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GladeCreateReason reason)
|
||||
@ -5398,7 +5398,7 @@ glade_gtk_tree_view_post_create (GladeWidgetAdaptor *adaptor,
|
||||
|
||||
|
||||
/* ----------------------------- GtkCombo ------------------------------ */
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_combo_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GladeCreateReason reason)
|
||||
@ -5421,7 +5421,7 @@ glade_gtk_combo_post_create (GladeWidgetAdaptor *adaptor,
|
||||
|
||||
}
|
||||
|
||||
GObject * GLADEGTK_API
|
||||
GObject *
|
||||
glade_gtk_combo_get_internal_child (GladeWidgetAdaptor *adaptor,
|
||||
GtkCombo *combo,
|
||||
const gchar *name)
|
||||
@ -5438,7 +5438,7 @@ glade_gtk_combo_get_internal_child (GladeWidgetAdaptor *adaptor,
|
||||
return child;
|
||||
}
|
||||
|
||||
GList * GLADEGTK_API
|
||||
GList *
|
||||
glade_gtk_combo_get_children (GtkCombo *combo)
|
||||
{
|
||||
GList *list = NULL;
|
||||
@ -5455,7 +5455,7 @@ glade_gtk_combo_get_children (GtkCombo *combo)
|
||||
}
|
||||
|
||||
/* ----------------------------- GtkListItem ------------------------------ */
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_list_item_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GladeCreateReason reason)
|
||||
@ -5496,7 +5496,7 @@ glade_gtk_list_item_get_label (GObject *object, GValue *value)
|
||||
g_value_set_string (value, gtk_label_get_text (GTK_LABEL (label)));
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_list_item_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -5510,7 +5510,7 @@ glade_gtk_list_item_set_property (GladeWidgetAdaptor *adaptor,
|
||||
id, value);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_list_item_get_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *id,
|
||||
@ -5525,7 +5525,7 @@ glade_gtk_list_item_get_property (GladeWidgetAdaptor *adaptor,
|
||||
}
|
||||
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_listitem_add_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GObject *child)
|
||||
@ -5536,7 +5536,7 @@ glade_gtk_listitem_add_child (GladeWidgetAdaptor *adaptor,
|
||||
gtk_container_add (GTK_CONTAINER (object), GTK_WIDGET (child));
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_listitem_remove_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GObject *child)
|
||||
@ -5655,7 +5655,7 @@ glade_gtk_assistant_parse_finished (GladeProject *project,
|
||||
}
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_assistant_post_create (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
GladeCreateReason reason)
|
||||
@ -5691,7 +5691,7 @@ glade_gtk_assistant_post_create (GladeWidgetAdaptor *adaptor,
|
||||
}
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_assistant_add_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *child)
|
||||
@ -5702,7 +5702,7 @@ glade_gtk_assistant_add_child (GladeWidgetAdaptor *adaptor,
|
||||
gtk_assistant_append_page (assistant, widget);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_assistant_remove_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *child)
|
||||
@ -5715,7 +5715,7 @@ glade_gtk_assistant_remove_child (GladeWidgetAdaptor *adaptor,
|
||||
gtk_assistant_get_n_pages (assistant));
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_assistant_replace_child (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *current,
|
||||
@ -5734,7 +5734,7 @@ glade_gtk_assistant_replace_child (GladeWidgetAdaptor *adaptor,
|
||||
if (set_current) gtk_assistant_set_current_page (assistant, pos);
|
||||
}
|
||||
|
||||
gboolean GLADEGTK_API
|
||||
gboolean
|
||||
glade_gtk_assistant_verify_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *property_name,
|
||||
@ -5753,7 +5753,7 @@ glade_gtk_assistant_verify_property (GladeWidgetAdaptor *adaptor,
|
||||
value);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_assistant_set_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *property_name,
|
||||
@ -5780,7 +5780,7 @@ glade_gtk_assistant_set_property (GladeWidgetAdaptor *adaptor,
|
||||
value);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_assistant_get_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *object,
|
||||
const gchar *property_name,
|
||||
@ -5800,7 +5800,7 @@ glade_gtk_assistant_get_property (GladeWidgetAdaptor *adaptor,
|
||||
value);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_assistant_set_child_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *child,
|
||||
@ -5842,7 +5842,7 @@ glade_gtk_assistant_set_child_property (GladeWidgetAdaptor *adaptor,
|
||||
value);
|
||||
}
|
||||
|
||||
void GLADEGTK_API
|
||||
void
|
||||
glade_gtk_assistant_get_child_property (GladeWidgetAdaptor *adaptor,
|
||||
GObject *container,
|
||||
GObject *child,
|
||||
|
@ -5,12 +5,6 @@
|
||||
#include <gladeui/glade.h>
|
||||
#include <glib-object.h>
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
#define GLADEGTK_API __declspec(dllexport)
|
||||
#else
|
||||
#define GLADEGTK_API
|
||||
#endif
|
||||
|
||||
/* Types */
|
||||
|
||||
typedef enum {
|
||||
@ -25,7 +19,7 @@ typedef enum {
|
||||
GLADEGTK_BUTTON_CONTAINER
|
||||
} GladeGtkButtonType;
|
||||
|
||||
GType GLADEGTK_API glade_gtk_image_type_get_type (void);
|
||||
GType GLADEGTK_API glade_gtk_button_type_get_type (void);
|
||||
GType glade_gtk_image_type_get_type (void);
|
||||
GType glade_gtk_button_type_get_type (void);
|
||||
|
||||
#endif /* __GLADE_GTK_H__ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user