What's the deal with gtkglarea?

2005-07-06 Thread David Morse
What's up with gtkglarea? The version in Fedora Core 4 has its most recent ChangeLog entry in 2002. The author's page for it is 404. Yet its popular enough to be in every distro. I thought I'd test compatibility of my app with Fedora Core 4. The compile barfs on this source code (which is ripp

How to draw a custom border across multiple cells in TreeView?

2005-07-06 Thread Nickolai Dobrynin
Hi, I have a simple text table with one short string in each cell. I display this table by using TreeView/ListStore, and I would like to draw a custom border of different color around several cells within the same row and spawning multiple columns, much in the same way this is done in spreadsheet

Re: GtkNotebook problem

2005-07-06 Thread David Cooke
Thanks to Chris Anderson for his reply. I have now found and fixed the problem, which was a pig because I didn't know where to start looking, and I was no longer familiar with my own code. The faults resulted from signal handlers being installed for 'focus-in-event', in the case of the GtkEnt

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 wit

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 upd

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(ren

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 o

Gtkmm: object creation delays

2005-07-06 Thread Andre Street
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 appear as a group, appare

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 gtk_widget_queue_

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 rend

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 s

Re: how can I show an image in the main window's drawing area?

2005-07-06 Thread Michal Porzuczek
> after clicked on the file_chooser_dialog's ok button, How can I manipulate > the widget in the main window to show the selected RGB file while in the > callback function? I'm not sure if this is what you need, but what you should do is create an expose_event signal for the drawing area where y

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 http://mail.gnome.org/mailman

how can I show an image in the main window's drawing area?

2005-07-06 Thread chenshu
after clicked on the file_chooser_dialog's ok button, How can I manipulate the widget in the main window to show the selected RGB file while in the callback function?___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/