#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
#include "gen.h"
#include <Xlse/AreaSetP.h>
Functions | |
static void | Select () |
static void | BeginMultiSelect () |
static void | MultiSelect () |
static void | EndMultiSelect () |
static void | _resolve_inheritance () |
static void | initialize () |
static void | destroy () |
static void | expose () |
static void | resize () |
static int | select_foreach_fn () |
static int | refresh_foreach_fn () |
static void | refresh () |
static int | select_foreach_fn (t_area *tmp, t_select_foreach_data *sfd) |
static int | refresh_foreach_fn (t_area *tmp, Widget self) |
static void | refresh (Widget self) |
static void | Select (Widget self, XEvent *event, String *params, Cardinal *num_params) |
static void | BeginMultiSelect (Widget self, XEvent *event, String *params, Cardinal *num_params) |
static void | MultiSelect (Widget self, XEvent *event, String *params, Cardinal *num_params) |
static void | EndMultiSelect (Widget self, XEvent *event, String *params, Cardinal *num_params) |
static void | _resolve_inheritance (WidgetClass class) |
static void | initialize (Widget request, Widget self, ArgList args, Cardinal *num_args) |
static void | destroy (Widget self) |
static void | expose (Widget self, XEvent *event, Region region) |
static void | resize (Widget self) |
void | AreaSetUpdate (Widget self) |
Variables | |
static XtActionsRec | actionsList [] |
static char | defaultTranslations [] |
static XtResource | resources [] |
AreaSetClassRec | areaSetClassRec |
WidgetClass | areaSetWidgetClass = (WidgetClass) &areaSetClassRec |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Initial value: { {"Select", Select}, {"BeginMultiSelect", BeginMultiSelect}, {"MultiSelect", MultiSelect}, {"EndMultiSelect", EndMultiSelect}, } |
|
|
|
|
|
Initial value: "\ <Btn1Down>: Select() \n\ <Btn3Down>: Select() \n\ <Btn2Down>: BeginMultiSelect() \n\ <Btn2Motion>: MultiSelect() \n\ <Btn2Up>: EndMultiSelect() \n\ " |
|
Initial value: { {XtNareaSet,XtCAreaSet,XtRT_area_set,sizeof(((AreaSetRec*)NULL)->areaSet.areaSet),XtOffsetOf(AreaSetRec,areaSet.areaSet),XtRImmediate,(XtPointer)NULL }, {XtNselectedArea,XtCSelectedArea,XtRT_area,sizeof(((AreaSetRec*)NULL)->areaSet.selectedArea),XtOffsetOf(AreaSetRec,areaSet.selectedArea),XtRImmediate,(XtPointer)NULL }, {XtNmultiSelectColor,XtCMultiSelectColor,XtRPixel,sizeof(((AreaSetRec*)NULL)->areaSet.multiSelectColor),XtOffsetOf(AreaSetRec,areaSet.multiSelectColor),XtRString,(XtPointer)"white"}, {XtNcallback,XtCCallback,XtRCallback,sizeof(((AreaSetRec*)NULL)->areaSet.callback),XtOffsetOf(AreaSetRec,areaSet.callback),XtRImmediate,(XtPointer)NULL }, {XtNmultiSelectCallback,XtCMultiSelectCallback,XtRCallback,sizeof(((AreaSetRec*)NULL)->areaSet.multiSelectCallback),XtOffsetOf(AreaSetRec,areaSet.multiSelectCallback),XtRImmediate,(XtPointer)NULL }, {XtNfont,XtCFont,XtRFontStruct,sizeof(((AreaSetRec*)NULL)->areaSet.font),XtOffsetOf(AreaSetRec,areaSet.font),XtRString,(XtPointer)"fixed"}, } |