五月天青色头像情侣网名,国产亚洲av片在线观看18女人,黑人巨茎大战俄罗斯美女,扒下她的小内裤打屁股

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊

3.17. 自定義GUI工具條(OLEX2使用手冊)

2021-02-27 21:11 作者:DJ_Tokyo  | 我要投稿

原文如下:


Customise GUI toolbar


You can add your own buttons to the main GUI toolbar there the buttons like EditIns, EditAtom and Text are located. For this purpose first of all locate your configuration directory by typing:


>>shell app.ConfigDir()


This directory may be located in different places depending on your operating system and configuration. By default it is the same as the DataDir() . Then you will need to create a folder 'gui' inside and a file 'toolbar.htm' in the 'gui' folder. Then you can place the following HTML code into that file:


<table border='1'>?

<tr>?

<td><a href='fuse'>Fuse</a></td>?

<td><a href='fmol'>fmol</a></td>?

<td><a href="rota 1 0 0 90 3">X</a></td>?

</tr>


<tr>?

<td><a href='cell'>Cell</a></td>?

<td><a href='basis'>Basis</a></td>?

<td><a href="rota 0 1 0 90 3">Y</a></td>?

</tr>?

</table>


Then you can update the GUI panel by expanding or collapsing any of the items or by typing the following into the Olex2 command line:


>>html.Update


Customising Olex2 Shortcuts and main menu bar


Olex2 keyboard shortcuts and main menu can be easily customised and extended. For this you need to open the application configuration directory as above and create custrom_settings.xld file. This file has two sections – shortcuts and menus:


<shortcuts?

?<shortcut key="Ctrl+Shift+C" macro="exec -o cmd">?

>?

<menus?

? ? <item title="Help;My item" macro="echo getCompilationInfo(full) -c">?

? ? <item title="My menu;Exit" macro="exit" before="Help">?

>


Note that to control your menu position in the menubar, you use the ‘before’ keyword.


譯文如下:


3.17. 自定義GUI工具條


你可以將自己的按鈕添加到包含EditIns、EditAtom和Text等按鈕的主GUI工具欄中。為此,首先通過鍵入以下指令找到配置目錄:


>>shell app.ConfigDir()


此目錄可能位于不同的位置,具體取決于你的操作系統(tǒng)和配置。默認(rèn)情況下,它與DataDir()相同。然后你需要在里面創(chuàng)建一個(gè)包含'toolbar.htm'文件的'gui'文件夾。然后你可以將以下HTML代碼放入到該文件中:


<table border='1'>

<tr>

<td><a href='fuse'>Fuse</a></td>

<td><a href='fmol'>fmol</a></td>

<td><a href="rota 1 0 0 90 3">X</a></td>

</tr>

?

<tr>

<td><a href='cell'>Cell</a></td>

<td><a href='basis'>Basis</a></td>

<td><a href="rota 0 1 0 90 3">Y</a></td>

</tr>

</table>


然后,你可以通過展開或折疊任何項(xiàng)目,或者在Olex2指令行中鍵入以下指令來更新GUI面板:


>>html.Update


3.18.?自定義Olex2快捷鍵和主菜單欄

Olex2鍵盤快捷鍵和主菜單可以輕松自定義和擴(kuò)展。為此,你需要以上述方式打開應(yīng)用程序配置目錄并創(chuàng)建custom_settings.xld文件。該文件有兩部分——shortcuts和menus:


<shortcuts

<shortcutkey="Ctrl+Shift+C" macro="exec -o cmd">

>?

<menus

<itemtitle="Help;My item" macro="echo getCompilationInfo(full)-c">

<itemtitle="My menu;Exit" macro="exit" before="Help">

>?


請(qǐng)注意,要控制菜單欄中的菜單位置,請(qǐng)使用'before'關(guān)鍵詞。


輔助視頻如下:

3.17-自定義GUI工具條

https://www.bilibili.com/video/BV1hi4y1T7WM


公眾號(hào)文章鏈接:

https://mp.weixin.qq.com/s?__biz=MzU0NjkzMTM1MQ==&mid=2247485364&idx=4&sn=50be39e23ef56d3cac3594c31ac60ba5&chksm=fb57504ccc20d95a421da23eea99d6319bb0ca35124415909b4a3acf56d4841a4b93f5df01cb&token=1126004319&lang=zh_CN#rd



3.17. 自定義GUI工具條(OLEX2使用手冊)的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國家法律
乐昌市| 闽清县| 贵溪市| 大石桥市| 长治县| 高平市| 蓬莱市| 柳州市| 汕尾市| 米易县| 象州县| 鄂托克前旗| 本溪市| 霍州市| 江口县| 定州市| 巴中市| 丁青县| 峨山| 阜南县| 封开县| 丰顺县| 临沧市| 黎川县| 涞源县| 双辽市| 兴隆县| 开封县| 玉田县| 布拖县| 依安县| 通城县| 白银市| 沈丘县| 三原县| 故城县| 永胜县| 成都市| 施秉县| 镇坪县| 迁安市|