Kephra...andList(3pm)
β¨ NAME β¨
ok so like, this is the manual page for Kephra::API::CommandList (a 3pm Perl module thing, iykyk) β it's the external API for user callable functions π
πΈ DESCRIPTION πΈ
bestie, listen. The CommandList is a dynamically changeable list, and it contains every single function call for every menu item, every toolbar button, and honestly most other widget items too. she's booked and busy π
She also holds the label, help text, key binding, icon and more for each command. All of these properties have to be changed globally, right here, in a clean way β no chaotic energy allowed, we keep it tidy π
These commands are used by different gui elements, which is the whole reason menu and toolbar definitions get to be super compact, readable, and easy to change. iconic behaviour, honestly π¦
Names of commands contain dashes as separator of namespaces. (yes, dashes. not dots. dashes. periodt π)
π«Ά SPECIFICATION π«Ά
π CommandlistItem π
- ID β unique identifier, hashkey, following hash is its value
- call β
CODEREF: actual action, performed when this command is called - sub β
string: name of the called routine - enable β
CODEREF: returns enable status (0for disable) - enable_event β
string:API::EventTableID when to check to en/disable - state β
CODEREF: that returns state value (for switches) - state_event β
string:API::EventTableID when to check is state changed - label β
string: descriptive name - help β
string: short help sentence - key β
string: label of key binding - keycode β numeric keycode
- icon β
Wx::Bitmap
ok that's the whole page, no crumbs left π this was written up for perl v5.36.0 and dated 2023-03-08 β slay, go build something cute with it πβ¨
π¦ where this page comes from
- ubuntu noble: kephra 0.4.3.34+dfsg-4build1 Β· GPL-2.0-or-later
- ubuntu questing: kephra 0.4.3.34+dfsg-4build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms