vdk 2.4.0
Public Member Functions | Public Attributes
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 Member Functions

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

Constructor

Destructor


Member Function Documentation

Clears canvas area

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

Sets object background

Parameters:
colora VDKRgb object
statecan 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:
colora VDKRgb object
statecan be one of the gtk+ widget states

Reimplemented from VDKObject.


Member Data Documentation

The brush drawing tool (actually unused)

The pen drawing tool


The documentation for this class was generated from the following files: