#include <Fl_Workspace.h>
Inheritance diagram for Fl_MDI_Viewport:
Public Methods | |
Fl_MDI_Viewport (int x, int y, int w, int h, const char *label=0) | |
virtual | ~Fl_MDI_Viewport () |
void | redraw_all () |
void | relayout_all () |
void | taskbar (Fl_MDI_Bar *bar) |
Fl_MDI_Bar * | taskbar () |
Fl_MDI_Window * | find (const char *caption) |
void | attach (Fl_MDI_Window *win) |
void | detach (Fl_MDI_Window *w) |
void | close_all () |
Fl_MDI_Window * | aot () |
void | aot (Fl_MDI_Window *win) |
Fl_MDI_Window * | maximum () |
void | maximum (Fl_MDI_Window *win) |
void | top (Fl_MDI_Window *win) |
Fl_MDI_Window * | top () |
int | cnt_windows () |
void | cycle_windows () |
void | scrolldy (int dy) |
void | scrolldx (int dx) |
virtual void | layout () |
virtual int | handle (int ev) |
virtual void | draw () |
void | menu (Fl_Menu_Bar *menu) |
Fl_Menu_Bar * | menu () |
Static Public Attributes | |
Fl_Named_Style * | default_style |
Friends | |
class | Fl_MDI_Window |
It handles most common MDI needs like:
Basically Viewport is only used, if you dont want nothing special in mdi container, like scrollbars. For more container advanced See FLE_WorkSpace
Definition at line 55 of file Fl_Workspace.h.
|
Constructs widget with given coordinates. |
|
Deletes widget and all its children. Definition at line 68 of file Fl_Workspace.h. |
|
Definition at line 118 of file Fl_Workspace.h. |
|
Returns "Always On Top" MDI window.
Definition at line 112 of file Fl_Workspace.h. Referenced by Fl_Workspace::aot(). |
|
Referenced by Fl_Workspace::attach(). |
|
Closes all MDI windows. Referenced by Fl_Workspace::close_all(). |
|
Returns number of all visible MDI windows. |
|
Cycles windows, sets next window to active.
|
|
Referenced by Fl_Workspace::detach(). |
|
Draws all MDI windows and other childrens. Reimplemented from Fl_Window. |
|
Referenced by Fl_Workspace::find(). |
|
Reimplemented from Fl_Window. |
|
This is called, when widget changes its size or relayout called by user. This makes sure that aot window is actually always on top. And layouts minimized windows to left-bottom corner of viewport. If you override this, you should call this at the beginning of function. Reimplemented from Fl_Window. |
|
|
|
Returns "Maximum" MDI window, if there is one. Otherwise returns 0
Definition at line 126 of file Fl_Workspace.h. Referenced by Fl_Workspace::maximum(). |
|
Set or get menubar, where min/max/close buttons are located when maximized Definition at line 193 of file Fl_Workspace.h. References menu(). Referenced by Fl_Workspace::menu(), and menu(). |
|
Force to redraw all MDI windows Referenced by Fl_Workspace::redraw_all(). |
|
Force to relayout all MDI windows Referenced by Fl_Workspace::relayout_all(). |
|
Definition at line 170 of file Fl_Workspace.h. |
|
Definition at line 163 of file Fl_Workspace.h. |
|
Returns current active window.
Definition at line 144 of file Fl_Workspace.h. |
|
Referenced by Fl_Workspace::top(). |