diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-08-01 05:18:06 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-08-01 05:18:06 +0800 |
commit | b7385fb71c43feba8c2c248b93cf348d19beb693 (patch) | |
tree | b78388443c8963a799d417d0b4258d7f338ef536 | |
parent | 2ea4373ddef2b3103fc26476b60c03087863fdb0 (diff) | |
download | gsoc2013-epiphany-b7385fb71c43feba8c2c248b93cf348d19beb693.tar gsoc2013-epiphany-b7385fb71c43feba8c2c248b93cf348d19beb693.tar.gz gsoc2013-epiphany-b7385fb71c43feba8c2c248b93cf348d19beb693.tar.bz2 gsoc2013-epiphany-b7385fb71c43feba8c2c248b93cf348d19beb693.tar.lz gsoc2013-epiphany-b7385fb71c43feba8c2c248b93cf348d19beb693.tar.xz gsoc2013-epiphany-b7385fb71c43feba8c2c248b93cf348d19beb693.tar.zst gsoc2013-epiphany-b7385fb71c43feba8c2c248b93cf348d19beb693.zip |
Wrap EggToolbarsModel.
2005-07-31 Christian Persch <chpe@cvs.gnome.org>
* src/epiphany.defs:
Wrap EggToolbarsModel.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/epiphany.defs | 175 |
2 files changed, 175 insertions, 6 deletions
@@ -1,5 +1,11 @@ 2005-07-31 Christian Persch <chpe@cvs.gnome.org> + * src/epiphany.defs: + + Wrap EggToolbarsModel. + +2005-07-31 Christian Persch <chpe@cvs.gnome.org> + * src/Makefile.am: * src/epiphany.defs: * src/epiphany.override: diff --git a/src/epiphany.defs b/src/epiphany.defs index fdb691de5..4f0afed07 100644 --- a/src/epiphany.defs +++ b/src/epiphany.defs @@ -197,6 +197,13 @@ (gtype-id "EPHY_TYPE_TOOLBAR") ) +(define-object EggToolbarsModel + (in-module "Egg") + (parent "GObject") + (c-name "EggToolbarsModel") + (gtype-id "EGG_TYPE_TOOLBARS_MODEL") +) + (define-object Window (in-module "Ephy") (parent "GtkWindow") @@ -616,12 +623,6 @@ ) ) -(define-method get_dom_event - (of-object "EphyEmbedEvent") - (c-name "ephy_embed_event_get_dom_event") - (return-type "gpointer") -) - ;; From ../../embed/ephy-embed-factory.h @@ -1502,6 +1503,168 @@ +;; From ../../lib/egg/egg-toolbars-model.h + +(define-function egg_toolbars_model_flags_get_type + (c-name "egg_toolbars_model_flags_get_type") + (return-type "GType") +) + +(define-function egg_toolbars_model_get_type + (c-name "egg_toolbars_model_get_type") + (return-type "GType") +) + +(define-method add_toolbar + (of-object "EggToolbarsModel") + (c-name "egg_toolbars_model_add_toolbar") + (return-type "int") + (parameters + '("int" "position") + '("const-char*" "name") + ) +) + +(define-method get_flags + (of-object "EggToolbarsModel") + (c-name "egg_toolbars_model_get_flags") + (return-type "EggTbModelFlags") + (parameters + '("int" "toolbar_position") + ) +) + +(define-method set_flags + (of-object "EggToolbarsModel") + (c-name "egg_toolbars_model_set_flags") + (return-type "none") + (parameters + '("int" "toolbar_position") + '("EggTbModelFlags" "flags") + ) +) + +(define-method add_separator + (of-object "EggToolbarsModel") + (c-name "egg_toolbars_model_add_separator") + (return-type "none") + (parameters + '("int" "toolbar_position") + '("int" "position") + ) +) + +;; (define-method get_item_type +;; (of-object "EggToolbarsModel") +;; (c-name "egg_toolbars_model_get_item_type") +;; (return-type "char*") +;; (parameters +;; '("GdkAtom" "dnd_type") +;; ) +;; ) + +(define-method get_item_id + (of-object "EggToolbarsModel") + (c-name "egg_toolbars_model_get_item_id") + (return-type "char*") + (parameters + '("const-char*" "type") + '("const-char*" "name") + ) +) + +(define-method get_item_data + (of-object "EggToolbarsModel") + (c-name "egg_toolbars_model_get_item_data") + (return-type "char*") + (parameters + '("const-char*" "type") + '("const-char*" "id") + ) +) + +(define-method add_item + (of-object "EggToolbarsModel") + (c-name "egg_toolbars_model_add_item") + (return-type "gboolean") + (parameters + '("int" "toolbar_position") + '("int" "position") + '("const-char*" "id") + '("const-char*" "type") + ) +) + +(define-method remove_toolbar + (of-object "EggToolbarsModel") + (c-name "egg_toolbars_model_remove_toolbar") + (return-type "none") + (parameters + '("int" "position") + ) +) + +(define-method remove_item + (of-object "EggToolbarsModel") + (c-name "egg_toolbars_model_remove_item") + (return-type "none") + (parameters + '("int" "toolbar_position") + '("int" "position") + ) +) + +(define-method move_item + (of-object "EggToolbarsModel") + (c-name "egg_toolbars_model_move_item") + (return-type "none") + (parameters + '("int" "toolbar_position") + '("int" "position") + '("int" "new_toolbar_position") + '("int" "new_position") + ) +) + +(define-method n_items + (of-object "EggToolbarsModel") + (c-name "egg_toolbars_model_n_items") + (return-type "int") + (parameters + '("int" "toolbar_position") + ) +) + +(define-method item_nth + (of-object "EggToolbarsModel") + (c-name "egg_toolbars_model_item_nth") + (return-type "none") + (parameters + '("int" "toolbar_position") + '("int" "position") + '("gboolean*" "is_separator") + '("const-char**" "id") + '("const-char**" "type") + ) +) + +(define-method n_toolbars + (of-object "EggToolbarsModel") + (c-name "egg_toolbars_model_n_toolbars") + (return-type "int") +) + +(define-method toolbar_nth + (of-object "EggToolbarsModel") + (c-name "egg_toolbars_model_toolbar_nth") + (return-type "const-char*") + (parameters + '("int" "position") + ) +) + + + ;; From ../../lib/ephy-dialog.h (define-function ephy_dialog_get_type |