ide-git-remote-callbacks: Reference Manual

## ide-git-remote-callbacks ide-git-remote-callbacks |

## Functions

#define | IDE_TYPE_GIT_REMOTE_CALLBACKS
GgitRemoteCallbacks * | ide_git_remote_callbacks_new ()
gdouble | ide_git_remote_callbacks_get_fraction ()
IdeProgress * | ide_git_remote_callbacks_get_progress ()

## Properties

gdouble | fraction | Read

## Types and Values

| IdeGitRemoteCallbacks

## Object Hierarchy

        GObject
        ╰── GgitRemoteCallbacks
            ╰── IdeGitRemoteCallbacks

## Description

## Functions

### IDE_TYPE_GIT_REMOTE_CALLBACKS

    #define IDE_TYPE_GIT_REMOTE_CALLBACKS (ide_git_remote_callbacks_get_type())

### ide_git_remote_callbacks_new ()

    GgitRemoteCallbacks *
    ide_git_remote_callbacks_new (void);

### ide_git_remote_callbacks_get_fraction ()

    gdouble
    ide_git_remote_callbacks_get_fraction (IdeGitRemoteCallbacks *self);

Gets the fraction of the current operation. This should typically be bound using `g_object_bind_property()` to GtkProgressBar:fraction or similar progress widget.

#### Returns

The operation completion percentage, as a fraction between 0 and 1.

### ide_git_remote_callbacks_get_progress ()

    IdeProgress *
    ide_git_remote_callbacks_get_progress (IdeGitRemoteCallbacks *self);

Gets the IdeProgress for the operation.

#### Returns

An IdeProgress.

[transfer none]

## Types and Values

### IdeGitRemoteCallbacks

    typedef struct _IdeGitRemoteCallbacks IdeGitRemoteCallbacks;

## Property Details

### The `“fraction”` property

      “fraction”                 gdouble

A fraction containing the operation progress.

Flags: Read

Allowed values: [0,1]

Default value: 0