2 .TH xmsg 1 "20 December 2001" "Edgeware tools"
4 xmsg \- pops up a message box
26 program pops up a pretty GTK message box, containing the listed buttons
27 (shown right to left along the bottom). The button strings are listed,
28 one per argument, after the message. If no buttons are requested, an
30 button is provided anyway.
36 then instead the message to display is read from standard input. If the
41 then that character is removed.
43 A button may be selected as being the default (i.e., may be chosen by
48 option: the argument must either match a button name, or be an index
49 (zero-based) of the requested button. If you don't select a default,
50 the first (rightmost) button becomes the default anyway.
52 Similarly, a button may be selected as being the `cancel' action (i.e.,
53 may be chosen by closing the window or pressing
58 option. Again, the argument must either match a button name or be an
59 index of a button. If you don't select a cancel button, the last
60 (leftmost) button because the cancel button.
62 If there is more than one button, the name of the selected button is
63 printed on standard output when the program exits.
66 .BI "\-\-display " display
69 rather than the display named in the usual environment variable.
72 Sets a magical property to ensure that the window acquires the focus
75 version I don't use any more.
77 .BI "\-t, \-\-title " title
78 Sets the title for the window. If you don't specify a title, the window
82 .BI "\-c, \-\-cancel " button
85 as being the cancel button.
87 .BI "\-d, \-\-default " button
90 as being the default button.
92 Mark Wooding (mdw@nsict.org).