Hi!
Yep, I did something similar:
sprintf (path_str, %d, count);
while (gtk_tree_model_get_iter_from_string (GTK_TREE_MODEL (store),
iter, path_str) == TRUE)
{
count++;
sprintf (path_str, %d, count);
}
But it's just so DAMN ugly! ;(
Well, you could at least
Hi, everyone!
I am trying to upgrade from CLists to GtkTreeViews since my transition
from 1.2 to 2.0. I have a spin button that declares how many rows a
GtkTreeModel (with a GtkListStore) should contain; attached to the
changed signal for a spin-button I have a callback that should do this.
While
El vie, 04-07-2003 a las 11:38, Andrej Prsa escribió:
Hi, everyone!
I am trying to upgrade from CLists to GtkTreeViews since my transition
from 1.2 to 2.0. I have a spin button that declares how many rows a
GtkTreeModel (with a GtkListStore) should contain; attached to the
changed signal
Heèllo!
El vie, 04-07-2003 a las 11:38, Andrej Prsa escribió:
Hi, everyone!
I am trying to upgrade from CLists to GtkTreeViews since my
transition from 1.2 to 2.0. I have a spin button that declares how
many rows a GtkTreeModel (with a GtkListStore) should contain;
attached to
On Fri, Jul 04, 2003 at 09:42:28PM +0200, Andrej Prsa wrote:
Yep, I did something similar:
sprintf (path_str, %d, count);
while (gtk_tree_model_get_iter_from_string (GTK_TREE_MODEL (store), iter, path_str)
== TRUE)
{
count++;
sprintf (path_str, %d, count);
}
But it's just
On Fri, 4 Jul 2003, Havoc Pennington wrote:
On Fri, Jul 04, 2003 at 09:42:28PM +0200, Andrej Prsa wrote:
Yep, I did something similar:
sprintf (path_str, %d, count);
while (gtk_tree_model_get_iter_from_string (GTK_TREE_MODEL (store), iter,
path_str) == TRUE)
{
count++;