C-KIT-GUI-GTK 0.60
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <gtk/gtk.h>
#include "../ut/ut_cast.h"
#include "../ut/ut_umem.h"
#include "../gui/gui_types.h"
#include "../gui/gui_base.h"
#include "../gui_gtk2/gtk_base.h"
#include "../gui_gtk2/gtk_button.h"
#include "../gui_gtk2/gtk_multichoice.h"
Functions | |
void | GUI_optmen_sel (void *parent, void *data) |
void | GUI_optmen_pos (void *menu, int *x, int *y, int *ii, void *data) |
int | GUI_optmen_go (void *parent, void *event, MemObj mo) |
int | GUI_optmen_chg (MemObj *mo, char *optLst[], char *tipLst[]) |
MemObj | GUI_optmen__ (MemObj *o_par, char *mtxt, char *optLst[], char *tipLst[], void *funcnam, char *opts) |
int | GUI_optmen_set (MemObj *mo, int mode, void *data) |
int | GUI_popup__ (char *optLst[], char *tipLst[], int itip, void *funcnam, void *dataLst[]) |
int | GUI_popup_cb2 (void *parent, void *event, void *data) |
int | GUI_popup_cb1 (void *parent, void *data) |
MemObj | GUI_radiobutt__ (MemObj *o_par, char *ltxt, int ii, void *funcnam, void *data, char *opts) |
int | GUI_radiobutt_get (MemObj *mo) |
void | GUI_radiobutt_set (MemObj *mo) |
int | GUI_radiobutt_press (void *parent, MemObj mo) |
Variables | |
void(* | UI_uf_popup )() |
static char ** | UI_opt_lst |
static Obj_gui2 * | UI_optmen_act |
GtkWidget * | UI_act_wi |
GtkStyle * | UI_stylTab [] |
void GUI_optmen_sel | ( | void * | parent, |
void * | data | ||
) |
INTERNAL; see GUI_popup_cb1
void GUI_optmen_pos | ( | void * | menu, |
int * | x, | ||
int * | y, | ||
int * | ii, | ||
void * | data | ||
) |
INTERNAL callback OptionMenu - set the position of the popup
int GUI_optmen_go | ( | void * | parent, |
void * | event, | ||
MemObj | mo | ||
) |
int GUI_optmen_chg | ( | MemObj * | mo, |
char * | optLst[], | ||
char * | tipLst[] | ||
) |
GUI_optmen_chg populate / Change the menu of existing OptionMenu.
MemObj GUI_optmen__ | ( | MemObj * | o_par, |
char * | mtxt, | ||
char * | optLst[], | ||
char * | tipLst[], | ||
void * | funcnam, | ||
char * | opts | ||
) |
int GUI_optmen_set | ( | MemObj * | mo, |
int | mode, | ||
void * | data | ||
) |
int GUI_popup__ | ( | char * | optLst[], |
char * | tipLst[], | ||
int | itip, | ||
void * | funcnam, | ||
void * | dataLst[] | ||
) |
int GUI_popup_cb2 | ( | void * | parent, |
void * | event, | ||
void * | data | ||
) |
INTERNAL unmap popup-window callback
int GUI_popup_cb1 | ( | void * | parent, |
void * | data | ||
) |
INTERNAL callback of GUI_Popup
MemObj GUI_radiobutt__ | ( | MemObj * | o_par, |
char * | ltxt, | ||
int | ii, | ||
void * | funcnam, | ||
void * | data, | ||
char * | opts | ||
) |
int GUI_radiobutt_get | ( | MemObj * | mo | ) |
test a radiobutton if it is active. 1=active, 0=not active.
void GUI_radiobutt_set | ( | MemObj * | mo | ) |
set a radiobutton to state = active.
int GUI_radiobutt_press | ( | void * | parent, |
MemObj | mo | ||
) |
void(* UI_uf_popup)() |
|
static |
|
static |
GtkWidget* UI_act_wi |
GtkStyle* UI_stylTab[] |