Skip to content

GetType

Otavio edited this page Jul 21, 2021 · 8 revisions

CWidgets::GetType

What it does:

This functions returns the current type (kind) of a widget.

What it returns:

This function returns an int value.

Usage:

This function is mostly used to compare widgets. Currently being used by the Container and the Builder Pattern.

NOTE: This function is not meant to be used outside the library.

Widgets:

List of widgets that are using this function:

  • Container

Widgets that can use this function:

  • All of them.

What's next?

Next you will learn about the GetFont function.

Clone this wiki locally