[tvision Index] [tvision Hierarchy] [Headers]
The desktop of the application More...
#include <app.h>
The desktop of the application.
TDesktop is a simple child of TGroup. By default it has a TBackground object inside which paints its background. All the application windows are inserted and showed in this object.
See Also: TApplication, TGroup
[public]
Constructor.
`bounds' is the bounding rectangle of the desktop.
[public]
Moves all the windows in a cascade-like fashion.
[public virtual]
Standard TGroup event handler.
Calls TGroup::handleEvent() and after checks for commands cmNext and cmPrev.
[public static]
Creates a new background.
Returns a pointer to a newly-allocated TBackground object. Just redefine it if you want a custom background.
[public]
Moves all the windows in a tile-like fashion.
[public virtual]
Called on tiling error.
This method is called whenever cascade() or tile() run into troubles in moving the windows. You can redefine it if you want to give an error message to the user.
[public virtual]
Releases TDeskTop resources.
This method releases all the resources allocated by the TDeskTop. It sets pointer `background' to 0 and then calls TGroup::shutDown().
[public]
The default pattern which will be used for painting the background.
[public static]
Creates a new TDeskTop.
Used to recover the view from a stream.
[protected]
This variable stores a pointer to the background object.
[protected]
True if method tile() should favour columns first.
[protected]
Constructor.
Used to recover the view from a stream.
Documentation generated by sergio@athena.milk.it on Wed Feb 10 22:11:47 CET 1999 | Kdoc |