[Gtk-sharp-list] How To Find Out Which Widget Has Input Focus?
Jacek Rużyczka
stacheldraht at interia.pl
Sat Jun 12 15:00:19 EDT 2010
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
More information about the Gtk-sharp-list
mailing list