| /xsrc/external/mit/xmh/dist/ |
| bbox.c | 49 * Create a new button box. The widget for it will be a child of the given 72 buttonbox->button = (Button *) NULL; 86 /* Create a new button, and add it to a buttonbox. */ 95 Button button; local 101 buttonbox->button = XtReallocArray(buttonbox->button, 102 buttonbox->numbuttons, sizeof(Button)); 103 button = buttonbox->button[buttonbox->numbuttons - 1] = XtNew(ButtonRec) 357 Button button = BBoxFindButtonNamed(buttonbox, name); local [all...] |
| menu.c | 35 Button button, 41 if (button == NULL) return; 42 button->menu = menu; 45 XtSetValues(button->widget, args, (Cardinal) 1); 64 Button button, 71 if ((entry = XtNameToWidget(button->menu, entry_name)) != NULL) {
|
| bboxint.h | 32 Widget widget; /* Widget containing this button. */ 33 ButtonBox buttonbox; /* Button box containing this button. */ 34 char *name; /* Name of the button. */ 41 Scrn scrn; /* Scrn containing this button box. */ 43 Button *button; /* Array of pointers to buttons. */ member in struct:_XmhButtonBoxRec
|
| folder.c | 52 static void CreateFolderMenu(Button); 53 static void AddFolderMenuEntry(Button, char *); 54 static void DeleteFolderMenuEntry(Button, char *); 174 * was actually selected from a folder button or menu. If the folder 181 * source widget is a menu button or a folder menu. However, it 261 Widget widget, /* the okay button of the dialog widget */ 299 Button button; local 302 button = BBoxFindButtonNamed(scrnList[i]->folderbuttons, 305 if (button) AddFolderMenuEntry(button, name) 774 Button button; local 809 Button button; local [all...] |
| /xsrc/external/mit/libX11/dist/src/ |
| UngrabBut.c | 35 unsigned int button, /* CARD8 */ 43 req->button = button;
|
| GrButton.c | 35 unsigned int button, /* CARD8 */ 49 req->button = button;
|
| /xsrc/external/mit/ctwm/dist/ |
| win_decorations_init.h | 10 void SetCurrentTBAction(int button, int mods, int func, char *action,
|
| win_decorations_init.c | 36 * button. If we can't find the button, then put in a question; if we can't 104 fprintf(stderr, "%s: unable to add titlebar button \"%s\"\n", 187 * Sets the action for a given {mouse button,set of modifier keys} on the 188 * "current" button. This happens during initialization, in a few 191 * CreateTitleButton() winds up creating a new button, and setting the 203 SetCurrentTBAction(int button, int nmods, int func, char *action, 213 if(tbf->num == button && tbf->mods == nmods) { 226 tbf->num = button; 244 int button; local [all...] |
| /xsrc/external/mit/xf86-video-qxl/dist/src/ |
| spiceqxl_uinput.c | 33 int button = -1; local 54 button = 1 << 0; 57 button = 1 << 1; 60 button = 1 << 2; 64 buttons_state |= button; 66 buttons_state &= ~button; 71 button = 1; 73 button = 1 << 3; 75 button = 1 << 4; 77 buttons_state |= button; [all...] |
| /xsrc/external/mit/xterm/dist/vttests/ |
| mouse-codes | 34 # Imitate xterm's BtnCode() function, to enumerate the possible inputs (button, 44 # - Buttons 1, 2, and 3 are left-to-right assignments on a 3-button mouse. 61 $result = sprintf "Button%d", ( $code > 3 ) ? $code : ( $code + 1 ); 89 my $button; 96 for $button ( -1 .. $maxbutton ) { 97 next if ( $button == 3 ); 100 if ( $button < 0 ) { 104 $result += $button & 3; 105 if ( $button & 4 ) { 108 if ( $button & 8 ) [all...] |
| /xsrc/external/mit/xkill/dist/ |
| xkill.c | 59 static XID get_window_id ( Display *dpy, int screen, int button, const char *msg ); 83 " -button number specific button to be pressed to select window\n" 103 char *button_name = NULL; /* name of button for window select */ 104 int button; /* button number or negative for all */ local 109 button = SelectButtonFirst; 131 case 'b': /* -button number */ 133 usage ("-button requires an argument", EXIT_FAILURE); 190 button_name = XGetDefault (dpy, ProgramName, "Button"); 393 int button = (int) pointer_map[i]; local [all...] |
| /xsrc/external/mit/xedit/dist/lisp/test/ |
| hello.lsp | 58 (setq button 59 (xt-create-managed-widget "button" command-widget-class form 66 (xt-add-callback button "callback" 'quit-callback)
|
| /xsrc/external/mit/libXaw/dist/examples/ |
| menu.c | 20 Widget button, menu; local 24 button = XtVaCreateManagedWidget("menuButton", menuButtonWidgetClass, top, 28 button, NULL);
|
| /xsrc/external/mit/libXi/dist/src/ |
| XGrDvBut.c | 49 * XGrabDeviceBut - Grab a button on an extension device. 67 unsigned int button, /* CARD8 */ 89 req->button = button;
|
| XUngrDvB.c | 49 * XUngrabDeviceButton - Ungrab a button on an extension device. 67 unsigned int button, /* CARD8 */ 83 req->button = button;
|
| /xsrc/local/programs/x11-ssh-askpass/ |
| x11-ssh-askpass.c | 253 void calcTotalButtonExtents(ButtonInfo *button) 255 if (!button) { 258 button->w3.w.width = (button->w3.interiorWidth + 259 (2 * button->w3.shadowThickness)); 260 button->w3.w.width += (2 * button->w3.borderWidth); 261 button->w3.w.height = (button->w3.interiorHeight + 262 (2 * button->w3.shadowThickness)) [all...] |
| /xsrc/external/mit/xinput/dist/src/ |
| test.c | 119 XDeviceButtonEvent *button = (XDeviceButtonEvent *) &Event; local 121 printf("button %s %d ", (Event.type == button_release_type) ? "release" : "press ", 122 button->button); 124 for(loop=0; loop<button->axes_count; loop++) { 125 printf("a[%d]=%d ", button->first_axis + loop, button->axis_data[loop]);
|
| /xsrc/external/mit/xorg-server/dist/hw/xwin/ |
| winmouse.c | 40 #include "exevents.h" /* for button/axes labels */ 44 /* Peek the internal button mapping */ 103 /* initialize button map */ 129 g_winMouseButtonMap = pDeviceInt->button->map; 150 int button; local 189 /* Set the button to indicate up or down wheel delta */ 191 button = iButtonUp; 194 button = iButtonDown; 200 * button clicks for the Z axis. 208 /* Push the wheel button */ [all...] |
| /xsrc/external/mit/xclipboard/dist/ |
| xcutsel.c | 80 Widget button; member in struct:__anon3 204 XtGetValues( statep->button, args, TWO ); 207 XtSetValues( statep->button, args, TWO ); 263 Widget box, button; local 310 button = 312 XtAddCallback( button, XtNcallback, Quit, NULL ); 321 button = 323 XtAddCallback( button, XtNcallback, GetSelection, NULL ); 331 button = 333 XtAddCallback( button, XtNcallback, GetBuffer, (XtPointer)&state ) [all...] |
| /xsrc/external/mit/mesa-demos/dist/src/redbook/ |
| double.c | 41 * Pressing the left mouse button rotates the rectangle. 42 * Pressing the middle mouse button stops the rotation. 96 static void mouse(int button, int state, int x, int y) 98 switch (button) {
|
| movelight.c | 49 * Interaction: pressing the left mouse button alters 110 static void mouse(int button, int state, int x, int y) 112 switch (button) {
|
| unproject.c | 40 * When the left mouse button is pressed, this program 65 static void mouse(int button, int state, int x, int y) 72 switch (button) {
|
| /xsrc/external/mit/xorg-server.old/dist/xkb/ |
| xkbActions.c | 50 void XkbFakeDeviceButton(DeviceIntPtr dev,Bool press,int button); 154 XkbGetButtonAction(DeviceIntPtr kbd,DeviceIntPtr dev,int button) 157 if ((dev->button)&&(dev->button->xkb_acts)) { 158 if (dev->button->xkb_acts[button-1].any.type!=XkbSA_NoAction) { 160 &dev->button->xkb_acts[button-1]); 539 int button= pAction->btn.button; local 619 int button= filter->upAction.btn.button; local 952 int button; local 996 int button; local [all...] |
| /xsrc/external/mit/xorg-server/dist/xkb/ |
| xkbActions.c | 160 XkbGetButtonAction(DeviceIntPtr kbd, DeviceIntPtr dev, int button) 164 if ((dev->button) && (dev->button->xkb_acts)) { 165 if (dev->button->xkb_acts[button - 1].any.type != XkbSA_NoAction) { 167 &dev->button->xkb_acts[button - 1]); 566 int button = pAction->btn.button; local 568 if (button == XkbSA_UseDfltButton 646 int button = filter->upAction.btn.button; local 1068 int button; local 1111 int button; local [all...] |
| /xsrc/external/mit/MesaGLUT/dist/src/glut/glx/ |
| win32_winproc.c | 58 int button = -1; local 326 button = GLUT_LEFT_BUTTON; 328 if (button < 0) 329 button = GLUT_MIDDLE_BUTTON; 331 if (button < 0) 332 button = GLUT_RIGHT_BUTTON; 334 /* finish the menu if we get a button down message (user must have 339 if (button == GLUT_MIDDLE_BUTTON) 361 menu = __glutGetMenuByNum(window->menu[button]); 365 __glutMenuButton = button == GLUT_RIGHT_BUTTON ? TPM_RIGHTBUTTON [all...] |