Re: [gtkmm] how to get MenuItem text ?
- From: Paul Davis <paul linuxaudiosystems com>
- To: bart <bart hakvoort castel nl>
- Cc: SMS WebMaster <sms 4-sms com>, gtkmm list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] how to get MenuItem text ?
- Date: Tue, 02 Dec 2003 08:42:18 -0500
>Well, this is not exactly what you're looking for, but maybe it helps.
>You can use optionmenu1.get_history() to get the index. And since i
>usually set the index from a list/vector/whatever it's quite easy to
>find the corresponding text.
cast MenuItem to Bin, then get the child, which is a Label, which has
a get_text() method. its works at the GTK+ level (C) anyway.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]