Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

VDKDrawingArea Class Reference

This class provides a drawing area widget. This widget should substitute VDKCanvas which is now deprecated but will continue to be supported even if not enhanced more. However VDKCanvas is not really deprecated, simply VDKDrawingArea is a better widget, much powerfull and easy to use. More...

#include <vdkdrawarea.h>

Inheritance diagram for VDKDrawingArea:

VDKObject VDKNotCopyAble List of all members.

Public Methods

Public Attributes


Detailed Description

This class provides a drawing area widget. This widget should substitute VDKCanvas which is now deprecated but will continue to be supported even if not enhanced more. However VDKCanvas is not really deprecated, simply VDKDrawingArea is a better widget, much powerfull and easy to use.


Constructor & Destructor Documentation

VDKDrawingArea::VDKDrawingArea VDKForm   owner
 

Constructor

VDKDrawingArea::~VDKDrawingArea   [virtual]
 

Destructor


Member Function Documentation

void VDKDrawingArea::Clear  
 

Clears canvas area

void VDKDrawingArea::SetBackground VDKRgb    color,
GtkStateType    state = GTK_STATE_NORMAL
[virtual]
 

Sets object background

Parameters:
color  a VDKRgb object
state  can be one of the gtk+ widget states

Reimplemented from VDKObject.

void VDKDrawingArea::SetFont VDKFont   f [virtual]
 

Sets object font

Reimplemented from VDKObject.

void VDKDrawingArea::SetForeground VDKRgb    color,
GtkStateType    state = GTK_STATE_NORMAL
[virtual]
 

Sets object foreground

Parameters:
color  a VDKRgb object
state  can be one of the gtk+ widget states

Reimplemented from VDKObject.


Member Data Documentation

VDKBrush* VDKDrawingArea::Brush
 

The brush drawing tool (actually unused)

VDKPen* VDKDrawingArea::Pen
 

The pen drawing tool


The documentation for this class was generated from the following files:
Generated on Wed Apr 17 13:24:57 2002 for vdk 2.0.1 by doxygen1.2.15