how do I find out if the focused object is an Gtk::Entry?
- From: Ming-ching Chiu <percle gmail com>
- To: gtkmm-list gnome org
- Subject: how do I find out if the focused object is an Gtk::Entry?
- Date: Tue, 3 May 2011 15:58:56 +0800
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]