diff options
author | Nagappan Alagappan <nagappan@gmail.com> | 2013-08-16 16:58:05 -0700 |
---|---|---|
committer | Nagappan Alagappan <nagappan@gmail.com> | 2013-08-16 16:58:05 -0700 |
commit | 38de88a5c943bc875a7e823e6263fc47f1f86372 (patch) | |
tree | 2d0be873246c743971443f5df8a09d553f9c3d64 | |
parent | e548e7cd7e32b939cd14263175d4eaa35f20d2ec (diff) | |
parent | 7c9d00c590d0ce8176e54c4f5d0f81d948492b00 (diff) |
moin2iki: Importing Moin history for page setcontext
-rw-r--r-- | setcontext.moin | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/setcontext.moin b/setcontext.moin new file mode 100644 index 0000000..cb9b79c --- /dev/null +++ b/setcontext.moin @@ -0,0 +1,17 @@ +== Syntax ==
+
+setcontext ('<previous title name>', '<new title name>')
+
+== Description ==
+
+LDTP selects window (frame / dialog / alert / font chooser) based on the title name.
+
+== Implementation ==
+
+set the context to new title name. Changes are done in is_matching function in gui.c
+
+== Examples ==
+
+In some applications the window title changes based on the operation we are doing. For example, when we browse any URL in Firefox browser, the title bar changes. Once title bar changed, then we can change the context using this function.
+
+setcontext ('Mozilla Firefox', 'NOVELL: Novell and Linux - Mozilla Firefox')
|