summaryrefslogtreecommitdiff
path: root/api/jsapi.7.txt
diff options
context:
space:
mode:
authorElias Norberg <xyzzy@kudzu.se>2013-01-29 22:04:32 +0100
committerElias Norberg <xyzzy@kudzu.se>2013-01-29 22:04:32 +0100
commit604bc1ec8e04043a1879322b791e92a8742e7b6b (patch)
tree227d1d7dc5c68d907b4f096babe8b4968a18f2a2 /api/jsapi.7.txt
parent5b12b5d14a9618889ff9b5b538b4c51418b3b317 (diff)
parent88c83fc2e0025e1df372f8b5b9ce649218d5f788 (diff)
downloaddwb-604bc1ec8e04043a1879322b791e92a8742e7b6b.zip
Merge branch 'master' of hg::https://bitbucket.org/portix/dwb
Diffstat (limited to 'api/jsapi.7.txt')
-rw-r--r--api/jsapi.7.txt17
1 files changed, 15 insertions, 2 deletions
diff --git a/api/jsapi.7.txt b/api/jsapi.7.txt
index ec361e4d..8a0dce57 100644
--- a/api/jsapi.7.txt
+++ b/api/jsapi.7.txt
@@ -45,6 +45,7 @@ properties on the global object, see also *Global data* for details.
=== Properties
_global (Object, read)_;; Refers to the global object
+_session (SoupSession, read)_;; The webkit session
=== Methods ===
@@ -228,7 +229,7 @@ _returns_;; true if the timer was stopped
Unbind a shortcut that was previously binded with bind
_func_ or _name_;; Either the function or the optional name passed to bind.
-_returns_;; true if the function is unbinded
+_returns_;; true if the function was unbound
****
@@ -413,7 +414,6 @@ _n_;; Number of the tab
_returns_;; The corresponding webview
****
-
=== util ===
The util object implements helper methods.
@@ -1223,6 +1223,19 @@ Emitted when the DownloadStatus changes.
_download_;; The Download
****
+==== executeCommand
+****
+----
+signals.connect("executeCommand", function(detail));
+----
+
+Emitted before a command is executed, return true to prevent the execution.
+
+_detail.command_;; The command that is executed.
+_detail.argument_;; The command that is executed.
+_detail.nummod_;; The numerical modifier, will be -1 if no numerical modifier
+was used.
+****
==== frameCreated
****