Buttons on title bar?




On my linux system I have two desktops. When I right-click on the title bar I get a menu (from the window manager). When the window is on the left of the two desktops one of the menu items is "Move to Workspace Right" (it is similar for the other desktop). I use this feature a lot. That makes me want to have a little button on the title bar with an L or an R. I *know* this is a wm function. Is there some way for a perl-gtk app to ask the WM to put a botton the title bar or to add to that menu *for the particular app only*. I really don't want to have to modify a theme or some other file as I want this app to be very user-friendly.

I haven't found any examples in the gtk-perl examples, nor has google been much help. I would think it would fall into the category of wm hints that I'd have to access through xlib, but I cannot find it searching for that either. Any ideas?

I know some folks will think this is window manager heresy. I'm sorry. I just want something very easy for a particular type of user.

Thanks,
--john
--
John McDermott, CPLP, CCP
Learning and Performance Consultant
jjm at jkintl.com        www.jkintl.com
V: +1 575/377-6293  Please call for fax access.




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