vdk 2.4.0
Public Member Functions
VDKImage Class Reference

Provides an image widget This widget should substitute VDKPixmap object that from now should be considered deprecated. More...

#include <image.h>

Inheritance diagram for VDKImage:
VDKObject VDKNotCopyAble

List of all members.

Public Member Functions


Detailed Description

Provides an image widget This widget should substitute VDKPixmap object that from now should be considered deprecated.

TIP
Constructing with <pixfile> or <pixdata> set to NULL will make only the inner event box. Thus allowing to construct an empty image that can be later initialized with SetImage(). User should cast NULL to either char* or char** to avoid ambiguity

Constructor & Destructor Documentation

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

Constructor

Parameters:
owner
pixfile
tip
VDKImage::VDKImage ( VDKForm owner,
const char **  pixdata,
char *  tip = NULL,
bool  sensitive = false 
)

Constructor

Parameters:
owner
pixdata
tip
VDKImage::~VDKImage ( ) [virtual]

Destructor


Member Function Documentation

int VDKImage::Height ( ) [inline]

Return image height

VDKPixbuf * VDKImage::SetImage ( const char **  pixdata)

Change the raw pixbuf contained into VDKImage

Parameters:
pixdatapixmap data
VDKPixbuf * VDKImage::SetImage ( VDKPixbuf newpix)

Change the raw pixmap contained into VDKImage

Parameters:
newpix
VDKPixbuf * VDKImage::SetImage ( const char *  file)

Change the raw pixbuf contained into VDKImage

Parameters:
filepixbuf file
VDKPixbuf* VDKImage::SetImage ( ) [inline]

Returns the pixbuf contained into VDKImage

int VDKImage::Width ( ) [inline]

Return image width


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