PHP-GTK
Thursday, October 23, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkTreeView::set_model
GtkTreeView::set_row_separator_funcnext

Last updated: Sun, 12 May 2013
view this page in English

GtkTreeView::set_reorderable

This function is a convenience function to allow you to reorder models that support the GtkDragSourceIface and the GtkDragDestIface. Both GtkTreeStore and GtkListStore support these. If reorderable is true, then the user can reorder the model by dragging and dropping rows. The developer can listen to these changes by connecting to the model's "row-inserted" and "row-deleted" signals.

This function does not give you any degree of control over the order - any reordering is allowed. If more control is needed, you should probably handle drag and drop manually.

See also: get_reorderable()


User Contributed Notes
gtk.gtktreeview.method.set_reorderable.php
add a note about notes
There are no user contributed notes for this page.


previousGtkTreeView::set_model
GtkTreeView::set_row_separator_funcnext

Last updated: Sun, 12 May 2013
view this page in English


credits 

PHP  Copyright © 2001-2014 The PHP Group
 All rights reserved.
Last updated: Sun May 12 20:51:01 2013 CEST