Re: [gtk-list] Clist column swapping order?



On Thu, Jun 03, 1999 at 12:44:29PM -0500, Edward March wrote:

> 	Is there an easy way to swap column in a clist widget ? 

No, there is no way yet.

> 	without reading every line and swapping the order myself in a loop 
> 	any function internal to Gtk to do this for me quickly  ??
> 	
> 	if not any ideas on how to do it quickly ??

The correct way (calling gtk_clist_get/set_text) will
be very slow. So there is only the ugly way to work
directly with clist->row_list or maybe its even easier
to call gtk_clist_clear and build a new list.

bye,
  Lars



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