Re: [gtk-list] events_pending
- From: Havoc Pennington <rhpennin midway uchicago edu>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] events_pending
- Date: Tue, 20 Oct 1998 17:29:40 -0500 (CDT)
On Tue, 20 Oct 1998, Pauli Virtanen wrote:
>
> How can I do this in gtk+.
>
Connect to key_press_event and button_press_event and whatever else you
care about, and have your callbacks do the right thing. Or connect to
plain event, and then do:
switch (event->type) {
case GDK_BUTTON_PRESS:
break;
/* etc */
}
in your callback.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]