Re: gtk_combo_box_get_active_text in 2.4
- From: "Hubert Sokolowski" <h sokolowski wsisiz edu pl>
- To: "Matthias Clasen" <mclasen redhat com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: gtk_combo_box_get_active_text in 2.4
- Date: Wed, 24 Nov 2004 14:54:59 +0100 (CET)
On Wed, 2004-11-24 at 14:24 +0100, Hubert Sokolowski wrote:
when using code from 2.5.5
GtkTreeIter iter;
gchar *text = NULL;
if (gtk_combo_box_get_active_iter (combo_box, &iter))
gtk_tree_model_get (combo_box->priv->model, &iter,
0, &text, -1);
I get error while compilation
error: dereferencing pointer to incomplete type
You can't access widget internals like that. The compiler doesn't
know anything about the memory pointed at by combo_box->priv.
yes, that true, but is there any other way then declaring GtkComboBoxPriv
in my program?
how to get the selected text using gtk 2.4 api from GtkComboBox created
using gtk_combo_box_new_text () ? ?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]