gtk_image.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <gtk/gtk.h>
#include "../ut/ut_umem.h"
#include "../ut/ut_os.h"
#include "../gui/gui_types.h"
#include "../gui/gui_base.h"
Detailed Description
=====================================================
List_functions_start:
GUI_img__ backgroundimage
GUI_Ico_init init and load all icons (used with GUI_TreeIT__)
List_functions_end:
=====================================================
Define Documentation
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
hsiz,vsiz size of widget; 0,0=minimum size, but resizable;
>0 size in pixels
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};
Variable Documentation