Re: [gtk-list] how to hide a widget before it receives a button release ?
- From: Chris Phelps <chicane reninet com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] how to hide a widget before it receives a button release ?
- Date: Sat, 29 Jan 2000 12:26:10 -0800
I think that the easiest way would be to emit the signal yourself, inside the
callback, but before you hide the window:
gtk_signal_emit_by_name(GTK_OBJECT(clist), "button_release_event", 0); //
(I think thats the proper syntax...didnt actually check tho.)
gtk_widget_hide(clist);
Paul Barton-Davis wrote:
> i have a clist. i get the select_row signal. i want to hide the
> clist because i am done with it (for now).
>
> however, if i do this when from the select_row signal handler, then
> the clist never gets the button release signal, which leads to some
> flaky behaviour for the next couple of button events.
>
> any clues ?
>
> --p
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]