Extensions
: K-Meleon Forum
All about K-Meleon extensions.
Goto:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote=rodocop] cod983, you need 1) read [url=http://kmeleon.sourceforge.net/wiki/PluginCommands]this reference[/url] in [b]toolbars[/b] part to learn KM macro syntax for creating toolbars. You need here these lines:[code] [color=#990000]pluginmsg(toolbars, "AddToolbar", "<ToolbarName>, <ButtonWidth>, <ButtonHeight>",""); pluginmsg(toolbars, "AddButton", "<ToolbarName>, <ButtonName>, <Command>, <MenuName>, <TooltipText>, <ButtonWidth>, <ButtonHeight>, hot.bmp[0], cold.bmp[0], dead.bmp[0]","");[/color] [/code] 2) get inside one of macros, which are producing toolbars - I've put [b]alexapps16.kmm[/b] from Twin as example (I've created it earlier the same way - by editing existing macro by [color=#006600]Alex Tarantul[/color] and [color=#006600]disrupted[/color]) - and adapt the [b]BuildToolbar[/b] part for your needs [center][sub]([b][color=#009900]hint:[/color][/b] it's closely linked with [b]BuildMenu[/b] function)[/sub][/center] 3) While editing [your] macro and creating new functions please ensure that they comply [b][url=http://kmeleon.sourceforge.net/wiki/MacroGuidelines]KM Macro Coding Guidelines[/url][/b] [u][b][color=#009900]One more hint:[/color][/b][/u] you can add button from one macro to the toolbar, created by another macro. It's possible due to unique function names, that is one of the main requirements of MacroCoding Guidelines. Use this to create one toolbar for all your 4 extensions.[/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development