46#define SYSTEM_TRAY_REQUEST_DOCK 0
47#define SYSTEM_TRAY_BEGIN_MESSAGE 1
48#define SYSTEM_TRAY_CANCEL_MESSAGE 2
58typedef void (*
vfunc)(
void * widget,
void * event,
Xputty *main,
void* user_data);
67typedef void (*
evfunc)(
void * widget,
void * event,
void* user_data);
76typedef void (*
xevfunc)(
void * widget,
void* user_data);
242#define XPUTTY_WIDGET_NAME_COUNT 38
243#define XPUTTY_WIDGET_NAME_MAXLEN 256
244static const char widget_type_names[XPUTTY_WIDGET_NAME_COUNT + 1][XPUTTY_WIDGET_NAME_MAXLEN] = {
251 "WT_IMAGE_TOGGLE_BUTTON",
252 "WT_SWITCH_IMAGE_TOGGLE_BUTTON",
260 "WT_LISTBOX_VIEWPORT",
263 "WT_LISTVIEW_VIEWPORT",
268 "WT_MENU_CHECK_ITEM",
269 "WT_MENU_RADIO_ITEM",
533 xevfunc xpaste_callback;
550 int x,
int y,
int width,
int height);
564 int x,
int y,
int width,
int height);
791void strdecode(
char *target,
const char *needle,
const char *replacement);
Adjustment_t - struct to hold a controller adjustment.
Childlist_t - struct to hold a Widget_t child list Xputty main holds a list of any Widget_t created...
Func_t - struct to hold all supported event callbacks.
xevfunc configure_notify_callback
evfunc button_release_callback
xevfunc configure_callback
xevfunc map_notify_callback
xevfunc unmap_notify_callback
evfunc key_release_callback
evfunc key_press_callback
xevfunc visibiliy_change_callback
evfunc double_click_callback
xevfunc value_changed_callback
xevfunc dnd_notify_callback
xevfunc mem_free_callback
evfunc button_press_callback
Metrics_t - struct to receive window size, position & visibility Pass this struct to os_get_window_...
Resize_t - struct used to resize child widgets.
XColor_t - the Widget_t Color struct XColor_t could be used for theming you Widget_t set.
Xputty - the main struct. It should be declared before any other call to a Xputty function....
This file contains definitions and structs used on all platforms. Platform specific definitions are l...