sincerely
Singaporean
If you have not done so, read this full tutorial on how to use SGEXTN to build an application.
class SGWType;
part of SGEXTN module SG_Widgets
provides infromation about the type of a SGWidget ⁽㈳㈴㈳㈮㈱㈨㈠㈫ ㈧㈤㈱㈤⁾ UI element
list of all including inherited members
preprocessor file inclusion directive: #include ‹SGWType.h›
CMake target for BuildLah: SGEXTN::SG_Widgets
see this link for more information about BuildLah
parent class: (none)
children classes: (none)
enum Type{ Root, Parent, StatusBar, BlankWidget, PageBackground, TextLabel, IconLabel, LongLabel, SequentialLongLabel, TextButton, IconButton, TextInput, LongInput, ScrollView, SequentialScrollView, ColourPicker, SingleTouchReceiver, MultiTouchReceiver, CustomRenderer, Undefined };
static bool isBackground(SGWType::Type x);
static bool isButton(SGWType::Type x);
static bool isDisplayText(SGWType::Type x);
static bool isInputField(SGWType::Type x);
SGWType provides an enum describing the type of a SGWidget ⁽㈳㈴㈳㈮㈱㈨㈠㈫ ㈧㈤㈱㈤⁾ UI element. This can be used to static_cast SGWWidget pointers to a subclass safely.
provides an enum
Used to indicate the type of a SGWidget ⁽㈳㈴㈳㈮㈱㈨㈠㈫ ㈧㈤㈱㈤⁾ UI element.
Returns if a UI element with SGWType x is a subclass of SGWBackground.
Returns if a UI element with SGWType x is a subclass of SGWButton.
Returns if a UI element with SGWType x is a subclass of SGWLabel.
Returns if a UI element with SGWType x is a subclass of SGWInput.
©2025 05524F.sg (Singapore)