Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/python/hulahop.defs
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2007-05-21 12:41:16 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2007-05-21 12:41:16 (GMT)
commite4a8e189e7cf25236ffebc72ac8d7bed6893b70d (patch)
treee2bef921f0fb1161e1cc89b6df6312a6c1ae3c5f /python/hulahop.defs
parentd8d3d5a63b7934f0740cdebb5f3b1d8fc99ed16b (diff)
Split the python bindings to their own directory
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")
+)