summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNagappan Alagappan <nagappan@gmail.com>2013-08-16 16:57:50 -0700
committerNagappan Alagappan <nagappan@gmail.com>2013-08-16 16:57:50 -0700
commitfd1757f300f6dc958a6b4d03c727df8796d693c2 (patch)
treefb71c563dd8c708a9cf5b90902d05bb150e2d6cf
parent4d7a5627d619bca62a097c4512510ac9031b8035 (diff)
moin2mdwn: convert page remap
-rw-r--r--remap.mdwn (renamed from remap.moin)53
1 files changed, 30 insertions, 23 deletions
diff --git a/remap.moin b/remap.mdwn
index d43a756..10a8ad4 100644
--- a/remap.moin
+++ b/remap.mdwn
@@ -1,23 +1,30 @@
-== Syntax ==
-remap ('<application-name>', '<dialog name>')
-
-undoremap ('<application-name>', '<dialog name>')
-
-== Description ==
-We can handle dynamically created widgets (meaning widgets created at run time) using this remap function. Calling remap will generate appmap for the given dialog at run time and update the hash table. Then we can access the new widgets. But please make sure to call undoremap() once the required functions are performed so that the hash table will be reverted back to its original state. The reason for having undoremap() is that subsequent calls to remap() might corrupt the hash table containg the appmap entries.
-
-Please not that the <application-name> should be same as the one given as the commmand-line argument for appmap generation.
-
-== Implementation ==
-It uses the same logic that appmap module uses to generate appmap. Please refer to the following link for the source code of the remap functionality [[http://cvs.freedesktop.org/ldtp/pyldtp/remap.c?view=markup|remap.c]]
-
-== Examples ==
-
-For handling widgets created at runtime in the New Appointment creation dialog in Evolution Calendar we can use the remap function as mentioned below.
-
-remap ('evolution', 'dlgAppointment-Nosummary')
-
-.
-.
-
-undoremap ('evolution', 'dlgAppointment-Nosummary')
+
+
+## Syntax
+
+remap ('<application-name>', '<dialog name>')
+
+undoremap ('<application-name>', '<dialog name>')
+
+
+## Description
+
+We can handle dynamically created widgets (meaning widgets created at run time) using this remap function. Calling remap will generate appmap for the given dialog at run time and update the hash table. Then we can access the new widgets. But please make sure to call undoremap() once the required functions are performed so that the hash table will be reverted back to its original state. The reason for having undoremap() is that subsequent calls to remap() might corrupt the hash table containg the appmap entries.
+
+Please not that the <application-name> should be same as the one given as the commmand-line argument for appmap generation.
+
+
+## Implementation
+
+It uses the same logic that appmap module uses to generate appmap. Please refer to the following link for the source code of the remap functionality [[remap.c|http://cvs.freedesktop.org/ldtp/pyldtp/remap.c?view=markup]]
+
+
+## Examples
+
+For handling widgets created at runtime in the New Appointment creation dialog in Evolution Calendar we can use the remap function as mentioned below.
+
+remap ('evolution', 'dlgAppointment-Nosummary')
+
+. .
+
+undoremap ('evolution', 'dlgAppointment-Nosummary')