Searched refs:button (Results 1 - 25 of 217) sorted by relevance

123456789

/xsrc/external/mit/xmh/dist/
H A Dbbox.c49 * 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 in function:bboxAddButton
101 buttonbox->button = XtReallocArray(buttonbox->button,
103 button = buttonbox->button[buttonbox->numbuttons - 1] = XtNew(ButtonRec);
104 button->buttonbox = buttonbox;
105 button
158 RadioBBoxSet(Button button) argument
180 BBoxDeleteButton(Button button) argument
210 RadioBBoxDeleteButton(Button button) argument
242 BBoxEnable(Button button) argument
251 BBoxDisable(Button button) argument
308 BBoxNameOfButton(Button button) argument
317 BBoxMenuOfButton(Button button) argument
357 Button button = BBoxFindButtonNamed(buttonbox, name); local in function:BBoxMailFlag
[all...]
H A Dmenu.c35 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) {
34 AttachMenuToButton(Button button,Widget menu,const char * menu_name) argument
63 SendMenuEntryEnableMsg(Button button,const char * entry_name,int value) argument
H A Dbboxint.h32 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
H A Dfolder.c174 * 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 in function:CreateFolder
302 button = BBoxFindButtonNamed(scrnList[i]->folderbuttons,
305 if (button) AddFolderMenuEntry(button, name);
461 * So the menu entry deletion routines must be able to handle a button
544 * I assume that the name of the button is identical to the name of the folder.
611 Button button, /* th
610 AddFolderMenuEntry(Button button,char * entryname) argument
673 CreateFolderMenu(Button button) argument
721 DeleteFolderMenuEntry(Button button,char * foldername) argument
774 Button button; local in function:XmhPopupFolderMenu
809 Button button; local in function:XmhSetCurrentFolder
[all...]
/xsrc/external/mit/libX11/dist/src/
H A DUngrabBut.c35 unsigned int button, /* CARD8 */
43 req->button = button;
33 XUngrabButton(register Display * dpy,unsigned int button,unsigned int modifiers,Window grab_window) argument
H A DGrButton.c35 unsigned int button, /* CARD8 */
49 req->button = button;
33 XGrabButton(register Display * dpy,unsigned int button,unsigned int modifiers,Window grab_window,Bool owner_events,unsigned int event_mask,int pointer_mode,int keyboard_mode,Window confine_to,Cursor curs) argument
/xsrc/external/mit/ctwm/dist/
H A Dwin_decorations_init.h10 void SetCurrentTBAction(int button, int mods, int func, char *action,
H A Dwin_decorations_init.c36 * 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, argument
213 if(tbf->num == button && tbf->mods == nmods) {
226 tbf->num = button;
244 int button; local in function:CreateTitleButton
[all...]
/xsrc/external/mit/xf86-video-qxl/dist/src/
H A Dspiceqxl_uinput.c33 int button = -1; local in function:spiceqxl_uinput_read_cb
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/
H A Dmouse-codes34 # 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.
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 ) {
113 my $report = sprintf "%s%s%s", &ButtonName($button),
[all...]
/xsrc/external/mit/xkill/dist/
H A Dxkill.c59 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 in function:main
109 button = SelectButtonFirst;
129 case 'b': /* -button number */
130 if (++i >= argc) usage ("-button requires an argument");
176 if (button_name && !parse_button (button_name, &button)) {
261 get_window_id(Display * dpy,int screen,int button,const char * msg) argument
377 int button = (int) pointer_map[i]; local in function:verify_okay_to_kill
[all...]
/xsrc/external/mit/xedit/dist/lisp/test/
H A Dhello.lsp58 (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/
H A Dmenu.c20 Widget button, menu; local in function:setupmenu
24 button = XtVaCreateManagedWidget("menuButton", menuButtonWidgetClass, top,
28 button, NULL);
/xsrc/external/mit/libXi/dist/src/
H A DXGrDvBut.c49 * XGrabDeviceBut - Grab a button on an extension device.
67 unsigned int button, /* CARD8 */
89 req->button = button;
64 XGrabDeviceButton(register Display * dpy,XDevice * dev,unsigned int button,unsigned int modifiers,XDevice * modifier_device,Window grab_window,Bool owner_events,unsigned int event_count,XEventClass * event_list,int this_device_mode,int other_devices_mode) argument
H A DXUngrDvB.c49 * XUngrabDeviceButton - Ungrab a button on an extension device.
67 unsigned int button, /* CARD8 */
83 req->button = button;
64 XUngrabDeviceButton(register Display * dpy,XDevice * dev,unsigned int button,unsigned int modifiers,XDevice * modifier_dev,Window grab_window) argument
/xsrc/local/programs/x11-ssh-askpass/
H A Dx11-ssh-askpass.c253 void calcTotalButtonExtents(ButtonInfo *button) argument
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
266 calcButtonExtents(ButtonInfo * button) argument
292 calcButtonLabelPosition(ButtonInfo * button) argument
913 paintButton(AppInfo * app,Drawable draw,ButtonInfo button) argument
1319 eventIsInsideButton(AppInfo * app,XEvent * event,ButtonInfo button) argument
[all...]
/xsrc/external/mit/xinput/dist/src/
H A Dtest.c119 XDeviceButtonEvent *button = (XDeviceButtonEvent *) &Event; local in function:print_events
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/
H A Dwinmouse.c40 #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 in function:winMouseWheel
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/
H A Dxcutsel.c80 Widget button; member in struct:__anonf07bc4e90208
203 XtGetValues( statep->button, args, TWO );
206 XtSetValues( statep->button, args, TWO );
262 Widget box, button; local in function:main
286 button =
288 XtAddCallback( button, XtNcallback, Quit, NULL );
297 button =
299 XtAddCallback( button, XtNcallback, GetSelection, NULL );
307 button =
309 XtAddCallback( button, XtNcallbac
[all...]
/xsrc/external/mit/mesa-demos/dist/src/redbook/
H A Ddouble.c41 * 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) argument
98 switch (button) {
H A Dmovelight.c49 * Interaction: pressing the left mouse button alters
110 static void mouse(int button, int state, int x, int y) argument
112 switch (button) {
H A Dunproject.c40 * When the left mouse button is pressed, this program
65 static void mouse(int button, int state, int x, int y) argument
72 switch (button) {
/xsrc/external/mit/xorg-server.old/dist/xkb/
H A DxkbActions.c50 void XkbFakeDeviceButton(DeviceIntPtr dev,Bool press,int button);
154 XkbGetButtonAction(DeviceIntPtr kbd,DeviceIntPtr dev,int button) argument
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 in function:_XkbFilterPointerBtn
619 int button= filter->upAction.btn.button; local in function:_XkbFilterPointerBtn
952 int button; local in function:_XkbFilterDeviceBtn
996 int button; local in function:_XkbFilterDeviceBtn
1351 InjectPointerKeyEvents(DeviceIntPtr dev,int type,int button,int flags,ValuatorMask * mask) argument
1407 XkbFakeDeviceButton(DeviceIntPtr dev,Bool press,int button) argument
[all...]
/xsrc/external/mit/xorg-server/dist/xkb/
H A DxkbActions.c160 XkbGetButtonAction(DeviceIntPtr kbd, DeviceIntPtr dev, int button) argument
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 in function:_XkbFilterPointerBtn
568 if (button
646 int button = filter->upAction.btn.button; local in function:_XkbFilterPointerBtn
1068 int button; local in function:_XkbFilterDeviceBtn
1111 int button; local in function:_XkbFilterDeviceBtn
1550 InjectPointerKeyEvents(DeviceIntPtr dev,int type,int button,int flags,ValuatorMask * mask) argument
1608 XkbFakeDeviceButton(DeviceIntPtr dev,Bool press,int button) argument
[all...]
/xsrc/external/mit/MesaGLUT/dist/src/glut/glx/
H A Dwin32_winproc.c58 int button = -1; local in function:__glutWindowProc
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
[all...]

Completed in 28 milliseconds

123456789