K-Meleon
KMeleonWiki > Documentation > ReferenceManual > LayersPlugin
(Based on layers.cpp 1.48)
| Preference | Type | Description |
| kmeleon.plugins.layers.catch | Boolean | |
| kmeleon.plugins.layers.catchClose | Boolean | Overrides catch |
| kmeleon.plugins.layers.catchOpen | Boolean | Overrides catch |
| kmeleon.plugins.layers.close | Boolean | Close window when closing last layer |
| kmeleon.plugins.layers.confirmClose | Boolean | |
| kmeleon.plugins.layers.maxWidth | Integer | |
| kmeleon.plugins.layers.minWidth | Integer | |
| kmeleon.plugins.layers.numbers | Boolean | Enumerate layers |
| kmeleon.plugins.layers.onCloseOption | Integer | 0 = focus last 1 = focus previous 2 = focus next |
| kmeleon.plugins.layers.onOpenOption | Integer | 0 = open last 1 = open next |
| kmeleon.plugins.layers.rebar | Boolean | |
| kmeleon.plugins.layers.rebarBottom | Boolean | Show Layers bar at bottom of window (experimental) |
| kmeleon.plugins.layers.style | Integer | Grayed: 1 Pressed: 2 3D: 4 Bold: 8 (Can be combined) |
| kmeleon.plugins.layers.title | String | |
| kmeleon.plugins.layers.width | Integer |
Example: plugin(command)
| Command | Description |
| (nothing) | Open new layer |
| (integer N) | Switch to Nth layer (0 < N < 10) |
| Close | |
| CloseAll | |
| CloseAllOther | |
| CloseWindow | |
| Config | |
| Last | Switch to last selected layer |
| Next | |
| Open | |
| OpenLink | |
| OpenLinkBg | |
| OpenWindow | |
| Prev |
| Macro | Description |
| OnCloseGroup | Called after a window containing more than one layers is closed |
Example: plugin(command) or plugin(command, label)
| Command | Description |
| (nothing) | Insert list of layers to menu |
| (integer N) | Switch to Nth layer (0 < N < 10) |
| Close | |
| CloseAll | |
| CloseAllOther | |
| CloseWindow | |
| Config | |
| Last | Switch to last selected layer |
| Next | |
| Open | |
| OpenLink | |
| OpenLinkBg | |
| OpenWindow | |
| Prev |
| Menu | Description |
| LayerButtonPopup |
| Message | Parameters | Returns | Description |
| AddLayersToWindow | URL\tURL\tURL... | - | Plugins may pass a window number as the first data |
| AllLayersInWindow | Command | - | Run command on every layer |
| GetLayersInWindow | N | URL\tURL\tURL... | N = window number (default: current) |
| NumberOfLayersInWindow | N | Integer | N = window number (default: current) |
| NumberOfWindows | - | Integer | |
| OpenURL | URL | - | |
| OpenURLBg | URL | - | |
| ReplaceLayersInWindow | URL\tURL\tURL... | - | Plugins may pass a window number as the first data |