#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"
#include "../gui_gtk2/gtk_image.h"
=====================================================
List_functions_start:
GUI_Ico_init init and load all icons (used with GUI_TreeIT__)
GUI_TUT_m__ ScreenCast-mousebuttons NOT IMPLEM.; ONLY GTK3
List_functions_end:
=====================================================
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.
int GUI_Ico_init |
( |
char * |
icoNam[] | ) |
|
iconfiles must be in directory <base>/icons/
Example:
char *icoNam[]={"t2.png","t3.png",NULL};
int GUI_TUT_m__ |
( |
int |
ii | ) |
|
GTK2: NOT IMPLEMENTED; ONLY GTK3.
display image "mousebutton" without decoration for 0.8 secs
Input: ii=mousebutton; 1|2|3
int GUI_TUT_t__ |
( |
char * |
ltxt | ) |
|
GTK2: NOT IMPLEMENTED; ONLY GTK3.
display text without decoration for 0.8 secs