Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/python/hulahop.defs
diff options
context:
space:
mode:
Diffstat (limited to 'python/hulahop.defs')
-rw-r--r--python/hulahop.defs44
1 files changed, 44 insertions, 0 deletions
diff --git a/python/hulahop.defs b/python/hulahop.defs
new file mode 100644
index 0000000..811b6c5
--- /dev/null
+++ b/python/hulahop.defs
@@ -0,0 +1,44 @@
+(define-object WebView
+ (in-module "Hulahop")
+ (parent "GtkBin")
+ (c-name "HulahopWebView")
+ (gtype-id "HULAHOP_TYPE_WEB_VIEW")
+)
+
+(define-method get_browser
+ (of-object "HulahopWebView")
+ (c-name "hulahop_web_view_get_browser")
+ (return-type "none")
+)
+
+(define-method get_window_root
+ (of-object "HulahopWebView")
+ (c-name "hulahop_web_view_get_window_root")
+ (return-type "none")
+)
+
+(define-function startup
+ (c-name "hulahop_startup")
+ (return-type "gboolean")
+)
+
+(define-function shutdown
+ (c-name "hulahop_shutdown")
+ (return-type "none")
+)
+
+(define-function set_profile_path
+ (c-name "hulahop_set_profile_path")
+ (parameters
+ '("gchar*" "path")
+ )
+ (return-type "none")
+)
+
+(define-function add_components_path
+ (c-name "hulahop_add_components_path")
+ (parameters
+ '("gchar*" "path")
+ )
+ (return-type "none")
+)