Path: utzoo!attcan!uunet!cs.utexas.edu!ico!auto-trol!marbru From: marbru@auto-trol.UUCP (Martin Brunecky) Newsgroups: comp.windows.x Subject: Re: Window Managers and Client Menus Keywords: Window Managers, Client Menus Message-ID: <291@auto-trol.UUCP> Date: 21 Sep 89 22:30:38 GMT References: <653@thor.wright.EDU> Reply-To: ncar!ico!auto-trol!marbru Organization: Auto-trol Technology, Denver Lines: 28 In article <653@thor.wright.EDU> adatta@odin.wright.edu (Amitava Datta) writes: >If you are building an X client and don't quite like the Xt support >for creating popup menus you may want to consider the following: > > Why not have the X window manager display and manage menus for clients? > (Of course, the window manager would need to inform the X client when > a menu item gets selected) I vote NO ! Pretty soon, somebody else would like the Window Manager to do this, taht and even more. After a little while we'll have Window Managers that do everything in the world, but nothing RIGHT. Let the Window Manager do it's job, and don't try it to do more than that. And if you are having problems with creating cascaded menus of your own, just wait till the toolkits mature to make it easy. For example, DECwindows approach is not quite clear nor easy. In our widget set, we have come up with a PopupButton(s) that implement about 8 different cascade styles, and do everything.... Wasn't easy, but also not that difficult. So I expect other toolkits to get to the same "ease of use" sooner or later. -- ############################################################################### Martin Brunecky, Auto-trol Technology Corporation, 12500 North Washington Street, Denver, CO-80241-2404 (303) 252-2499 ncar!ico!auto-trol!marbru