-
-
Notifications
You must be signed in to change notification settings - Fork 53
GetFlags
otvv edited this page Aug 18, 2020
·
1 revision
This function returns true or false, if the widget has a specific set of flags.
This function takes a FGUI::WIDGET_FLAG
as an argument.
This function returns a bool
. (true or false)
List of widgets that are using this function:
Container
List of widgets that can use this function:
- All of them.
Let's say I want to check if a Container can be drawned.
if (Container->GetFlags(FGUI::WIDGET_FLAG::DRAWABLE))
{
// do stuff
}
NOTE: This function is not meant to be used outside of the library, unless you know what you are doing.
Next you will learn about the GetMedium function.
You can also read the library comments/functions for additional info.