TnxWidgetBase class
#include <Runtime/UI/Public/TnxWidget.h>
The non-template part of every widget class.
Derived classes
Constructors, destructors, conversion operators
- TnxWidgetBase(const TnxWidgetBase&) deleted
-
TnxWidgetBase(const TnxWidgets::
ClassType* type) protected explicit - A widget of class
type(null: its class isn't registered). - ~TnxWidgetBase() protected defaulted
Public functions
- auto operator=(const TnxWidgetBase&) -> TnxWidgetBase& deleted
-
auto GetClass() const -> const TnxWidgets::
ClassType* - Its registered class; null if its class wasn't registered (TNX_REGISTER_WIDGET).
-
auto Inputs() const -> GGUI::
GGWidgetInputs - What its asset is given now: its contexts and inputs.
-
void GiveTo(GGUI::
UseProps& use) const - Set
use'sinputs and widget members' inputs to what it gives its asset now. - auto Find(std::span<const TnxName> path) -> TnxWidgetBase*
- Its widget member down
path(GGWidgetAction::MemberPath); itself for none, null if it has no such member.