IdeProjectItem

IdeProjectItem

Functions

Properties

IdeProjectItem * parent Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── IdeObject
        ╰── IdeProjectItem

Description

Functions

ide_project_item_new ()

IdeProjectItem *
ide_project_item_new (IdeProjectItem *parent);

Parameters

parent

an IdeProjectItem.

[nullable]

Returns

an IdeProjectItem.

[transfer full]


ide_project_item_get_parent ()

IdeProjectItem *
ide_project_item_get_parent (IdeProjectItem *item);

Retrieves the parent IdeProjectItem of item , or NULL if item is the root of the project tree.

Returns

An IdeProjectItem or NULL if the item is the root of the tree.

[transfer none][nullable]


ide_project_item_append ()

void
ide_project_item_append (IdeProjectItem *item,
                         IdeProjectItem *child);

ide_project_item_remove ()

void
ide_project_item_remove (IdeProjectItem *item,
                         IdeProjectItem *child);

ide_project_item_get_children ()

GSequence *
ide_project_item_get_children (IdeProjectItem *item);

A scalable list containing the children of the item.

Returns

a GSequence.

[transfer none]

Types and Values

IDE_TYPE_PROJECT_ITEM

#define IDE_TYPE_PROJECT_ITEM (ide_project_item_get_type())

struct IdeProjectItemClass

struct IdeProjectItemClass {
  IdeObjectClass parent_class;
};

IdeProjectItem

typedef struct _IdeProjectItem IdeProjectItem;

Property Details

The “parent” property

  “parent”                   IdeProjectItem *

The parent project item, if not the root.

Flags: Read / Write