Re: GTK Tree

2003-01-05 Thread David Neary
malo p wrote: Hi everyone I'm trying to code an explorer of directories and file and i want to do it with a gtk tree. Could someone explain me how it works, and how can i do ? How it works is roughly this - http://developer.gnome.org/doc/API/2.0/gtk/TreeWidgetObjects.html Data

Re: Problems with fast timeouts

2003-01-05 Thread Karsten Borgwaldt
Am Sonntag, 5. Januar 2003 01:40 schrieb Paul Davis: I wanted my timeout function to be called 200 times per second. Another word s, my timeout function to be called every 5 miliseconds. However, when I mesur ed the intervals with gettimeofday I found out that the timeout function was c

random crash

2003-01-05 Thread Ottavio Campana
It is happening a weirdy thing to me. The program I'm writing seems to be good, but I'm having some random crashes. I mean, sometimes it hangs and gives segfault. The probem is always in the same point: within a callback I need to add a row to a treeview. Sometimes it goes, sometimes

Re: random crash [treeview bug?]

2003-01-05 Thread Ottavio Campana
On Sun, Jan 05, 2003 at 03:18:35PM +0100, Ottavio Campana wrote: When it crashes gdb says that nothing particular. Is seems to be a signal problem, but nothing more. If I type where I've got a long list of functions (sometimes more than 90). What can it be? I think I fopund the problem:

Re: random crash [treeview bug?]

2003-01-05 Thread Sven Neumann
Hi, Ottavio Campana [EMAIL PROTECTED] writes: On Sun, Jan 05, 2003 at 03:18:35PM +0100, Ottavio Campana wrote: When it crashes gdb says that nothing particular. Is seems to be a signal problem, but nothing more. If I type where I've got a long list of functions (sometimes more than

Re: random crash [treeview bug?]

2003-01-05 Thread Ottavio Campana
On Sun, Jan 05, 2003 at 09:33:43PM +0100, Sven Neumann wrote: On Sun, Jan 05, 2003 at 03:18:35PM +0100, Ottavio Campana wrote: When it crashes gdb says that nothing particular. Is seems to be a signal problem, but nothing more. If I type where I've got a long list of functions

Re: random crash [treeview bug?]

2003-01-05 Thread Sven Neumann
Hi, Ottavio Campana [EMAIL PROTECTED] writes: at the beginning I call g_thread_init and then I close the critical code in gdk_threads_enter and gdk_threads_leave. I see my application (created with glade2) is running multitasking. that only assures that any global variables GTK+ and

Row height in treeview

2003-01-05 Thread r ve
Is the row height in a treeview adjustable in size? (preferably using a gtkrc, otherwise using a theme engine if no other solution is possible) I've tried anything I could think of but I don't seem to be able to make the white space between each row smaller. (ythickness won't work) - Rich

gdk's buffer

2003-01-05 Thread malo p
I'd like to access the gdk'buffer to modifyit and save it then. Is it possible? and can you tell me how ? please. I speak of the display buffer of gdk of course. thanx for your helpSeul le silence est grand, tout le reste n'est que faiblesseDo You Yahoo!? -- Une adresse @yahoo.fr gratuite et en

Re: 04: glib: g_list_free_1 should return -next

2003-01-05 Thread Owen Taylor
Guido Draheim [EMAIL PROTECTED] writes: sure, me too. However, it's not made depracated either, while quite some other functionality is not marked as such and I can not see quite why. So this free_1 function is not to be replaced by delete_link for real, isn't it... ;-) I don't really

Re: 04: glib: g_list_free_1 should return -next

2003-01-05 Thread Owen Taylor
Guido Draheim [EMAIL PROTECTED] writes: there are 36 more items on my list *grin* I'll feed them one at a time, so that people are not scared off and unwilling to discuss the things since they have better things to do than sit over a code review... giving it a few minutes a day is much

Re: Row height in treeview

2003-01-05 Thread Havoc Pennington
On Sun, Jan 05, 2003 at 11:08:37PM +0100, r ve wrote: Is the row height in a treeview adjustable in size? Nope, it's just a function of whatever's in the row. Extra whitespace should be the same as for GtkLabel and whatever else, it's making room for possible descenders from p and y and g