Re: yes/no dialog



On 10/22/06, Manfred Lotz <manfred lotz arcor de> wrote:
Hi there,
It happens that I accidentally click the Quit item on the main menu.
Therefore I like to  change that item by adding a dialog which displays:
Do you really want to quit Sawfish? and offering a Yes/No choice.

Could anybody tell me how I can create such a dialog?


You can override the menu definitions. Read about it here,
http://home.blarg.net/~sand/sawfish/v0.11/sawfish/Popup-Menus.html

For the dialog logic, you can use Xdialog or even better zenity,
http://directory.fsf.org/zenity.html

--
http://www.nearfar.org/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]