ExpandableItem
Object Hierarchy:
Granite.Widgets.SourceList.ExpandableItem
Granite.Widgets.SourceList.ExpandableItem
Granite.Widgets.SourceList.ExpandableItem
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 class ExpandableItem :
Item
Content:
Properties:
Creation methods:
Methods:
public void add (Item item)
Adds an item.
public void clear ()
public void collapse_all (bool inclusive = true , bool recursive = true )
Collapses the item and/or its children.
public void collapse_with_parents ()
Recursively collapses the item along with its parent(s).
public bool contains (Item item)
Checks whether the item contains the specified child.
public void expand_all (bool inclusive = true , bool recursive = true )
Expands the item and/or its children.
public void expand_with_parents ()
Recursively expands the item along with its parent(s).
public void remove (Item item)
Removes an item.
Signals:
public signal void child_added (Item item)
Emitted when an item is added.
public signal void child_removed (Item item)
Emitted when an item is removed.
public virtual signal void toggled ()
Emitted when the item is expanded or collapsed.
Inherited Members:
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