A class to describe and instantiate Panel types.
Definition at line 241 of file dock-area.hpp.
|
panel::Panel * | create (DockArea &panelManager, Gdl::DockItem &dockItem) const |
| Creates an instance of this panel. More...
|
|
const std::type_info & | getClassInfo () const |
|
const char * | getClassName () const |
|
const gchar * | getStockID () const |
|
const char * | getTitle () const |
| the localised title that will be shown on the panel
|
|
|
| PanelDescription (std::type_info const &classInfo, const char *title, const gchar *stockID, CreatePanelProc createPanelProc) |
|
|
const std::type_info & | classInfo_ |
| reference to the typeID of this class
|
|
CreatePanelProc | createPanelProc_ |
| pointer to a function that will instantiate the panel object
|
|
const gchar *const | stockID_ |
| Stock ID for this type of panel. More...
|
|
const char *const | titleName_ |
| localised title that will be shown on the panel. More...
|
|
◆ PanelDescription()
PanelDescription |
( |
std::type_info const & |
classInfo, |
|
|
const char * |
title, |
|
|
const gchar * |
stockID, |
|
|
CreatePanelProc |
createPanelProc |
|
) |
| |
|
inlineprotected |
- Parameters
-
classInfo | The typeID of the Panel class |
title | The localised title that will be shown on the panel. |
stock_id | The Stock ID for this type of panel. |
create_panel_proc | A pointer to a function that will instantiate the panel object. |
Definition at line 267 of file dock-area.hpp.
◆ create()
Creates an instance of this panel.
- Parameters
-
panel_manager | The owner panel manager. |
dock_item | The GdlDockItem that will host this panel. |
- Returns
- Returns a pointer to the panel object.
Definition at line 312 of file dock-area.hpp.
◆ titleName_
const char* const titleName_ |
|
private |
localised title that will be shown on the panel.
Definition at line 251 of file dock-area.hpp.
◆ stockID_
const gchar* const stockID_ |
|
private |
The documentation for this class was generated from the following file: