diff options
author | Diego Escalante Urrelo <diegoe@src.gnome.org> | 2007-12-24 09:43:56 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <diegoe@src.gnome.org> | 2007-12-24 09:43:56 +0800 |
commit | bc9eb44bd3de68c4c624527e7629ec538d1fa3b1 (patch) | |
tree | e33598e28ea955f46b39ee4a373c9c33148759e6 | |
parent | 4569f7e7b9f250790af6fa1855d0e521450d24d0 (diff) | |
download | gsoc2013-epiphany-bc9eb44bd3de68c4c624527e7629ec538d1fa3b1.tar gsoc2013-epiphany-bc9eb44bd3de68c4c624527e7629ec538d1fa3b1.tar.gz gsoc2013-epiphany-bc9eb44bd3de68c4c624527e7629ec538d1fa3b1.tar.bz2 gsoc2013-epiphany-bc9eb44bd3de68c4c624527e7629ec538d1fa3b1.tar.lz gsoc2013-epiphany-bc9eb44bd3de68c4c624527e7629ec538d1fa3b1.tar.xz gsoc2013-epiphany-bc9eb44bd3de68c4c624527e7629ec538d1fa3b1.tar.zst gsoc2013-epiphany-bc9eb44bd3de68c4c624527e7629ec538d1fa3b1.zip |
Add extra methods to EphyEmbed object:
get_go_up_list
get_security_level
get_zoom
get_document_type
get_load_percent
get_load_status
get_navigation_flags
get_typed_address
get_address
get_status_message
get_icon
get_icon_address
get_is_blank
get_loading_title
get_encoding
svn path=/trunk/; revision=7813
-rw-r--r-- | src/epiphany.defs | 121 |
1 files changed, 94 insertions, 27 deletions
diff --git a/src/epiphany.defs b/src/epiphany.defs index 9f3a59016..80058e5a2 100644 --- a/src/epiphany.defs +++ b/src/epiphany.defs @@ -1065,6 +1065,100 @@ (return-type "char*") ) +(define-method get_go_up_list + (of-object "EphyEmbed") + (c-name "ephy_embed_get_go_up_list") + (return-type "GSList*") +) + +(define-method get_security_level + (of-object "EphyEmbed") + (c-name "ephy_embed_get_security_level") + (return-type "none") + (parameters + '("EphyEmbedSecurityLevel*" "level") + '("char**" "description") + ) +) + +(define-method get_zoom + (of-object "EphyEmbed") + (c-name "ephy_embed_get_zoom") + (return-type "float") +) + +(define-method get_document_type + (of-object "EphyEmbed") + (c-name "ephy_embed_get_document_type") + (return-type "EphyEmbedDocumentType") +) + +(define-method get_load_percent + (of-object "EphyEmbed") + (c-name "ephy_embed_get_load_percent") + (return-type "int") +) + +(define-method get_load_status + (of-object "EphyEmbed") + (c-name "ephy_embed_get_load_status") + (return-type "gboolean") +) + +(define-method get_navigation_flags + (of-object "EphyEmbed") + (c-name "ephy_embed_get_navigation_flags") + (return-type "EphyEmbedNavigationFlags") +) + +(define-method get_typed_address + (of-object "EphyEmbed") + (c-name "ephy_embed_get_typed_address") + (return-type "const-char*") +) + +(define-method get_address + (of-object "EphyEmbed") + (c-name "ephy_embed_get_address") + (return-type "const-char*") +) + +(define-method get_status_message + (of-object "EphyEmbed") + (c-name "ephy_embed_get_status_message") + (return-type "const-char*") +) + +(define-method get_icon + (of-object "EphyEmbed") + (c-name "ephy_embed_get_icon") + (return-type "GdkPixbuf*") +) + +(define-method get_icon_address + (of-object "EphyEmbed") + (c-name "ephy_embed_get_icon_address") + (return-type "const-char*") +) + +(define-method get_is_blank + (of-object "EphyEmbed") + (c-name "ephy_embed_get_is_blank") + (return-type "gboolean") +) + +(define-method get_loading_title + (of-object "EphyEmbed") + (c-name "ephy_embed_get_loading_title") + (return-type "char*") +) + +(define-method get_encoding + (of-object "EphyEmbed") + (c-name "ephy_embed_get_encoding") + (return-type "char*") +) + (define-method can_go_back (of-object "EphyEmbed") (c-name "ephy_embed_can_go_back") @@ -1083,11 +1177,6 @@ (return-type "gboolean") ) -(define-method get_go_up_list - (of-object "EphyEmbed") - (c-name "ephy_embed_get_go_up_list") - (return-type "GSList*") -) (define-method go_back (of-object "EphyEmbed") @@ -1152,16 +1241,6 @@ ) ) -(define-method get_security_level - (of-object "EphyEmbed") - (c-name "ephy_embed_get_security_level") - (return-type "none") - (parameters - '("EphyEmbedSecurityLevel*" "level") - '("char**" "description") - ) -) - (define-method show_page_certificate (of-object "EphyEmbed") (c-name "ephy_embed_show_page_certificate") @@ -1177,18 +1256,6 @@ ) ) -(define-method get_zoom - (of-object "EphyEmbed") - (c-name "ephy_embed_get_zoom") - (return-type "float") -) - -(define-method get_encoding - (of-object "EphyEmbed") - (c-name "ephy_embed_get_encoding") - (return-type "char*") -) - (define-method has_automatic_encoding (of-object "EphyEmbed") (c-name "ephy_embed_has_automatic_encoding") |