First of all: Thank you very much for your reply. It was essential for
me to understand what was going on. And you were right about the put
some code part. I am too inexperienced yet.
Ok, let's go:
It took me all theses days to understand it and I am quite sure I didn't
get it all.
One point that
On Sun, Mar 25, 2007 at 05:17:50AM -0300, Diogo Ramos wrote:
One point that took me most of my time was this thing that I considered
a flaw: When we assume that one attribute of a model will be
G_TYPE_POINTER and we want to store there a string pointer, we don't
pass a pointer, but just a
On Sun, 25 Mar 2007 05:17:50 -0300 Diogo wrote:
It is a little confusing to me
because I assume that POINTERS are address and address are passed using
key.
No, wrong. Addresses are *passed* exactly like any other type is passed.
Addresses can be *obtained* using the operator. Hence:
No, wrong. Addresses are *passed* exactly like any other type is
passed. Addresses can be *obtained* using the operator. Hence:
char jim;
char * fred;
fred = jim;
Means:
jim is a variable of type char
fred is a variable of type pointer to char
Assign to fred the
On Sun, Mar 25, 2007 at 02:15:05PM -0300, Diogo Ramos wrote:
Oh yes, I understand that.
What made me crazy is because when I declare this:
armazena = gtk_tree_store_new(NUM_COLUNAS_DADOS,
G_TYPE_POINTER,
G_TYPE_POINTER,
Hello to everybody,
This question is cracking my head off. I am days at it and i can't figure it
out, although I thing a got pretty close.
Here is the deal:
I have a GtkTreeStore that I use to show some values.
This values can be changed.
So, my idea is to store a pointer at a cell so, every
On Wed, Mar 21, 2007 at 03:01:39PM -0300, Diogo Ramos wrote:
This question is cracking my head off. I am days at it and i can't figure it
out, although I thing a got pretty close.
Here is the deal:
I have a GtkTreeStore that I use to show some values.
This values can be changed.
So, my idea
...and to the `dynamic changing' part, if you change just
something in the data the pointer points to (not the pointer
itself), you have to emit row-changed signal on the
corresponding row for the tree view to notice.
Yeti
--
http://gwyddion.net/
___