Re: scrollbar once again



Ronald Bultje <rbultje ronald bitfreak net> writes:
> On 2001.05.08 20:53:10 +0200 Havoc Pennington wrote:
> > Do you gtk_main_quit() to exit gtk_main()?
> 
> yes
...
> #4  0x400b9043 in gtk_main () from /usr/lib/libgtk-1.2.so.0

You are still in gtk_main(), so the answer is "no" not "yes" ;-)

Maybe you are not calling it when the window closes. Try
connecting to "destroy" on the window being closed, and
gtk_main_quit() then.
 
> I inserted the code. Doesn't work either.....:-\

I forgot to mention that you need to GTK_WIDGET_SET_FLAGS (widget,
GTK_CAN_FOCUS) in the init function for the widget.

Havoc




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