Table of Contents

Class ProgressBar

Namespace
Gtk.Internal
Assembly
Gtk-4.0.dll
public class ProgressBar
Inheritance
ProgressBar
Inherited Members

Methods

GetEllipsize(IntPtr)

Calls native method gtk_progress_bar_get_ellipsize.

public static extern EllipsizeMode GetEllipsize(IntPtr pbar)

Parameters

pbar IntPtr

Transfer ownership: None Nullable: False

Returns

EllipsizeMode

Transfer ownership: None Nullable: False

GetFraction(IntPtr)

Calls native method gtk_progress_bar_get_fraction.

public static extern double GetFraction(IntPtr pbar)

Parameters

pbar IntPtr

Transfer ownership: None Nullable: False

Returns

double

Transfer ownership: None Nullable: False

GetGType()

Calls native function gtk_progress_bar_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetInverted(IntPtr)

Calls native method gtk_progress_bar_get_inverted.

public static extern bool GetInverted(IntPtr pbar)

Parameters

pbar IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetPulseStep(IntPtr)

Calls native method gtk_progress_bar_get_pulse_step.

public static extern double GetPulseStep(IntPtr pbar)

Parameters

pbar IntPtr

Transfer ownership: None Nullable: False

Returns

double

Transfer ownership: None Nullable: False

GetShowText(IntPtr)

Calls native method gtk_progress_bar_get_show_text.

public static extern bool GetShowText(IntPtr pbar)

Parameters

pbar IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetText(IntPtr)

Calls native method gtk_progress_bar_get_text.

public static extern NullableUtf8StringUnownedHandle GetText(IntPtr pbar)

Parameters

pbar IntPtr

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: True

New()

Calls native constructor gtk_progress_bar_new.

public static extern IntPtr New()

Returns

IntPtr

Transfer ownership: None Nullable: False

Pulse(IntPtr)

Calls native method gtk_progress_bar_pulse.

public static extern void Pulse(IntPtr pbar)

Parameters

pbar IntPtr

Transfer ownership: None Nullable: False

SetEllipsize(IntPtr, EllipsizeMode)

Calls native method gtk_progress_bar_set_ellipsize.

public static extern void SetEllipsize(IntPtr pbar, EllipsizeMode mode)

Parameters

pbar IntPtr

Transfer ownership: None Nullable: False

mode EllipsizeMode

Transfer ownership: None Nullable: False

SetFraction(IntPtr, double)

Calls native method gtk_progress_bar_set_fraction.

public static extern void SetFraction(IntPtr pbar, double fraction)

Parameters

pbar IntPtr

Transfer ownership: None Nullable: False

fraction double

Transfer ownership: None Nullable: False

SetInverted(IntPtr, bool)

Calls native method gtk_progress_bar_set_inverted.

public static extern void SetInverted(IntPtr pbar, bool inverted)

Parameters

pbar IntPtr

Transfer ownership: None Nullable: False

inverted bool

Transfer ownership: None Nullable: False

SetPulseStep(IntPtr, double)

Calls native method gtk_progress_bar_set_pulse_step.

public static extern void SetPulseStep(IntPtr pbar, double fraction)

Parameters

pbar IntPtr

Transfer ownership: None Nullable: False

fraction double

Transfer ownership: None Nullable: False

SetShowText(IntPtr, bool)

Calls native method gtk_progress_bar_set_show_text.

public static extern void SetShowText(IntPtr pbar, bool showText)

Parameters

pbar IntPtr

Transfer ownership: None Nullable: False

showText bool

Transfer ownership: None Nullable: False

SetText(IntPtr, NullableUtf8StringHandle)

Calls native method gtk_progress_bar_set_text.

public static extern void SetText(IntPtr pbar, NullableUtf8StringHandle text)

Parameters

pbar IntPtr

Transfer ownership: None Nullable: False

text NullableUtf8StringHandle

Transfer ownership: None Nullable: True