[linux-audio-dev] Lock-free gtk/jack interaction

Olivier Guilyardi ml at xung.org
Tue Mar 15 15:55:23 UTC 2005

Jens M Andreasen wrote:

> On Tue, 2005-03-15 at 09:36 +0100, Olivier Guilyardi wrote:
>>Yeah, I'd have to reparent widgets, destroy a gtk table, and show the whole 
>>thing up again. I guess it wouldn't be such an optimization. Needs testing though.
> Nah, no need to destroy ... a gtk_table_resize () is more like it.

Yeah I saw that, but that was at the time I was adding a new feature that allows 
to remove a specific track, so that I needed to move all subsequent tracks one 
level above. I then thought it was unusable in my case, dreaming about some 
spreahsheet-like gtk_table_insert_row(), etc...

But you're right, gtk_table_resize() would be useful in many cases.

> To move things around then? Perhaps gtk_table_attach () will do, or
> perhaps you'd have to move one step up to the parent class:
> gtk_container_remove (table,widget)
> http://www.gtk.org/api/2.6/gtk/GtkContainer.html#gtk-container-remove
> BTW: I think jack has left the building by now ...

Nah, he's on the roof sleeping in the sun. He should be back soon ;-) But I 
really feel like my gtk knowledge is getting to its limits. I need to consider 
that side of the problem seriously.



More information about the Linux-audio-dev mailing list