Re: gtk_clist_remove : bug or undocumented feature ;)



On Tue, Jun 26, 2001 at 10:24:02PM +0000, David Goncalves wrote:

> I'm currently experiencing a strange reaction from a gtk_clist.
> I have a gtk_clist configured with GTK_SELECTION_BROWSE and
> when i use gtk_clist_remove to remove the LAST row, an invisible
> row stay in the list and is unusable...

It could be that the unusable last row is just blank space left in the
clist's enclosing window.  Try setting the policy of the window that
holds the clist to allow-shrink and auto-shrink using the
gtk_window_set_policy() routine.

-- John Kodis.





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