[gtkmm] how to get MenuItem text ?
- From: SMS WebMaster <sms 4-sms com>
- To: gtkmm list <gtkmm-list gnome org>
- Subject: [gtkmm] how to get MenuItem text ?
- Date: Tue, 02 Dec 2003 03:09:21 +0300
Hi
I want to get the MenuItem text but I didn't find any function for that !!!
Any help on that ?
because I am using the "OptionMenu" and I want to get the text of the
item the user selected, here is my code :
void PrefWindow::on_optionmenu1_changed()
{
Gtk::Menu *me = optionmenu1->get_menu();
Gtk::MenuItem *myItem = me->get_active();
set_title(*myItem->GET_TEXT_FUNTION);
}
--
http://www.4-SMS.Com
http://eShop.4-SMS.Com
http://Mozilla.4-SMS.Com
-*- If Linux doesn't have the solution, you have the wrong problem -*-
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]