how can I read the data in the RGB image file?

2005-07-06 Thread chenshu
there seems to be no fget() and fput() function in the gtk system, how can I get the data to the variables from the image file? if using fprintf to do that?___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

gtktable, scrollbar and removing widgets from the table

2005-07-06 Thread Markus Fischer
Hi, I'm using the table to add 3 widgets row-wise on request. Since the gtktable may grow bigger then space may be available, I've put it into a gtkscrolledwindow and set its policy to auto/auto for horizontal/vertical. Adding widget (rows) is no problem. But when my code removes them, the

Re: g_object_set and threads

2005-07-06 Thread abel schie
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

Re: g_object_set and threads

2005-07-06 Thread abel schie
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

Re: Gtkmm: object creation delays

2005-07-06 Thread Eduardo M KALINOWSKI
Andre Street wrote: I've just finished my first Gtkmm front panel. I managed to solve most problems, except this one I have a loop which is supposed to 1. perform an action, 2. .set a Pixmap 3. repeat above a number of times. Problem is, when the loop is performed, the pixmaps only

Re: g_object_set and threads

2005-07-06 Thread Paul Pogonyshev
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(renderer,...) to

Re: g_object_set and threads

2005-07-06 Thread abel schie
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

Re: g_object_set and threads

2005-07-06 Thread Paul Pogonyshev
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 with

gtkdoc-mkdb maybe a bug

2005-07-06 Thread Mike Emmel
It looks like there may be a problem compiling cairo since it uses gtkdoc-mkdb which is built I think in the gtk build which requires cairo. If the version is too old the build may fail. I saw a failure in a cairo build which hinted that this may be a problem. Mike

Re: gtkdoc-mkdb maybe a bug

2005-07-06 Thread Matthias Clasen
On Wed, 2005-07-06 at 15:05 -0400, Mike Emmel wrote: It looks like there may be a problem compiling cairo since it uses gtkdoc-mkdb which is built I think in the gtk build which requires cairo. If the version is too old the build may fail. I saw a failure in a cairo build which hinted that