Window class.
More...
#include <gcr/window.h>
Inherits gcugtk::Window.
Window class.
This class wraps the window used to display a view.
Definition at line 45 of file gcr/window.h.
§ Window()
- 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>";
§ ~Window()
virtual gcr::Window::~Window |
( |
| ) |
|
|
virtual |
§ ClearStatus()
void gcr::Window::ClearStatus |
( |
| ) |
|
Clears the status bar message.
§ Destroy()
virtual void gcr::Window::Destroy |
( |
| ) |
|
|
virtual |
§ GetApplication()
gcr::Window::GetApplication |
( |
void |
| ) |
|
|
inline |
§ GetView()
gcr::Window::GetView |
( |
void |
| ) |
const |
|
inline |
§ OnSave()
virtual void gcr::Window::OnSave |
( |
| ) |
|
|
protectedvirtual |
§ SetStatusText()
void gcr::Window::SetStatusText |
( |
const char * |
text | ) |
|
- Parameters
-
text | the text to display in the status bar. |
Sets the status bar message.
§ m_Application
gcr::Window::m_Application |
|
protected |
§ m_Document
The documentation for this class was generated from the following file: