RE: Finding Focus



But that wouldn't that require that I check every widget in my application
to see if it has the keyboard focus?



				-- 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
> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]