abel schie wrote:
> Anyway, it works now.
>
> Thanks for your input Paul.
You are welcome. And you sorted it out yourself in the end, anyway :)
Paul
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinf
abel schie wrote:
> >No, you don't call gtk_tree_model_row_changed() from you cell data
> >function,
> >but from you time out function, which updates the list store. And you
> > call it on the list store.
>
> Ok, I've tried that, but still the treeview doesn't get updated.
> Maybe it has to do wi
abel schie wrote:
> >No, you don't call gtk_tree_model_row_changed() from you cell data
> >function,
> >but from you time out function, which updates the list store. And you
> > call it on the list store.
>
> Ok, I've tried that, but still the treeview doesn't get updated.
> Maybe it has to do wit
No, you don't call gtk_tree_model_row_changed() from you cell data
function,
but from you time out function, which updates the list store. And you call
it on the list store.
Ok, I've tried that, but still the treeview doesn't get updated.
Maybe it has to do with g_object_set which I use to upd
abel schie wrote:
> >abel schie wrote:
> > > I've made a gtktreeviewcolumn with a custom GtkTreeCellDataFunc,
> > > called cell_func(). This custom function uses the underlying
> > > GtkListStore to render the cells: it uses gtk_tree_model_get() to
> > > fetch some values, and then g_object_set(ren
In any case, I really doubt that this has anything to do with
using threads.
I think it has, since this refreshing problem started since I had
do use gdk_trheads_enter()/leave() is some other part of the
application.
A naive guess of mine would be to suggest you try putting
gtk_widget_queue_
abel schie wrote:
> I've made a gtktreeviewcolumn with a custom GtkTreeCellDataFunc,
> called cell_func(). This custom function uses the underlying
> GtkListStore to render the cells: it uses gtk_tree_model_get() to
> fetch some values, and then g_object_set(renderer,...) to update the
> cell rend
abel schie wrote:
> I've made a gtktreeviewcolumn with a custom GtkTreeCellDataFunc,
> called cell_func(). This custom function uses the underlying
> GtkListStore to render the cells: it uses gtk_tree_model_get() to
> fetch some values, and then g_object_set(renderer,...) to update the
> cell rende
abel schie wrote:
[...]
My question is: how can I force g_object_set() to instantly redraw the
cell renderer? My first thought was: use gdk_threads_enter() and
gdk_threads_leave() also within cell_func(). But when I do that, I get
a lock while constructing the treeview, therefore the app
hangs. P
Hi,
I've made a gtktreeviewcolumn with a custom GtkTreeCellDataFunc,
called cell_func(). This custom function uses the underlying
GtkListStore to render the cells: it uses gtk_tree_model_get() to
fetch some values, and then g_object_set(renderer,...) to update the
cell renderer.
Now, there are s
10 matches
Mail list logo