Skip to content

GetTitle

Otavio edited this page Jul 20, 2021 · 5 revisions

CWidgets::GetTitle

What it does:

This function returns the current title of the widget.

What it returns:

This function returns a std::string instance. (title)

Widgets:

List of widgets that are using this function:

  • All of them.

Example:

Let's say I want to display the current Form title on a watermark.

FGUI::RENDER.Text(10, 10, fntWatermark, FGUI::COLOR(200, 200, 200), ExampleForm->GetTitle());

NOTE: This is just an example of what you could do with this function, feel free to use your creativity.


What's next?

Next you will learn about the GetFlags function.

Clone this wiki locally