Slider widget options
[Slider widget]

Collaboration diagram for Slider widget options:

Slider widget command event configuration options.

For use with the option parameter of wtk_slider_create



#define WTK_SLIDER_CMD_NONE   (0 << 0)
 Never issue command events. (Default option).
#define WTK_SLIDER_CMD_MOVE   (1 << 0)
 Issue command event whenever slider value is updated.
#define WTK_SLIDER_CMD_RELEASE   (1 << 1)
 Issue command event whenever slider is released.

Slider widget orientation configuration options.

For use with the option parameter of wtk_slider_create



#define WTK_SLIDER_HORIZONTAL   (0 << 0)
 Slider is horizontally oriented. (Default option).
#define WTK_SLIDER_VERTICAL   (1 << 2)
 Slider is vertically oriented.

Slider widget invert configuration options.

For use with the option parameter of wtk_slider_create



#define WTK_SLIDER_INVERT   (1 << 3)
 Slider value is inverted.

Detailed Description

These options can be ORed together to specify the behaviour of a slider widget when creating it with wtk_slider_create


Define Documentation

#define WTK_SLIDER_CMD_MOVE   (1 << 0)

Issue command event whenever slider value is updated.

Definition at line 238 of file wtk.h.

Referenced by wtk_slider_create(), and wtk_slider_handler().

#define WTK_SLIDER_CMD_NONE   (0 << 0)

Never issue command events. (Default option).

Definition at line 236 of file wtk.h.

#define WTK_SLIDER_CMD_RELEASE   (1 << 1)

Issue command event whenever slider is released.

Definition at line 240 of file wtk.h.

Referenced by wtk_slider_create(), and wtk_slider_handler().

#define WTK_SLIDER_HORIZONTAL   (0 << 0)

Slider is horizontally oriented. (Default option).

Definition at line 250 of file wtk.h.

#define WTK_SLIDER_INVERT   (1 << 3)

Slider value is inverted.

Definition at line 262 of file wtk.h.

Referenced by app_tank_launch(), wtk_slider_create(), wtk_slider_get_value(), and wtk_slider_set_value().

#define WTK_SLIDER_VERTICAL   (1 << 2)

Slider is vertically oriented.

Definition at line 252 of file wtk.h.

Referenced by app_tank_launch(), wtk_slider_create(), wtk_slider_handler(), and wtk_slider_set_value().

Generated on Thu Apr 29 14:09:59 2010 for display-demo by  doxygen 1.6.3