| Top |
GFile * ianjuta_project_chooser_get_selected (IAnjutaProjectChooser *obj,GError **err);
Gets the currently selected element in the project chooser.
A GFile corresponding to the selected
element in the project view or NULL if no valid node is selected.
The file is owned by the widget If you want to keep a pointer to
the file you must add a refcount using g_object_ref().
gboolean ianjuta_project_chooser_set_project_model (IAnjutaProjectChooser *obj,IAnjutaProjectManager *manager,AnjutaProjectNodeType child_type,GError **err);
Initialize a project chooser button allowing to select a parent node where you can add the nodes of type child_type. As special cases with
ANJUTA_PROJECT_ROOT |
all nodes are included |
ANJUTA_PROJECT_MODULE |
only modules are included, this can be used to add a new package. While ANJUTA_PROJECT_PACKAGE allows you to select a target using a package. |
“changed” signalvoid user_function (IAnjutaProjectChooser *obj, gpointer user_data)
Emitted when the selected node is changed.
Flags: Run Last