Query: s3dw_handle_click
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
S3DW_HANDLE_CLICK(3) s3d Manual S3DW_HANDLE_CLICK(3)NAMEs3dw_handle_click - handle click on widgetSYNOPSIS#include <s3dw.h> int s3dw_handle_click(const struct s3d_evt *event);DESCRIPTIONIf you want your widgets on mouseclicks (believe me, you want that), you have to call this either in your clickhandler-function or specify it itself as the clickhandler. // way 1: s3d_set_callback(S3D_EVENT_OBJ_CLICK,s3dw_handle_click); // way 2: ... void click(struct s3d_evt *evt) { s3dw_handle_click(evt); .... // your own clickhandler code ... } .... s3d_set_callback(S3D_EVENT_OBJ_CLICK,click);AUTHORSimon Wunderlich Author of s3d s3d S3DW_HANDLE_CLICK(3)