SourceListSortable
Object Hierarchy:
Granite.Widgets.SourceListSortable
Granite.Widgets.SourceListSortable
Granite.Widgets.SourceListSortable
Granite.Widgets.SourceList.ExpandableItem
Granite.Widgets.SourceList.ExpandableItem
Granite.Widgets.SourceList.ExpandableItem->Granite.Widgets.SourceListSortable
Granite.Widgets.SourceList.Item
Granite.Widgets.SourceList.Item
Granite.Widgets.SourceList.Item->Granite.Widgets.SourceList.ExpandableItem
GLib.Object
GLib.Object
GLib.Object->Granite.Widgets.SourceList.Item
Description:
public interface SourceListSortable :
ExpandableItem
An interface for sorting items.
Since:
0.3
Content:
Methods:
public abstract bool allow_dnd_sorting ()
Whether this item will allow users to re-arrange its children via DnD.
public abstract int compare (Item a, Item b)
Should return a negative integer, zero, or a positive integer if a
sorts before b , a sorts with b , or a sorts after b respectively. If two
items compare as equal, their order in the sorted source list is undefined.
Signals:
Inherited Members:
All known members inherited from class
Granite.Widgets.SourceList.ExpandableItem
All known members inherited from class Granite.Widgets.SourceList.Item
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref