Re: Can't make a popup menu popup from a GtkStatusIcon

2009-06-19 Thread Bill Farmer
Thanks, I thought it was something simple like that. Bill Mike Massonnet wrote: After building the menu, and before poping it up, call gtk_widget_show_all() on the menu. 2009/6/19 Bill Farmer : I'm using GtkStatusIcon, GtkMenu, and GtkCheckMenuItem to create a status icon with a

Can't make a popup menu popup from a GtkStatusIcon

2009-06-19 Thread Bill Farmer
I'm using GtkStatusIcon, GtkMenu, and GtkCheckMenuItem to create a status icon with a popup menu. The code appears to be working in that a small rectangular empty box pops up in exactly the right place under the status icon, but I can't get any content in the menu. I've tried adding extra menu

Re: Stop alt-spacebar window menu

2009-06-01 Thread Bill Farmer
Thanks for all the help. I've put it in the too hard box for the moment, but will come back to it later... Bill Dave Howorth wrote: Bill Farmer wrote: I don't think it can be done without changing the window manager default key mapping, which apply to all apps. I can't f

Re: Stop alt-spacebar window menu

2009-05-29 Thread Bill Farmer
I don't think it can be done without changing the window manager default key mapping, which apply to all apps. I can't find anything in the window and session manager functions part of the xlib documentation that says anything about key mapping. I've also tested a simple as possible X applicati

Re: Stop alt-spacebar window menu

2009-05-29 Thread Bill Farmer
n DeKorte wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/28/2009 02:09 PM, Bill Farmer wrote: Looks like it's a show stopper, which is a shame because I've already got a nice layout, and got the keyboard interaction going. The problem is that the emulation has to bear some

Re: Stop alt-spacebar window menu

2009-05-29 Thread Bill Farmer
sible that it's in X windows, I haven't got that far. Also I only want to change it for this application. Andrew W. Nosenko wrote: On Wed, May 27, 2009 at 8:11 PM, Bill Farmer wrote: I am porting a native windows application to linux gtk. I want to stop the alt-spacebar

Re: Stop alt-spacebar window menu

2009-05-29 Thread Bill Farmer
I've just tried this. It captures the keyboard ok, no other windows get any keyboard input until you quit the app, but it doesn't stop the alt-spacebar thing. I don't think it can be done. I've just tried emacs, which is the application that captures all known keystrokes, and a few more you did

Re: Stop alt-spacebar window menu

2009-05-28 Thread Bill Farmer
e likely to hit it by accident when playing. This had already happened to users of the windows version until I figured out how to stop it. Brian J. Tarricone wrote: On 05/28/2009 11:51 AM, Bill Farmer wrote: The reason for wanting to capture the alt-spacebar combination is because the keyboard

Re: Stop alt-spacebar window menu

2009-05-28 Thread Bill Farmer
ossible that it's in Gnome, I haven't got that far. Also I only want to change it for this application. Andrew W. Nosenko wrote: On Wed, May 27, 2009 at 8:11 PM, Bill Farmer wrote: I am porting a native windows application to linux gtk. I want to stop the alt-spacebar key combinat

Stop alt-spacebar window menu

2009-05-27 Thread Bill Farmer
I am porting a native windows application to linux gtk. I want to stop the alt-spacebar key combination popping up the application window menu. This can be done in windows by capturing the WM_SYSCHAR message. After searching though the gtk documentation and sources, the only way I can see to do