Re: Key-value file parser, howto get all groups and create loop from them
- From: David Nečas (Yeti) <yeti physics muni cz>
- To: gtk-app-devel-list gnome org
- Subject: Re: Key-value file parser, howto get all groups and create loop from them
- Date: Thu, 3 Aug 2006 21:46:35 +0200
On Thu, Aug 03, 2006 at 09:15:56PM +0200, rupert wrote:
One thing beside this that bothers me is that i now kicked the idea of
having buttons in the table, now I use a list and have only one pair of
buttons for all of them.
I got the Images changing whit a timeout in the old version, but in my
Treeview
i have to use pixbuf and I havent been able to change the pixbuf with my
timeout,
If I read it correctly you are trying to change "pixbuf"
property of a GdkPixbuf. This doesn't make sense -- don't
you get run-time warnings to console?
Change the pixbuf in the model:
pixbuf = gdk_pixbuf_new_from_file(...);
gtk_tree_store_set(treestore, &iter, column_id, pixbuf, -1);
g_object_unref(pixbuf);
and that's all. However, if you use some images repeatedly,
register them as stock icons or load the pixbufs only once
and reuse them.
Yeti
--
Anonyms eat their boogers.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]