Re: Trouble setting GdkEventMask
- From: Havoc Pennington <hp redhat com>
- To: Ron Steinke <rsteinke w-link net>
- Cc: gtk-list gnome org
- Subject: Re: Trouble setting GdkEventMask
- Date: 19 Jun 2001 02:10:29 -0400
Ron Steinke <rsteinke w-link net> writes:
> > From: Havoc Pennington <hp redhat com>
> >
> > Ron Steinke <rsteinke w-link net> writes:
> > >
> > > I was missing that, so thanks. However, I changed that,
> > > and it still doesn't work. What else is missing?
> > >
> >
> > Ah, I forgot this is GTK 1.2. You need to implement focus_in_event and
> > focus_out_event handlers that set GTK_HAS_FOCUS and redraw the focus
> > indication if any. GTK 2.0 has default implementations that do this in
> > GtkWidget.
> >
>
> But I am using 2.0 (really, 1.3, CVS within the last month
> or so), so this can't be it either.
>
I'm assuming you actually focus the drawing area (via tab key, or
gtk_widget_grab_focus() on button press, or something?)
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]