6 .Nd simple menu for XOrg
10 utility a simple graphical menu for XOrg. It read the items from
12 and print the user selection to
17 Most of the appearance of the menu is defined through the \fBX
20 Application specific resources:
23 The font name, only bitmap font are supported. By default is set to
26 The width of the menu. If a numeric value is given (e.g. 400) is
27 interpreted as pixel, if it ends with a percentage symbol `%'
28 (e.g. 40%) the relative percentage will be computed (relative to the
31 The height of the menu. Like MyMenu.width if a numeric value is given
32 is interpreted as pixel, if it ends with a percentage symbol `%' the
33 relative percentage will be computed (relative to the monitor height)
35 The X coordinate of the topmost left corner of the window. Much like
36 MyMenu.height and MyMenu.width both a pixel dimension and percentage
37 could be supplied. In addition to it, the special value "middle" could
38 be used: in that case the window will be centered on the x axes.
40 The Y coordinate of the topmost left corner of the window. Like the X
41 coordinate, pixel dimension, percentage dimension and the special
42 value "middle" could be supplied.
43 .It MyMenu.prompt.background
44 The background of the prompt
45 .It MyMenu.prompt.foreground
46 The text color (foreground) of the prompt
47 .It MyMenu.completion.background
48 The background of the completions
49 .It MyMenu.completion.foreground
50 The text color of the completions
51 .It MyMenu.completion_highlighted.background
52 The background of the selected completion
53 .It MyMenu.completion_highlighted.foreground
54 The foreground of the selected completion
58 .Bl -tag -width indent-two
60 Close the menu without selecting any entry
62 Close the menu and print to stdout what the user typed
64 Expand the prompt to the next possible completion
66 Expand the prompt to the previous possible completion
68 Delete the last character
74 Shift tab is currently broken
76 If, instead of a numeric value, a not-valid number that terminates
77 with the % sign is supplied, then the default value for that field
78 will be treated as a percentage. Since this is a misuse of the
79 resources this behavior isn't strictly considered a bug.
84 0 when the user select an entry, 1 when the user press Esc and
85 EX_UNAVAILABLE if the connection to X fails.
92 .An Omar Polo <omar.polo@europecom.net>