API reference

menu_bar.h · C++ API

Browse entries grouped by interface file. Expand an entry for declarations, usage and version boundaries.

Read the related guide →

Entries retain declarations and sources. Runtime verification is recorded per entry; internal source candidates are not a promise of SDK delivery.

include/kui/platform/menu_bar.h
MenuBarDef::addMenu
Needs verification3.61.7C++

Installed header declaration in the platform module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

menu_bar.h
MenuBarDef& addMenu(const String& text, std::vector<MenuItemDef> items)

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/platform/menu_bar.h:75

Report an issue with this entry →
MenuItemDef::MenuItemDef
Needs verification3.61.7C++

Installed header declaration in the platform module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

menu_bar.h
MenuItemDef(const String& text_, std::function<void()> onClick_, const String& shortcut_ = "") : text(text_), shortcutLabel(shortcut_), onClick(std::move(onClick_))

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/platform/menu_bar.h:48

Report an issue with this entry →
MenuItemDef::MenuItemDef
Needs verification3.61.7C++

Installed header declaration in the platform module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

menu_bar.h
MenuItemDef() = default;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/platform/menu_bar.h:43

Report an issue with this entry →
MenuItemDef::separator
Needs verification3.61.7C++

Installed header declaration in the platform module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

menu_bar.h
static MenuItemDef separator()

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/platform/menu_bar.h:53

Report an issue with this entry →
MenuItemDef::void
Needs verification3.61.7C++

Installed header declaration in the platform module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

menu_bar.h
std::function<void()> onClick;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/platform/menu_bar.h:35

Report an issue with this entry →
NativeMenuBar::~NativeMenuBar
Needs verification3.61.7C++

Installed header declaration in the platform module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

menu_bar.h
~NativeMenuBar();

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/platform/menu_bar.h:94

Report an issue with this entry →
NativeMenuBar::build
Needs verification3.61.7C++

Installed header declaration in the platform module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

menu_bar.h
void build(const MenuBarDef& def, void* windowHandle);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/platform/menu_bar.h:102

Report an issue with this entry →
NativeMenuBar::commandCount
Needs verification3.61.7C++

Installed header declaration in the platform module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

menu_bar.h
u32 commandCount() const;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/platform/menu_bar.h:119

Report an issue with this entry →
NativeMenuBar::destroy
Needs verification3.61.7C++

Installed header declaration in the platform module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

menu_bar.h
void destroy();

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/platform/menu_bar.h:106

Report an issue with this entry →
NativeMenuBar::handleCommand
Needs verification3.61.7C++

Installed header declaration in the platform module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

menu_bar.h
bool handleCommand(u32 commandId);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/platform/menu_bar.h:109

Report an issue with this entry →
NativeMenuBar::isActive
Needs verification3.61.7C++

Installed header declaration in the platform module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

menu_bar.h
bool isActive() const;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/platform/menu_bar.h:122

Report an issue with this entry →
NativeMenuBar::NativeMenuBar
Needs verification3.61.7C++

Installed header declaration in the platform module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

menu_bar.h
NativeMenuBar();

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/platform/menu_bar.h:93

Report an issue with this entry →
NativeMenuBar::NativeMenuBar
Needs verification3.61.7C++

Installed header declaration in the platform module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

menu_bar.h
NativeMenuBar(const NativeMenuBar&) = delete;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/platform/menu_bar.h:96

Report an issue with this entry →
NativeMenuBar::NativeMenuBar
Needs verification3.61.7C++

Installed header declaration in the platform module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

menu_bar.h
NativeMenuBar(NativeMenuBar&&) noexcept;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/platform/menu_bar.h:99

Report an issue with this entry →
NativeMenuBar::operator=
Needs verification3.61.7C++

Installed header declaration in the platform module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

menu_bar.h
NativeMenuBar& operator=(const NativeMenuBar&) = delete;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/platform/menu_bar.h:98

Report an issue with this entry →
NativeMenuBar::operator=
Needs verification3.61.7C++

Installed header declaration in the platform module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

menu_bar.h
NativeMenuBar& operator=(NativeMenuBar&&) noexcept;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/platform/menu_bar.h:100

Report an issue with this entry →
NativeMenuBar::rebuild
Needs verification3.61.7C++

Installed header declaration in the platform module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

menu_bar.h
void rebuild(const MenuBarDef& def, void* windowHandle);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/platform/menu_bar.h:125

Report an issue with this entry →
NativeMenuBar::setChecked
Needs verification3.61.7C++

Installed header declaration in the platform module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

menu_bar.h
void setChecked(u32 commandId, bool checked);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/platform/menu_bar.h:113

Report an issue with this entry →
NativeMenuBar::setEnabled
Needs verification3.61.7C++

Installed header declaration in the platform module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

menu_bar.h
void setEnabled(u32 commandId, bool enabled);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/platform/menu_bar.h:116

Report an issue with this entry →
NativeMenuBar::setRepaintHook
Needs verification3.61.7C++

Installed header declaration in the platform module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

menu_bar.h
void setRepaintHook(std::function<void()> hook);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/platform/menu_bar.h:128

Report an issue with this entry →
Browse this reference type →