Re: How does the dialog's default button respond enter key

2009-10-07 Thread Simon Chan
I think you should connect the enter signal to the window instead of the button. I think what you mean is, you wanna destroy the dialog whenever the user press enter key, right? On Wed, Oct 7, 2009 at 10:35 AM, wjh jh_wang2...@163.com wrote: Hi all:        I have a question, in Gtk+

Re: Resizing

2009-10-07 Thread jcupitt
2009/10/7 John Coppens j...@jcoppens.com: - I have a (top-level) window, with a vbox, then a vpanel, a frame, an 'alignment' and a table (listed in the order of nesting). When I change something in the table, which makes it wider, the table gets wider, wider than the frame, which doesn't

Re: How does the dialog's default button respond enter key

2009-10-07 Thread Pierre-Luc Beaudoin
2009/10/7 Simon Chan simon...@gmail.com: I think you should connect the enter signal to the window instead of the button. I think what you mean is, you wanna destroy the dialog whenever the user press enter key, right? Actually I think this is better. Closing a dialog using the default

Re: Resizing

2009-10-07 Thread John Coppens
On Wed, 7 Oct 2009 10:23:00 +0100 jcup...@gmail.com wrote: You need to put stuff inside something which can get larger. I'd put a scrolledwindow inside the vpane, then the frame and the table inside that. This will mean if the table gets bigger than the vpane, it'll get scrollbars. Thanks,