Re: [gtkmm] How to sort the widgets in a box?



On Mon, 2003-12-15 at 16:22, Maurizio Colucci wrote:
[snip]
> Thanks, but I don't see how I can use that function to sort a list of buttons 
> by label on O(N logN).
[snip]

Why won't you use a TreeView? You would only need to create a
Button-like cell renderer. Updates and sorting would be automatic, and
AFAIK, can deal with lots of data easily.

Tassos
-- 
Beware of he who would deny you access to information, for in his
heart he dreams himself your master." 
	-- Commissioner Pravin Lal, Sid Meier's Alpha Centauri




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