K-Meleon

KMeleonWiki > Documentation > ReferenceManual > BmpmenuPlugin

The bmpmenu Kplugin displays icons in menus. Bmpmenu parses the menuicons.cfg config file present in the active skin's directories.

Configuration

Skins each contain a config file that defines the menu icons from bitmaps stored either in that folder, the skins/Default/ folder, or the skins/Shared/ folder. Menuicons.cfg defines icons for K-Meleon's menus as well as the default toolbar icons beginning in version 75. Each section begins with an image file's name. K-Meleon will go down that image from left to right cutting out an icon every 16 pixels. Then between the curly braces will be a list of commands and macros. K-Meleon assigns each command an icon in the order that it cuts the image. If you assign the same command 2 icons, K-Meleon will use the last icon defined.

Below is an example of the config syntax:

# sample config

# Most configs will begin with navigation:
menu.bmp{
ID_NAV_BACK
ID_NAV_FORWARD
ID_NAV_STOP
ID_NAV_RELOAD
ID_NAV_HOME
}

# Any command or plugin command is valid. Describe macros as plugin commands.
AnyFileNameOfYourChoice.bmp {
ID_CLOSE_ALLOTHERTAB
openManageProfiles
bookmarks(add)
macros(Mail_SendPageURL)
}


Preferences

Preference Type Description
kmeleon.plugins.bmpmenu.load Boolean


Accelerator commands

Example: plugin(command)

Command Description
bmpmenu() Display icons in menu.


Menu commands

Example: plugin(command)

Command Description
bmpmenu() Display icons in menu.


Messages

N/A

K-Meleon

(c) 2000-2010 kmeleonbrowser.org. All rights reserved.
design by splif.