CodeSlayerProjectsSelection

CodeSlayerProjectsSelection — Represents the nodes selected in the projects tree.

Synopsis

#include <codeslayer/codeslayer-projects-selection.h>

struct              CodeSlayerProjectsSelection;
CodeSlayerProjectsSelection * codeslayer_projects_selection_new
                                                        (void);
const gchar *       codeslayer_projects_selection_get_file_path
                                                        (CodeSlayerProjectsSelection *projects_selection);
void                codeslayer_projects_selection_set_file_path
                                                        (CodeSlayerProjectsSelection *projects_selection,
                                                         const gchar *file_path);
CodeSlayerProject * codeslayer_projects_selection_get_project
                                                        (CodeSlayerProjectsSelection *projects_selection);
void                codeslayer_projects_selection_set_project
                                                        (CodeSlayerProjectsSelection *projects_selection,
                                                         CodeSlayerProject *project);

Object Hierarchy

  GObject
   +----CodeSlayerProjectsSelection

Properties

  "file-path"                gchar*                : Read / Write
  "project"                  CodeSlayerProject*    : Read / Write

Description

Details

struct CodeSlayerProjectsSelection

struct CodeSlayerProjectsSelection;

codeslayer_projects_selection_new ()

CodeSlayerProjectsSelection * codeslayer_projects_selection_new
                                                        (void);

Creates a new CodeSlayerProjectsSelection.

Returns :

a new CodeSlayerProjectsSelection.

codeslayer_projects_selection_get_file_path ()

const gchar *       codeslayer_projects_selection_get_file_path
                                                        (CodeSlayerProjectsSelection *projects_selection);

projects_selection :

a CodeSlayerProjectsSelection.

Returns :

the fully qualified path to the projects_selection.

codeslayer_projects_selection_set_file_path ()

void                codeslayer_projects_selection_set_file_path
                                                        (CodeSlayerProjectsSelection *projects_selection,
                                                         const gchar *file_path);

Note: this is not a URI, but rather a normal file path.

projects_selection :

a CodeSlayerProjectsSelection.

file_path :

the fully qualified path to the projects_selection.

codeslayer_projects_selection_get_project ()

CodeSlayerProject * codeslayer_projects_selection_get_project
                                                        (CodeSlayerProjectsSelection *projects_selection);

projects_selection :

a CodeSlayerProjectsSelection.

Returns :

the CodeSlayerProject that this selection is a part of.

codeslayer_projects_selection_set_project ()

void                codeslayer_projects_selection_set_project
                                                        (CodeSlayerProjectsSelection *projects_selection,
                                                         CodeSlayerProject *project);

projects_selection :

a CodeSlayerProjectsSelection.

project :

the CodeSlayerProject that this selection is a part of.

Property Details

The "file-path" property

  "file-path"                gchar*                : Read / Write

The fully qualified file path where the projects_selection is located.

Default value: ""


The "project" property

  "project"                  CodeSlayerProject*    : Read / Write

a CodeSlayerProject.