Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howtos:using_with_tcl_tk [2018/04/21 06:57] – typos etc. aplsimple | howtos:using_with_tcl_tk [2019/09/15 14:30] (current) – links updated aplsimple | ||
---|---|---|---|
Line 45: | Line 45: | ||
* a child menu can be called with or without waiting it, with or without closing its parent menu | * a child menu can be called with or without waiting it, with or without closing its parent menu | ||
+ | |||
+ | * a child menu can be called with closing its parent and calling back the parent after closing the child | ||
* menus can be called (or made afterwards) as ' | * menus can be called (or made afterwards) as ' | ||
Line 132: | Line 134: | ||
2. Unpack the below attached zip to save: | 2. Unpack the below attached zip to save: | ||
- | | + | |
menus directory | menus directory | ||
src directory | src directory | ||
Line 140: | Line 142: | ||
3. Go to Geany' | 3. Go to Geany' | ||
- | wish / | + | wish / |
Uff. Now you should be able to call the context help. While editing your [[http:// | Uff. Now you should be able to call the context help. While editing your [[http:// | ||
Line 168: | Line 170: | ||
**// | **// | ||
- | wish emenu [s=%s] [m=menufile] [options] | + | wish e_menu |
//** | //** | ||
Line 234: | Line 236: | ||
|// ah=list //|sets a list of hotkeys of autorun menu items of [HIDDEN] section to be run at start of [[using_with_tcl_tk|e_menu]]|ah=1, | |// ah=list //|sets a list of hotkeys of autorun menu items of [HIDDEN] section to be run at start of [[using_with_tcl_tk|e_menu]]|ah=1, | ||
|// " | |// " | ||
- | |// P=syms // |sets a symbol(s) used instead of " | + | |// P=syms // |sets a symbol(s) used instead of " |
|// pa=number //|sets a pause (in milliseconds) to suspend [[using_with_tcl_tk|e_menu]] before starting it; sometimes it may be desirable|pa=500| | |// pa=number //|sets a pause (in milliseconds) to suspend [[using_with_tcl_tk|e_menu]] before starting it; sometimes it may be desirable|pa=500| | ||
|// " | |// " | ||
Line 300: | Line 302: | ||
** 1. ** | ** 1. ** | ||
- | wish / | + | wish / |
" | " | ||
" | " | ||
Line 334: | Line 336: | ||
cd $DIR | cd $DIR | ||
| | ||
- | wish ./emenu " | + | wish ./e_menu |
m=menus/ | m=menus/ | ||
| | ||
- | wish ./emenu " | + | wish ./e_menu |
m=menus/ | m=menus/ | ||
| | ||
- | wish ./emenu " | + | wish ./e_menu |
m=menus/ | m=menus/ | ||
| | ||
Line 674: | Line 676: | ||
* include the h= parameter into Geany context action: | * include the h= parameter into Geany context action: | ||
- | wish C: | + | wish C: |
* download the [[http:// | * download the [[http:// | ||
Line 713: | Line 715: | ||
After that include the menu file into the call string of Geany' | After that include the menu file into the call string of Geany' | ||
- | wish C: | + | wish C: |
NOTE: if you dislike to have the HELP/ | NOTE: if you dislike to have the HELP/ | ||
Line 722: | Line 724: | ||
For example, you can write Geany' | For example, you can write Geany' | ||
- | wish C: | + | wish C: |
... and // | ... and // | ||
Line 848: | Line 850: | ||
Let me remind you how [[using_with_tcl_tk|e_menu]] is called: | Let me remind you how [[using_with_tcl_tk|e_menu]] is called: | ||
- | wish / | + | wish / |
The following call options of [[using_with_tcl_tk|e_menu]] can influence on menus' look and feel: | The following call options of [[using_with_tcl_tk|e_menu]] can influence on menus' look and feel: | ||
Line 963: | Line 965: | ||
cd %DIR% | cd %DIR% | ||
- | start wish %EMDIR%/emenu " | + | start wish %EMDIR%/e_menu |
- | start wish %EMDIR%/emenu " | + | start wish %EMDIR%/e_menu |
start cmd.exe /c " | start cmd.exe /c " | ||
Line 993: | Line 995: | ||
... and assuming that "Open all" entry is number 8 in menu.mnu, change its call so: | ... and assuming that "Open all" entry is number 8 in menu.mnu, change its call so: | ||
- | start wish %EMDIR%/emenu " | + | start wish %EMDIR%/e_menu |
That's all. Minus a special start of Geany in batch file. Plus a useful menu command that allows __to restore your project file list__ in Geany IDE. | That's all. Minus a special start of Geany in batch file. Plus a useful menu command that allows __to restore your project file list__ in Geany IDE. | ||
Line 1096: | Line 1098: | ||
cd / | cd / | ||
- | wish / | + | wish / |
geany ... (run Geany IDE) | geany ... (run Geany IDE) | ||
Line 1107: | Line 1109: | ||
So, you can have a lot of menus in " | So, you can have a lot of menus in " | ||
- | wish / | + | wish / |
It would open the main menu of your current project as Geany' | It would open the main menu of your current project as Geany' | ||
Also you can set in the calling string of [[using_with_tcl_tk|e_menu]] " | Also you can set in the calling string of [[using_with_tcl_tk|e_menu]] " | ||
+ | |||
+ | The environment variable E_MENU_PN has the highest priority in setting the project name. E.g., in Linux you can call [[using_with_tcl_tk|e_menu]] this way: | ||
+ | |||
+ | export E_MENU_PN=myproject | ||
+ | wish / | ||
It would be convenient to have a batch of common menus that are not related to Geany' | It would be convenient to have a batch of common menus that are not related to Geany' | ||
Line 1173: | Line 1180: | ||
[[using_with_tcl_tk|e_menu]]' | [[using_with_tcl_tk|e_menu]]' | ||
- | {{ :howtos:e_menu:tcl_geany.zip |}} | + | [[https:// |
or here: | or here: | ||
- | [[http://aplsimple.ucoz.ru/misc/tcl_geany.zip|aplsimple.ucoz.ru]] | + | [[https://chiselapp.com/user/aplsimple/ |
- | Notice that [[using_with_tcl_tk|e_menu]] is still disposed to update. | + | Home page: |
+ | |||
+ | [[https:// | ||
+ | |||
+ | Notice that [[using_with_tcl_tk|e_menu]] is still disposed to update. I would try and support its [[https:// | ||
\\ | \\ | ||
Line 1203: | Line 1214: | ||
===== See also ===== | ===== See also ===== | ||
+ | |||
+ | Home page: [[https:// | ||
More screenshots of [[using_with_tcl_tk|e_menu]]: | More screenshots of [[using_with_tcl_tk|e_menu]]: |