Method

IdeRunCommandslist_by_kind

Declaration

GListModel*
ide_run_commands_list_by_kind (
  IdeRunCommands* self,
  IdeRunCommandKind kind
)

Description

Creates a new GListModel of IdeRunCommand filtered by kind

The model will update as new commands are added or removed from self.

Parameters

kind

Type: IdeRunCommandKind

An IdeRunCommandKind.

Return value

Type: A list model of GObject

A GListModel.

The caller of the method takes ownership of the data, and is responsible for freeing it.