Re: Misc newbie stuff I can't work out



Tom Morton wrote:
> How do i get a GtkTable to contract when i hide() a row of stuff it contains?
> It simply adds more space between the remaining rows (unless i resize the
> window slightly, then it shrinks. can i make it do that myself?)

This one I can help with: just do a gtk_widget_queue_resize() on the
enclosing widget:

	gtk_widget_queue_resize( GTK_WIDGET( foo )->parent );

There's probably a better way .. but this works for me.

John




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]