VDKPixmap Class Reference

Provides a pixmap widget. More...

#include <pixmaps.h>

Inheritance diagram for VDKPixmap:

VDKObject VDKNotCopyAble

List of all members.

Public Member Functions


Detailed Description

Provides a pixmap widget.

EVENTS
button_press_event received whenever user clicks on pixmap
TIP
Constructing with <pixfile> or <pixdata> set to NULL will make only the inner event box. Thus allowing to construct an empty pixmap that can be later initialized with SetPixmap().

Constructor & Destructor Documentation

VDKPixmap::VDKPixmap ( VDKForm owner,
char *  pixfile,
char *  tip = NULL,
bool  sensitive = false 
)

Constructor

Parameters:
owner 
pixfile 
tip 
sensitive if true pixmap will be embedded into an eventbox so will receive signals

VDKPixmap::VDKPixmap ( VDKForm owner,
char **  pixdata,
char *  tip = NULL,
bool  sensitive = false 
)

Constructor

Parameters:
owner 
pixdata 
tip 
sensitive if true pixmap will be embedded into an eventbox so will receive signals

VDKPixmap::~VDKPixmap (  )  [virtual]

Destructor


Member Function Documentation

void VDKPixmap::Clear (  ) 

Clear the pixmap

int VDKPixmap::Width (  )  [inline]

Return pixmap width

VDKRawPixmap* VDKPixmap::SetPixmap (  )  [inline]

Return pixmap height

Returns the raw pixmap contained into VDKPixmap

VDKRawPixmap * VDKPixmap::SetPixmap ( char *  file  ) 

Change the raw pixmap contained into VDKPixmap

Parameters:
file pixmap file

VDKRawPixmap * VDKPixmap::SetPixmap ( VDKRawPixmap newpix  ) 

Change the raw pixmap contained into VDKPixmap

Parameters:
newpix new pixmap

VDKRawPixmap * VDKPixmap::SetPixmap ( char **  pixdata  ) 

Change the raw pixmap contained into VDKPixmap

Parameters:
pixdata pixmap data


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

Generated on Tue May 6 03:40:11 2008 for vdk 2.4.0 by  doxygen 1.5.5