RE: Finding Focus
- From: Maher Awamy <muhri muhri net>
- To: gtk-list gnome org
- Subject: RE: Finding Focus
- Date: 10 Oct 2000 13:38:25 CDT
On Tue, 10 Oct 2000 14:35:06 -0400, Dugas, Alan said:
> But that wouldn't that require that I check every widget in my application
> to see if it has the keyboard focus?
Ah, I did not read quite right, i thought you wanted to check all your widgets,
I dont know if there is a macro that'll tell you whcih widget has focus, only
to check if it has focus or not after you pass it one.
Maher
>
>
> -- Stupid Genius
>
> > ----------
> > From: Maher Awamy[SMTP:muhri muhri net]
> > Reply To: Maher Awamy
> > Sent: Tuesday, October 10, 2000 2:31 PM
> > To: gtk-list gnome org
> > Subject: Re: Finding Focus
> >
> > I think you can query that with the macro GTK_WIDGET_HAS_FOCUS(widget);
> >
> > Maher
> >
> > On Tue, 10 Oct 2000 14:26:03 -0400, Dugas, Alan said:
> >
> > > Is there a way to determine what widget currently has the keyboard
> > focus? What
> > > I am try to do is setup a "paste" utility that will check to see if the
> > widget
> > > with the current keyboard focus is a gtkeditable that is editable
> > before
> > > attempting a paste. Thanks in advance to those who reply.
> > >
> > >
> > >
> > > -- Stupid Genius
> > >
> > > _______________________________________________
> > > gtk-list mailing list
> > > gtk-list gnome org
> > > http://mail.gnome.org/mailman/listinfo/gtk-list
> > >
> >
> > --
> > muhri muhri net -- http://www.muhri.net
> >
> >
> >
> > _______________________________________________
> > gtk-list mailing list
> > gtk-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gtk-list
> >
>
>
--
muhri muhri net -- http://www.muhri.net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]