Project
Object Hierarchy:
Description:
public class Project : Object
A base class for projects
Content:
Properties:
Creation methods:
Methods:
- public void add_file (File file)
Add a file to the project
- public int child_position (void* child)
Returns index of the child
- public ProjectItem get_item (void* node)
Returns the item for this node
- public void* get_parent (void* child)
Returns the parent node
- public bool is_leaf (void* node)
Is the given node a leaf node
- public int n_children (void* parent)
Get the number of children of a parent
- public void* nth_child (void* parent, int index)
Get an indexed child of a parent
- public void remove_file (File file)
Remove a file from the project
- public void save () throws Error
Save this project
Signals:
- public signal void node_changed (void* node)
Indicates a node changed in the project
- public signal void node_inserted (void* node)
Indicates a new node inserted into the project
- public signal void node_removed (void* parent, int index)
Indicates a node has been removed from the project
Inherited Members:
All known members inherited from class GLib.Object
- interface_find_property
- interface_install_property
- interface_list_properties
- @new
- new_valist
- newv
- new_with_properties
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- @get
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- is_floating
- notify_property
- @ref
- ref_sink
- replace_data
- replace_qdata
- remove_toggle_ref
- remove_weak_pointer
- @set
- 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
- notify
- ref_count