| Cuiterm Reference Manual |
|---|
#include <history.h>
CuiPixmap;
CuiWidget* cui_pixmap_new_empty (void);
CuiWidget* cui_pixmap_new_from_package_file
(const gchar *filename);
CuiWidget* cui_pixmap_new_thumbnail (CuiFilename *file);
void cui_pixmap_set_xy (CuiPixmap *cui_pixmap,
gint x,
gint y);
gboolean cui_pixmap_redraw (CuiPixmap *pixmap,
gint debug);"expose" gboolean user_function (CuiPixmap *cuipixmap, gint arg1, gpointer user_data);
typedef struct _CuiPixmap CuiPixmap;
A widget capaple of showing icons and other graphical elements on the CUI area.
CuiWidget* cui_pixmap_new_from_package_file (const gchar *filename);
Creates a new CuiPixmap loading pixel and size information from a file. This function searches the graphic file in the application pixmap directory.
filename : | the name of the file containing pixel information |
| Returns : | a new CuiPixmap |
CuiWidget* cui_pixmap_new_thumbnail (CuiFilename *file);
Creates a thumbnail for the given file. The thumbnail will represent the content of the given file if the file is local and can be opened for read. FIXME: This function must be completed.
file : | we create the thumbnail for this file |
| Returns : | a new pixmap as a widget |
void cui_pixmap_set_xy (CuiPixmap *cui_pixmap, gint x, gint y);
Sets the place where the pixmap will appear without tampering with the size of the widget.
cui_pixmap : | a CuiPixmap to set the coordinates for |
x : | the new x coordinate |
y : | the new y coordinate |
gboolean user_function (CuiPixmap *cuipixmap, gint arg1, gpointer user_data);
user_data : | user data set when the signal handler was connected. |
| Returns : |
| <<< CuiActionArea | CuiEntry >>> |