[Gtk-sharp-list] How To Find Out Which Widget Has Input Focus?
David S
buttink at gmail.com
Sat Jun 12 16:22:47 EDT 2010
Have you tried using the Gtk.Container property FocusChild?
http://www.go-mono.com/docs/index.aspx?link=P:Gtk.Container.FocusChild
2010/6/12 Jacek Rużyczka <stacheldraht at interia.pl>
> Hi folks,
>
> my Gtk# app supports clipboard operations by using menu items like "Edit
> -->
> Copy" and the CopyClipboard() etc. methods of Gtk.Entry. However, I have to
> find out first which of my entries have the input focus. So far I have been
> using Gtk.Widget.HasFocus. It did work in a fairly old version of Gtk#, but
> now (= 2.12.10-56.1), this property is always set to FALSE, even if it has
> the
> bliking cursor indise and accepts keyboard inputs.
>
> What is wrong here?
>
> Kind regards
> Jacek Rużyczka
>
> ----------------------------------------------------------------------
> Najlepsza wyszukiwarka tanich lotow!
> Sprawdz >>> http://linkint.pl/f2726
>
> _______________________________________________
> Gtk-sharp-list maillist - Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20100612/9991c1d7/attachment-0001.html
More information about the Gtk-sharp-list
mailing list