Re: gtk_combo_box_get_active_text not defined
- From: Peter Bloomfield <peterbloomfield bellsouth net>
- To: y g <odysseus lost gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: gtk_combo_box_get_active_text not defined
- Date: Sun, 22 May 2005 13:07:23 +0000
On 05/22/2005 07:46:05 AM, y g wrote:
hi
gtk_combo_box_get_active_text is not defined (and trully is as
i looked on the source code of gtkcombobox.h, which probably
means i am using an older version of gtk2....
gtk_combo_box_get_active_text is "Since 2.6"...
so the question is how can i get the active text....
gtk_combo_box_get_active returns an integer.... how can i get
the text? and what about if the text entered is not on the list?
Sounds like you're using a GtkComboBoxEntry, in which case you
can get at the GtkEntry as
GTK_ENTRY (GTK_BIN (combo_box_entry)->child)
another easy question is how you get the gtk version under gtk2
as there is no gtk-config --version like the older version?
pkg-config --modversion gtk+-2.0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]