class Page
Defined in:
A C4Widgets.h
Page
object represents a tool page.
Definition
class Page : public RootWidget, public ListElement<Page>
Constructor
Page(const char *panelName);
Page(const Vector2D& size, const char *title = nullptr, uint32 flags = kWindowCloseBox | kWindowBackground);
Parameters
panelName |
The name of the panel resource to load. |
size |
The size of the page, in pixels. |
title |
The page's displayed title. |
flags |
The window flags. |
Description
The flags
parameter accepts the same values as the flags
parameter for the Window
constructor, but only the values kWindowCloseBox
and kWindowBackground
are recognized by pages.
Base Classes
RootWidget |
A page serves as a root widget container. |
ListElement<Page> |
Used internally by the Interface Manager. |