![]() |
Notcurses 3.0.13
a blingful library for TUIs and character graphics
|
#include <Selector.hh>
Public Member Functions | |
Selector (Plane *plane, const ncselector_options *opts=nullptr) | |
Selector (Plane &plane, const ncselector_options *opts=nullptr) | |
~Selector () | |
int | additem (const ncselector_item *item) const NOEXCEPT_MAYBE |
int | delitem (const char *item) const NOEXCEPT_MAYBE |
const char * | previtem () const noexcept |
const char * | nextitem () const noexcept |
const char * | get_selected () 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 ncselector_options | default_options |
Additional Inherited Members | |
![]() | |
Widget (NotCurses *ncinst) | |
void | ensure_valid_plane (Plane *plane) const |
void | ensure_valid_plane (Plane &plane) const |
void | take_plane_ownership (Plane *plane) const |
void | take_plane_ownership (Plane &plane) const |
![]() | |
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 13 of file Selector.hh.
|
inlineexplicit |
Definition at line 19 of file Selector.hh.
|
inlineexplicit |
Definition at line 30 of file Selector.hh.
|
inline |
Definition at line 38 of file Selector.hh.
|
inline |
Definition at line 44 of file Selector.hh.
|
noexcept |
Definition at line 69 of file Selector.hh.
|
static |
Definition at line 16 of file Selector.hh.