Hi,
What is the best way to tell a tree_view that its model has changed ?
(ie the model must be reread)
Currently, I use gtk_tree_view_set_model to set the model to NULL and
back to mine but I do not find it very ... pretty !
Denis
___
Another follow up - I managed to get a backtrace after I enabled core-dumps:
This is gtk-2.4.9 on SuSe 9.2 on gentoo I use gtk-2.6.x, but will need
to disabled -f-omit-frampointer optiomization to get a sensible backtrace.
Anyone an idea whats causing this?
Stefan
#0 0x40b3de85 in
Denis wrote:
Hi,
What is the best way to tell a tree_view that its model has changed ?
(ie the model must be reread)
Currently, I use gtk_tree_view_set_model to set the model to NULL and
back to mine but I do not find it very ... pretty !
Denis
You have to do nothing. The tree view does the
Maulet wrote:
Denis wrote:
Hi,
What is the best way to tell a tree_view that its model has changed ?
(ie the model must be reread)
Currently, I use gtk_tree_view_set_model to set the model to NULL and
back to mine but I do not find it very ... pretty !
Denis
You have to do nothing. The tree
Denis wrote:
Maulet wrote:
You have to do nothing. The tree view does the job for you!
When a model is connected to a tree view with
gtk_tree_view_set_model() or gtk_tree_view_new_with_model(), the tree
view reflects any change in the model automatically.
I understand that but my problem is
Maulet wrote:
Denis wrote:
Maulet wrote:
You have to do nothing. The tree view does the job for you!
When a model is connected to a tree view with
gtk_tree_view_set_model() or gtk_tree_view_new_with_model(), the
tree view reflects any change in the model automatically.
I understand that but my
On Tuesday 15 February 2005 13:28, Denis wrote:
I do not see how this can happen since I made my *own* model and do not
do anything which can notify the view.
Is there something I should do in the model to say Hi everybody, I have
changed ?
You need to call gtk_tree_model_row_changed() if
Hi,
I'm fairly new to GTK so excuse me for asking potentially lame
questions. Did not find anything in the archive, however.
My problem is: I want my GTK code (basically calls to
gtk_paint_whatever()) to paint on an external drawable rather than
GdkWindow. (This external drawable is actually a
The prototype for the pressed and released callback is
user_function (GtkButton cid:[EMAIL PROTECTED] *button,
gpointer user_data);
gpointer is typedef'd as void *. If you are getting a compiler error,
you are probably not including the right headers.
Felix Kater wrote:
On Tue, 15 Feb 2005 09:32:46 -0800, Paolo Costabel
[EMAIL PROTECTED] wrote:
[...]
can I pass (a pointer to) user data to a button's callback? The compiler
wants me to create button callbacks like void (*)(void) -- but what I
need is void (*)(void*), at least for the pressed and released
Hello every one ...
I'm implementing a simple gtk application that is running on arm ...
i'm using the scratchbox to crosscompile ... But i'm needing some
advices about the follow situation:
** I wanna to change the internal focus between the widgets on the
application main window using hardware
11 matches
Mail list logo