gtkIOStream  1.7.0
GTK+ << C++ IOStream operators for GTK+. Now with ORBing, numerical computation, audio client and more ...
Pixmap Class Reference

#include <Pixmap.H>

Inheritance diagram for Pixmap:
[legend]
Collaboration diagram for Pixmap:
[legend]

Public Member Functions

 Pixmap ()
 
 Pixmap (int width, int height)
 
- Public Member Functions inherited from Surface
 Surface ()
 
 Surface (int width, int height)
 
virtual ~Surface (void)
 
GtkWidget * getWidget (void)
 
cairo_surface_t * getSurface (void)
 
void setSurface (cairo_surface_t *surface_)
 
void clear ()
 
- Public Member Functions inherited from Widget
 Widget ()
 Construcotr. More...
 
 Widget (GtkWidget *w)
 
virtual ~Widget ()
 Destructor. More...
 
GtkWidget * ref (void)
 
void unref (void)
 
GtkWidget * show (void)
 
GtkWidget * hide (void)
 
bool getVisible (void)
 
GtkWidget * getWidget (void)
 
bool getSensitive (void)
 
void setSensitive (bool sens)
 
void getSize (int &width, int &height)
 
virtual void setSize (int width, int height)
 
void getLocationSize (int &x, int &y, int &width, int &height)
 
void queueDraw ()
 
GdkWindow * getWindow ()
 
void connect (const char *event, GCallback callback, gpointer data)
 
void connectAfter (const char *event, GCallback callback, gpointer data)
 
void connectExposeEventCallback (GCallback callback, void *data)
 
void connectExposeEventCallback (GtkWidget *w, GCallback callback, void *data)
 
void connectConfigureEventCallback (GCallback callback, void *data)
 
void connectConfigureEventCallback (GtkWidget *w, GCallback callback, void *data)
 
Widgetoperator<< (DragNDrop &dnd)
 
Widgetoperator>> (DragNDrop &dnd)
 

Additional Inherited Members

- Protected Member Functions inherited from Surface
virtual gboolean configureEvent (GdkEventConfigure *event)
 
virtual bool exposeEvent ()
 
void destroySurface (void)
 
void init (int width, int height)
 
void connectDamagedCallback (GCallback callback, void *data)
 
- Protected Member Functions inherited from Widget
virtual bool checkDropValidity (GtkWidget *w, GtkWidget *sourceWidget, int info, const unsigned char *selectionStoredData)
 
virtual bool dragDataReceived (GtkWidget *w, GtkWidget *sourceWidget, int info, const unsigned char *selectionStoredData, int length)
 
virtual void dragLeave (GtkWidget *w, GtkWidget *sourceWidget)
 
virtual bool dragMotion (GtkWidget *w, GtkWidget *sourceWidget, int x, int y)
 
virtual int chooseTheTargetToUse (GtkWidget *w, GtkWidget *sourceWidget, DragNDrop &dnd)
 
virtual void dragDataGet (GtkWidget *w, GtkSelectionData *selectionData, guint info)
 
virtual void dragDataDelete (GtkWidget *w)
 
virtual void dragBegin (GtkWidget *w)
 
virtual void dragEnd (GtkWidget *w)
 
- Static Protected Member Functions inherited from Surface
static gboolean configureEventStatic (GtkWidget *widget, GdkEventConfigure *event, gpointer data)
 
static gboolean exposeEventStatic (GtkWidget *widget, GdkEventExpose *event, gpointer data)
 
- Protected Attributes inherited from Surface
cairo_surface_t * surface
 The backing surface for the drawing area. More...
 
- Protected Attributes inherited from Widget
GtkWidget * widget
 The container based widget. More...
 

Detailed Description

This class should not be used in new code, unless it uses old versions of GTK. Switch to using the Surface class.

Examples:
CairoArrowTest.C, and PixmapTest.C.

Definition at line 39 of file Pixmap.H.

Constructor & Destructor Documentation

◆ Pixmap() [1/2]

Pixmap::Pixmap ( )
inline

Default constructor of size 200 by 200. This has been replaced by Surface.

Definition at line 44 of file Pixmap.H.

Here is the call graph for this function:

◆ Pixmap() [2/2]

Pixmap::Pixmap ( int  width,
int  height 
)
inline

Construct a pixmap. This has been replaced by Surface.

Parameters
widththe width of the pixmap
heightthe height of the pixmap

Definition at line 53 of file Pixmap.H.

Here is the call graph for this function:

The documentation for this class was generated from the following file:
gtkIOStream: Pixmap Class Reference
GTK+ IOStream  Beta