gCAD3D 2.40
gui_gtk2/gtk_image.h File Reference

Go to the source code of this file.

Functions

MemObj GUI_img__ (MemObj *o_par, char *filnam, char *opts)
 
int GUI_Ico_init (char *icoNam[])
 

Function Documentation

MemObj GUI_img__ ( MemObj o_par,
char *  filnam,
char *  opts 
)
* display Pixmap (.xpm or .jpg or .png)
* Input:
* o_par parentBox
* fNam full image-filename
* opts options; (HorSiz,VertSiz)
* HorSiz,VertSiz: size in characters; default is automatic size.
* 'e' = expand widget; default is fixed size.
* negative values: size in pixels.
* Examples: "" or "10" or "10e,e"
* "10e,e" horiz. size 10 chars, hor. and vert. expandable.
*
* display Pixmap (.xpm or .jpg or .png)
* Input:
* o_par parentBox
* fNam full image-filename
* opts options; (HorSiz,VertSiz)
* HorSiz,VertSiz: size in characters; default is automatic size.
* 'e' = expand widget; default is fixed size.
* negative values: size in pixels.
* Examples: "" or "10" or "10e,e"
* "10e,e" horiz. size 10 chars, hor. and vert. expandable.
*
int GUI_Ico_init ( char *  icoNam[])
* GUI_Ico_init create and load all icons
* iconfiles must be in directory <base>/icons/
* Example:
* char *icoNam[]={"t2.png","t3.png",NULL};
*
* GUI_Ico_init create and load all icons
* iconfiles must be in directory <base>/icons/
* Example:
* char *icoNam[]={"t2.png","t3.png",NULL};
*