|
NXWidgets
1.19
|
#include <capplicationwindow.hxx>

Public Types | |
| enum | EWindowFlags { WINDOW_PERSISTENT = 0x01 } |
Public Member Functions | |
| CApplicationWindow (NXWidgets::CNxTkWindow *window, uint8_t flags=0) | |
| ~CApplicationWindow (void) | |
| bool | open (void) |
| void | redraw (void) |
| void | hide (void) |
| NXWidgets::INxWindow * | getWindow (void) const |
| NXWidgets::CWidgetControl * | getWidgetControl (void) const |
| void | block (IApplication *app) |
| void | setWindowLabel (NXWidgets::CNxString &appname) |
| bool | isFullScreen (void) const |
| void | registerCallbacks (IApplicationCallback *callback) |
| bool | isPersistent (void) const |
| void | clickMinimizePosition (bool click) |
| void | clickStopIcon (bool click) |
Public Member Functions inherited from NxWM::IApplicationWindow | |
| virtual | ~IApplicationWindow (void) |
Protected Member Functions | |
| void | handleActionEvent (const NXWidgets::CWidgetEventArgs &e) |
This class represents that application window. This class contains that the framed window and its toolbar. It manages callbacks from the toolbar minimize and close buttions and passes these to the application via callbacks.
Definition at line 74 of file capplicationwindow.hxx.
| enum NxWM::CApplicationWindow::EWindowFlags |
Enumeration describing the bit settings for each window flag
| Enumerator | |
|---|---|
| WINDOW_PERSISTENT | Persistent windows have no stop button |
Definition at line 82 of file capplicationwindow.hxx.
| CApplicationWindow::CApplicationWindow | ( | NXWidgets::CNxTkWindow * | window, |
| uint8_t | flags = 0 |
||
| ) |
CApplicationWindow Constructor
| window. | The window to be used by this application. |
| flags. | Optional flags to control the window configuration (See EWindowFlags). |
CApplicationWindow Constructor
| taskbar. | A pointer to the parent task bar instance. |
| flags. | Optional flags to control the window configuration (See EWindowFlags). |
Definition at line 82 of file capplicationwindow.cxx.
| CApplicationWindow::~CApplicationWindow | ( | void | ) |
CApplicationWindow Destructor
Definition at line 111 of file capplicationwindow.cxx.
|
virtual |
Block further activity on this window in preparation for window shutdown.
| app. | The application to be blocked |
Implements NxWM::IApplicationWindow.
Definition at line 457 of file capplicationwindow.cxx.
|
virtual |
Simulate a mouse click or release on the minimize icon. This method is only available for automated testing of NxWM.
| click. | True to click; false to release; |
Implements NxWM::IApplicationWindow.
Definition at line 510 of file capplicationwindow.cxx.
|
virtual |
Simulate a mouse click or release on the stop icon. This method is only available for automated testing of NxWM.
| click. | True to click; false to release; |
Implements NxWM::IApplicationWindow.
Definition at line 543 of file capplicationwindow.cxx.
|
virtual |
Recover the contained widget control
Implements NxWM::IApplicationWindow.
Definition at line 445 of file capplicationwindow.cxx.
|
virtual |
Recover the contained NXTK window instance
Implements NxWM::IApplicationWindow.
Definition at line 434 of file capplicationwindow.cxx.
|
protectedvirtual |
Handle a widget action event. For CImage, this is a mouse button pre-release event.
| e | The event data. |
Reimplemented from NXWidgets::CWidgetEventHandler.
Definition at line 579 of file capplicationwindow.cxx.
|
virtual |
The application window is hidden (either it is minimized or it is maximized, but not at the top of the hierarchy)
Implements NxWM::IApplicationWindow.
Definition at line 403 of file capplicationwindow.cxx.
|
virtual |
Report of this is a "normal" window or a full screen window. The primary purpose of this method is so that window manager will know whether or not it show draw the task bar.
Implements NxWM::IApplicationWindow.
Definition at line 488 of file capplicationwindow.cxx.
|
inline |
Check if this window is configured for a persistent application (i.e., an application that has no STOP icon
Definition at line 202 of file capplicationwindow.hxx.
|
virtual |
Initialize window. Window initialization is separate from object instantiation so that failures can be reported.
Implements NxWM::IApplicationWindow.
Definition at line 166 of file capplicationwindow.cxx.
|
virtual |
Re-draw the application window
Implements NxWM::IApplicationWindow.
Definition at line 349 of file capplicationwindow.cxx.
|
virtual |
Register to receive callbacks when toolbar icons are selected
Implements NxWM::IApplicationWindow.
Definition at line 497 of file capplicationwindow.cxx.
|
virtual |
Set the window label
| appname. | The name of the application to place on the window |
Implements NxWM::IApplicationWindow.
Definition at line 475 of file capplicationwindow.cxx.
|
protected |
Toolbar action callbacks
Definition at line 96 of file capplicationwindow.hxx.
|
protected |
Window flags
Definition at line 97 of file capplicationwindow.hxx.
|
protected |
The minimize icon bitmap
Definition at line 93 of file capplicationwindow.hxx.
|
protected |
The minimize icon
Definition at line 90 of file capplicationwindow.hxx.
|
protected |
The stop icon bitmap
Definition at line 94 of file capplicationwindow.hxx.
|
protected |
The close icon
Definition at line 91 of file capplicationwindow.hxx.
|
protected |
The toolbar
Definition at line 89 of file capplicationwindow.hxx.
|
protected |
The framed window used by the application
Definition at line 88 of file capplicationwindow.hxx.
|
protected |
The font used to rend the window label
Definition at line 95 of file capplicationwindow.hxx.
|
protected |
The window title
Definition at line 92 of file capplicationwindow.hxx.
1.8.13