Re: gtk_selection_get_selected()
- From: John Palmieri <johnp martianrock com>
- To: Jens Hornung <dncn gmx net>
- Cc: "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
- Subject: Re: gtk_selection_get_selected()
- Date: 08 Apr 2003 11:08:06 -0400
On Tue, 2003-04-08 at 10:30, Jens Hornung wrote:
Hi,
i've got some problems with the function 'gtk_selection_get_selected'. Here's a part of the code:
...
GtkListStore *list;
<snip>
if((gtk_tree_selection_get_selected(GTK_TREE_SELECTION(selection),
GTK_TREE_MODEL(&list),
This should be GTK_TREE_MODEL(list).
A GtkListStore implements the GtkTreeModel inteface.
&iter))
== TRUE)
{
gtk_tree_model_get_value(GTK_TREE_MODEL(list),
You got it right here.
&iter,
1,
value);
<snip>
--
J5
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]