Searched refs:menu (Results 1 - 25 of 468) sorted by relevance

1234567891011>>

/macosx-10.9.5/emacs-92/emacs/oldXMenu/
H A DSetAEQ.c7 * XMenu: MIT Project Athena, X Window system menu package
11 * a menu is being displayed and restored to the X
12 * event queue when the menu is taken down.
21 XMenuSetAEQ(menu, aeq)
22 register XMenu *menu; /* Menu object to be modified. */
28 menu->aeq = aeq;
H A DSetFrz.c7 * XMenu: MIT Project Athena, X Window system menu package
9 * XMenuSetFreeze - Forcibly set the menu freeze mode switch
20 XMenuSetFreeze(menu, freeze)
21 register XMenu *menu; /* Menu object to be modified. */
27 menu->freeze = freeze;
H A DRecomp.c7 * XMenu: MIT Project Athena, X Window system menu package
19 XMenuRecompute(display, menu)
21 register XMenu *menu; /* Menu object to be recomputed. */
30 * If there are no panes in the menu then return failure
31 * because the menu is not initialized.
33 if (menu->p_count == 0) {
39 * Recompute menu wide global values: pane window size,
42 _XMRecomputeGlobals(display, menu);
45 * For each pane in the menu...
50 p_ptr = menu
[all...]
/macosx-10.9.5/ncurses-42/ncurses/menu/
H A Dm_new.c38 #include "menu.priv.h"
46 | Description : Creates a new menu connected to the item pointer
47 | array items and returns a pointer to the new menu.
48 | The new menu is initialized with the values from the
49 | default menu.
57 MENU *menu = (MENU *) calloc(1, sizeof(MENU)); local
60 if (menu)
62 *menu = _nc_Default_Menu;
63 menu->status = 0;
64 menu
95 free_menu(MENU * menu) argument
[all...]
H A Dm_pad.c38 #include "menu.priv.h"
42 /* Macro to redraw menu if it is posted and changed */
43 #define Refresh_Menu(menu) \
44 if ( (menu) && ((menu)->status & _POSTED) )\
46 _nc_Draw_Menu( menu );\
47 _nc_Show_Menu( menu );\
52 | Function : int set_menu_pad(MENU *menu, int pad)
62 set_menu_pad(MENU * menu, int pad) argument
64 bool do_refresh = (menu !
89 menu_pad(const MENU * menu) argument
[all...]
H A Dm_item_cur.c38 #include "menu.priv.h"
44 | Function : int set_current_item(MENU *menu, const ITEM *item)
51 set_current_item(MENU * menu, ITEM * item) argument
53 T((T_CALLED("set_current_item(%p,%p)"), menu, item));
55 if (menu && item && (item->imenu == menu))
57 if (menu->status & _IN_DRIVER)
60 assert(menu->curitem);
61 if (item != menu->curitem)
63 if (menu
92 current_item(const MENU * menu) argument
[all...]
H A Dm_scale.c38 #include "menu.priv.h"
44 | Function : int scale_menu(const MENU *menu)
47 | subwindow of menu.
50 | E_BAD_ARGUMENT - invalid menu pointer
51 | E_NOT_CONNECTED - no items are connected to menu
54 scale_menu(const MENU * menu, int *rows, int *cols) argument
56 T((T_CALLED("scale_menu(%p,%p,%p)"), menu, rows, cols));
58 if (!menu)
61 if (menu->items && *(menu
[all...]
H A Dm_format.c38 #include "menu.priv.h"
46 | Function : int set_menu_format(MENU *menu, int rows, int cols)
49 | that may be displayed at one time on a menu. If the
50 | menu contains more items than can be displayed at
51 | once, the menu will be scrollable.
56 | E_POSTED - the menu is already posted
59 set_menu_format(MENU * menu, int rows, int cols) argument
63 T((T_CALLED("set_menu_format(%p,%d,%d)"), menu, rows, cols));
68 if (menu)
70 if (menu
123 menu_format(const MENU * menu, int *rows, int *cols) argument
[all...]
H A Dm_post.c38 #include "menu.priv.h"
44 | Function : void _nc_Post_Item(MENU *menu, ITEM *item)
52 _nc_Post_Item(const MENU * menu, const ITEM * item) argument
62 assert(menu->win);
64 getyx(menu->win, item_y, item_x);
67 - it is a onevalued menu and it is the current item
70 wattron(menu->win, menu->back);
71 if (item->value || (item == menu->curitem))
73 if (menu
200 _nc_Draw_Menu(const MENU * menu) argument
270 post_menu(MENU * menu) argument
342 unpost_menu(MENU * menu) argument
[all...]
H A Dm_item_top.c38 #include "menu.priv.h"
44 | Function : int set_top_row(MENU *menu, int row)
46 | Description : Makes the specified row the top row in the menu
49 | E_BAD_ARGUMENT - not a menu pointer or invalid row
50 | E_NOT_CONNECTED - there are no items for the menu
53 set_top_row(MENU * menu, int row) argument
57 T((T_CALLED("set_top_row(%p,%d)"), menu, row));
59 if (menu)
61 if (menu->status & _IN_DRIVER)
63 if (menu
95 top_row(const MENU * menu) argument
[all...]
H A Dm_items.c38 #include "menu.priv.h"
44 | Function : int set_menu_items(MENU *menu, ITEM **items)
46 | Description : Sets the item pointer array connected to menu.
49 | E_POSTED - menu is already posted
51 | to another menu.
52 | E_BAD_ARGUMENT - An incorrect menu or item array was
56 set_menu_items(MENU * menu, ITEM ** items) argument
58 T((T_CALLED("set_menu_items(%p,%p)"), menu, items));
60 if (!menu || (items && !(*items)))
63 if (menu
88 menu_items(const MENU * menu) argument
104 item_count(const MENU * menu) argument
[all...]
H A Dm_item_vis.c35 * Tell if menu item is visible *
38 #include "menu.priv.h"
47 | subwindow of a posted menu.
55 MENU *menu; local
59 (menu = item->imenu) &&
60 (menu->status & _POSTED) &&
61 ((menu->toprow + menu->arows) > (item->y)) &&
62 (item->y >= menu->toprow))
H A Dm_userptr.c38 #include "menu.priv.h"
44 | Function : int set_menu_userptr(MENU *menu, void *userptr)
46 | Description : Set the pointer that is reserved in any menu to store
52 set_menu_userptr(MENU * menu, void *userptr) argument
54 T((T_CALLED("set_menu_userptr(%p,%p)"), menu, userptr));
55 Normalize_Menu(menu)->userptr = userptr;
61 | Function : void *menu_userptr(const MENU *menu)
63 | Description : Return the pointer that is reserved in any menu to
70 menu_userptr(const MENU * menu) argument
72 T((T_CALLED("menu_userptr(%p)"), menu));
[all...]
H A Dm_attribs.c38 #include "menu.priv.h"
42 /* Macro to redraw menu if it is posted and changed */
43 #define Refresh_Menu(menu) \
44 if ( (menu) && ((menu)->status & _POSTED) )\
46 _nc_Draw_Menu( menu );\
47 _nc_Show_Menu( menu );\
52 NCURSES_IMPEXP int NCURSES_API set_menu_ ## name (MENU * menu, chtype attr)\
54 T((T_CALLED("set_menu_" #name "(%p,%s)"), menu, _traceattr(attr)));\
57 if (menu
[all...]
H A Dm_opts.c38 #include "menu.priv.h"
44 | Function : int set_menu_opts(MENU *menu, Menu_Options opts)
46 | Description : Set the options for this menu. If the new settings
47 | end up in a change of the geometry of the menu, it
49 | the menu is already posted.
52 | E_BAD_ARGUMENT - invalid menu options
53 | E_POSTED - menu is already posted
56 set_menu_opts(MENU * menu, Menu_Options opts) argument
58 T((T_CALLED("set_menu_opts(%p,%d)"), menu, opts));
65 if (menu)
116 menu_opts_off(MENU * menu, Menu_Options opts) argument
149 menu_opts_on(MENU * menu, Menu_Options opts) argument
[all...]
H A Dm_sub.c38 #include "menu.priv.h"
44 | Function : int set_menu_sub(MENU *menu, WINDOW *win)
46 | Description : Sets the subwindow of the menu.
49 | E_POSTED - menu is already posted
52 set_menu_sub(MENU * menu, WINDOW *win) argument
54 T((T_CALLED("set_menu_sub(%p,%p)"), menu, win));
56 if (menu)
58 if (menu->status & _POSTED)
60 menu->usersub = win;
61 _nc_Calculate_Item_Length_and_Width(menu);
78 menu_sub(const MENU * menu) argument
[all...]
H A Dm_win.c38 #include "menu.priv.h"
44 | Function : int set_menu_win(MENU *menu, WINDOW *win)
46 | Description : Sets the window of the menu.
49 | E_POSTED - menu is already posted
52 set_menu_win(MENU * menu, WINDOW *win) argument
54 T((T_CALLED("set_menu_win(%p,%p)"), menu, win));
56 if (menu)
58 if (menu->status & _POSTED)
60 menu->userwin = win;
61 _nc_Calculate_Item_Length_and_Width(menu);
78 menu_win(const MENU * menu) argument
[all...]
H A Dm_pattern.c38 #include "menu.priv.h"
44 | Function : char *menu_pattern(const MENU *menu)
54 menu_pattern(const MENU * menu) argument
58 T((T_CALLED("menu_pattern(%p)"), menu));
59 returnPtr(menu ? (menu->pattern ? menu->pattern : empty) : 0);
64 | Function : int set_menu_pattern(MENU *menu, const char *p)
66 | Description : Set the match pattern for a menu and position to the
70 | E_BAD_ARGUMENT - invalid menu o
76 set_menu_pattern(MENU * menu, const char *p) argument
[all...]
H A Dm_cursor.c35 * Correctly position a menu's cursor *
38 #include "menu.priv.h"
49 | E_BAD_ARGUMENT - invalid menu
53 _nc_menu_cursor_pos(const MENU * menu, const ITEM * item, int *pY, int *pX) argument
55 if (!menu || !pX || !pY)
60 item = menu->curitem;
63 if (!(menu->status & _POSTED))
66 *pX = item->x * (menu->spc_cols + menu->itemlen);
67 *pY = (item->y - menu
83 pos_menu_cursor(const MENU * menu) argument
[all...]
H A Dm_global.c35 * Globally used internal routines and the default menu and item structures *
38 #include "menu.priv.h"
61 (WINDOW *)0, /* Window containing entire menu */
62 (WINDOW *)0, /* Portion of menu displayed */
66 0, /* Total Nr. of items in menu */
68 0, /* Top row of menu */
86 (MENU *)0, /* Pointer to parent menu */
102 | Function : static void ComputeMaximum_NameDesc_Lenths(MENU *menu)
105 | of the items connected to the menu
110 ComputeMaximum_NameDesc_Lengths(MENU * menu) argument
144 ResetConnectionInfo(MENU * menu, ITEM ** items) argument
236 _nc_Disconnect_Items(MENU * menu) argument
291 calculate_actual_width(MENU * menu, bool name) argument
340 _nc_Calculate_Item_Length_and_Width(MENU * menu) argument
379 _nc_Link_Items(MENU * menu) argument
506 _nc_Show_Menu(const MENU * menu) argument
546 _nc_New_TopRow_and_CurrentItem(MENU * menu, int new_toprow, ITEM * new_current_item) argument
[all...]
H A Dm_driver.c38 #include "menu.priv.h"
45 #define Remove_Character_From_Pattern(menu) \
46 (menu)->pattern[--((menu)->pindex)] = '\0'
49 #define Add_Character_To_Pattern(menu,ch) \
50 { (menu)->pattern[((menu)->pindex)++] = (ch);\
51 (menu)->pattern[(menu)->pindex] = '\0'; }
95 | MENU *menu,
118 _nc_Match_Next_Character_In_Item_Name(MENU * menu, int ch, ITEM ** item) argument
211 menu_driver(MENU * menu, int c) argument
[all...]
H A Dheaders32 $(srcdir)/menu.h
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/API/gtk/
H A DWebKitContextMenu.cpp33 * @Short_description: Represents the context menu in a #WebKitWebView
36 * #WebKitContextMenu represents a context menu containing
39 * When a #WebKitWebView is about to display the context menu, it
40 * emits the #WebKitWebView::context-menu signal, which has the
69 void webkitContextMenuPopulate(WebKitContextMenu* menu, Vector<ContextMenuItem>& contextMenuItems) argument
71 for (GList* item = menu->priv->items; item; item = g_list_next(item)) {
79 WebKitContextMenu* menu = webkit_context_menu_new(); local
82 webkit_context_menu_prepend(menu, webkitContextMenuItemCreate(item));
84 menu->priv->items = g_list_reverse(menu
89 webkitContextMenuSetParentItem(WebKitContextMenu* menu, WebKitContextMenuItem* item) argument
94 webkitContextMenuGetParentItem(WebKitContextMenu* menu) argument
129 WebKitContextMenu* menu = webkit_context_menu_new(); local
143 webkit_context_menu_prepend(WebKitContextMenu* menu, WebKitContextMenuItem* item) argument
155 webkit_context_menu_append(WebKitContextMenu* menu, WebKitContextMenuItem* item) argument
171 webkit_context_menu_insert(WebKitContextMenu* menu, WebKitContextMenuItem* item, int position) argument
192 webkit_context_menu_move_item(WebKitContextMenu* menu, WebKitContextMenuItem* item, int position) argument
213 webkit_context_menu_get_items(WebKitContextMenu* menu) argument
228 webkit_context_menu_get_n_items(WebKitContextMenu* menu) argument
244 webkit_context_menu_first(WebKitContextMenu* menu) argument
260 webkit_context_menu_last(WebKitContextMenu* menu) argument
278 webkit_context_menu_get_item_at_position(WebKitContextMenu* menu, unsigned position) argument
294 webkit_context_menu_remove(WebKitContextMenu* menu, WebKitContextMenuItem* item) argument
312 webkit_context_menu_remove_all(WebKitContextMenu* menu) argument
[all...]
/macosx-10.9.5/tcl-102/tk/tk/tests/
H A Dvisual_bb.test20 # Each menu entry invokes a visual test file
46 # menu bar and a message explaining the basic operation
50 frame .menu -relief raised -borderwidth 1
52 -borderwidth 1 -text "This application provides a collection of visual tests for the Tk toolkit. Each menu entry invokes a test, which displays information on the screen. You can then verify visually that the information is being displayed in the correct way. The tests under the \"Postscript\" menu exercise the Postscript-generation capabilities of canvas widgets."
54 pack .menu -side top -fill x
62 menubutton .menu.file -text "File" -menu .menu.file.m
63 menu
[all...]
/macosx-10.9.5/tcl-102/tk84/tk/tests/
H A Dvisual_bb.test25 # Each menu entry invokes a visual test file
51 # menu bar and a message explaining the basic operation
55 frame .menu -relief raised -borderwidth 1
57 -borderwidth 1 -text "This application provides a collection of visual tests for the Tk toolkit. Each menu entry invokes a test, which displays information on the screen. You can then verify visually that the information is being displayed in the correct way. The tests under the \"Postscript\" menu exercise the Postscript-generation capabilities of canvas widgets."
59 pack .menu -side top -fill x
67 menubutton .menu.file -text "File" -menu .menu.file.m
68 menu
[all...]

Completed in 106 milliseconds

1234567891011>>