Re: Re: GdkEventKey and GdkEvent problems
- From: Paul Davis <paul linuxaudiosystems com>
- To: gtk-list gnome org
- Subject: Re: Re: GdkEventKey and GdkEvent problems
- Date: Tue, 26 Apr 2011 08:18:48 -0400
On Tue, Apr 26, 2011 at 8:12 AM, David Woodfall <dave dawoodfall net> wrote:
> On (06:57 26/04/11), Paul Davis <paul linuxaudiosystems com> put forth the
> proposition:
>>
>> On Tue, Apr 26, 2011 at 2:45 AM, David Woodfall <dave dawoodfall net>
>> wrote:
>>>
>>> I'm trying to patch ekiga to use the Return key to dial. Presently it
>>> only accepts mouse clicks. I first tried GdkEventKey and then GdkEvent
>>> but neither seem to work. Here's the code:
>>
>> not enough code. you didn't say which event signal you're connecting this
>> too.
>
> I'm not really sure what I'm looking for since I'm totally new to gtk.
> This is the calling line:
>
> g_signal_connect (G_OBJECT (self->priv->tree_view), "event-after",
> G_CALLBACK (on_view_event_after), self);
>
> What else am I looking for?
well, your code is a bit confused. If its expecting GdkEvent, then
references to event members would be of the form:
ev->TYPE.MEMBER
if its expecting Gdk<TYPE>Event, then they would be of the form
ev->MEMBER
you've got both in there.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]