GtkCList::sort

GtkCList::sort

Sorts the GtkClist according to the settings of sort column and sort type. The sort function knows to distinguish between normal text and pixtext, so that a mixture of normal and pixtext will be sorted right.

The items are handled as text when being compared, so numbers will be not in a "natural" order.

Here is an example how to let the user sort the list by columns when he clicks on a column title. The sort order (type) is changed everytime he clicks on the same column title.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.