how do I find out if the focused object is an Gtk::Entry?



Hi,
In my program I need to determine if the focused widget is an entry so that I can set its text.
I use get_focus() to get the focused object, but I don't know how to determine if it is an entry. Is there any way to tell if the returned widget is an entry?  thanks!

Best,
Ming-ching


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