ide-diagnostics-manager

ide-diagnostics-manager

Functions

Properties

gboolean busy Read

Signals

Types and Values

Object Hierarchy

    GObject
    ╰── IdeObject
        ╰── IdeDiagnosticsManager

Implemented Interfaces

IdeDiagnosticsManager implements GInitable.

Description

Functions

ide_diagnostics_manager_get_busy ()

gboolean
ide_diagnostics_manager_get_busy (IdeDiagnosticsManager *self);

Gets if the diagnostics manager is currently executing a diagnosis.

Returns

TRUE if the IdeDiagnosticsManager is busy diagnosing.


ide_diagnostics_manager_get_diagnostics_for_file ()

IdeDiagnostics *
ide_diagnostics_manager_get_diagnostics_for_file
                               (IdeDiagnosticsManager *self,
                                GFile *file);

This function collects all of the diagnostics that have been collected for file and returns them as a new IdeDiagnostics to the caller.

The IdeDiagnostics structure will contain zero items if there are no diagnostics discovered. Therefore, this function will never return a NULL value.

Parameters

self

An IdeDiagnosticsManager

 

file

a GFile to retrieve diagnostics for

 

Returns

A new IdeDiagnostics.

[transfer full]


ide_diagnostics_manager_get_sequence_for_file ()

guint
ide_diagnostics_manager_get_sequence_for_file
                               (IdeDiagnosticsManager *self,
                                GFile *file);

ide_diagnostics_manager_update_group_by_file ()

void
ide_diagnostics_manager_update_group_by_file
                               (IdeDiagnosticsManager *self,
                                IdeBuffer *buffer,
                                GFile *new_file);

Types and Values

IDE_TYPE_DIAGNOSTICS_MANAGER

#define IDE_TYPE_DIAGNOSTICS_MANAGER (ide_diagnostics_manager_get_type())

IdeDiagnosticsManager

typedef struct _IdeDiagnosticsManager IdeDiagnosticsManager;

Property Details

The “busy” property

  “busy”                     gboolean

If the diagnostics manager is busy.

Flags: Read

Default value: FALSE

Signal Details

The “changed” signal

void
user_function (IdeDiagnosticsManager *self,
               gpointer               user_data)

This signal is emitted when the diagnostics have changed for any file managed by the IdeDiagnosticsManager.

Parameters

self

an IdeDiagnosticsManager

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last