![]() |
Notcurses 3.0.13
a blingful library for TUIs and character graphics
|
#include <Menu.hh>
Public Member Functions | |
Menu (const ncmenu_options *opts=nullptr, NotCurses *ncinst=nullptr) | |
~Menu () | |
bool | unroll (int sectionidx) const NOEXCEPT_MAYBE |
bool | rollup () const NOEXCEPT_MAYBE |
bool | nextsection () const NOEXCEPT_MAYBE |
bool | prevsection () const NOEXCEPT_MAYBE |
bool | nextitem () const NOEXCEPT_MAYBE |
bool | previtem () const NOEXCEPT_MAYBE |
bool | item_set_status (const char *section, const char *item, bool status) const NOEXCEPT_MAYBE |
const char * | get_selected (ncinput *ni=nullptr) const noexcept |
const char * | get_mouse_selected (const struct ncinput *click, struct ncinput *ni) const noexcept |
bool | offer_input (const struct ncinput *ni) const noexcept |
Plane * | get_plane () const noexcept |
![]() | |
notcurses * | get_notcurses () const |
NotCurses * | get_notcurses_cpp () const |
Static Public Attributes | |
static ncmenu_options | default_options |
Additional Inherited Members | |
![]() | |
Root (NotCurses *ncinst) | |
bool | is_notcurses_stopped () const noexcept |
![]() | |
template<typename TRet = bool, typename TValue = int> | |
static TRet | error_guard (TValue ret, TValue error_value) |
template<typename TRet = bool, typename TValue = int> | |
static TRet | error_guard_cond (TValue ret, bool error_value) |
![]() | |
static constexpr char | ncpp_invalid_state_message [] = "notcurses++ is in an invalid state (already stopped?)" |
Definition at line 19 of file Menu.hh.
|
inline |
Definition at line 27 of file Menu.hh.
|
inlinenoexcept |
|
noexcept |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |