Window class.
More...
#include <gcr/window.h>
Inherits gcugtk::Window.
Protected Member Functions |
virtual void | OnSave () |
Detailed Description
Window class.
This class wraps the window used to display a view.
Definition at line 45 of file gcr/window.h.
Constructor & Destructor Documentation
- Parameters
-
app | the application. |
doc | the document. |
extra_ui | a string describing the menu items to add. |
Contructs the new window. Default menus do not have a File/Quit item or a Windows menu. extra_ui can be used to add them. GCrystal uses:
"<ui>"
" <menubar name='MainMenu'>"
" <menu action='FileMenu'>"
" <placeholder name='file1'>"
" <menuitem action='Quit'/>"
" </placeholder>"
" </menu>"
" <placeholder name='menu1'>"
" <menu action='WindowsMenu'>"
" <menuitem action='NewView'/>"
" <menuitem action='CloseView'/>"
" </menu>"
" </placeholder>"
" </menubar>"
"</ui>";
virtual gcr::Window::~Window |
( |
| ) |
|
|
virtual |
Member Function Documentation
void gcr::Window::ClearStatus |
( |
| ) |
|
Clears the status bar message.
virtual void gcr::Window::Destroy |
( |
| ) |
|
|
virtual |
gcr::Window::GetApplication |
( |
void |
| ) |
|
|
inline |
gcr::Window::GetView |
( |
void |
| ) |
const |
|
inline |
virtual void gcr::Window::OnSave |
( |
| ) |
|
|
protectedvirtual |
void gcr::Window::SetStatusText |
( |
const char * |
text | ) |
|
- Parameters
-
text | the text to display in the status bar. |
Sets the status bar message.
Member Data Documentation
gcr::Window::m_Application |
|
protected |
The documentation for this class was generated from the following file: