GtkProgress

GtkProgress

Properties

gboolean activity-mode Read / Write
gboolean show-text Read / Write
gfloat text-xalign Read / Write
gfloat text-yalign Read / Write

Types and Values

struct GtkProgress

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── GtkProgress
                    ╰── GtkProgressBar

Implemented Interfaces

GtkProgress implements AtkImplementorIface and GtkBuildable.

Includes

#include <gtk/gtk.h>

Description

Functions

gtk_progress_set_show_text ()

void
gtk_progress_set_show_text (GtkProgress *progress,
                            gboolean show_text);

gtk_progress_set_show_text is deprecated and should not be used in newly-written code.


gtk_progress_set_text_alignment ()

void
gtk_progress_set_text_alignment (GtkProgress *progress,
                                 gfloat x_align,
                                 gfloat y_align);

gtk_progress_set_text_alignment is deprecated and should not be used in newly-written code.


gtk_progress_set_format_string ()

void
gtk_progress_set_format_string (GtkProgress *progress,
                                const gchar *format);

gtk_progress_set_format_string is deprecated and should not be used in newly-written code.


gtk_progress_set_adjustment ()

void
gtk_progress_set_adjustment (GtkProgress *progress,
                             GtkAdjustment *adjustment);

gtk_progress_set_adjustment is deprecated and should not be used in newly-written code.


gtk_progress_set_percentage ()

void
gtk_progress_set_percentage (GtkProgress *progress,
                             gdouble percentage);

gtk_progress_set_percentage is deprecated and should not be used in newly-written code.


gtk_progress_set_value ()

void
gtk_progress_set_value (GtkProgress *progress,
                        gdouble value);

gtk_progress_set_value is deprecated and should not be used in newly-written code.


gtk_progress_get_value ()

gdouble
gtk_progress_get_value (GtkProgress *progress);

gtk_progress_get_value is deprecated and should not be used in newly-written code.


gtk_progress_set_activity_mode ()

void
gtk_progress_set_activity_mode (GtkProgress *progress,
                                gboolean activity_mode);

gtk_progress_set_activity_mode is deprecated and should not be used in newly-written code.


gtk_progress_get_current_text ()

gchar *
gtk_progress_get_current_text (GtkProgress *progress);

gtk_progress_get_current_text is deprecated and should not be used in newly-written code.


gtk_progress_get_text_from_value ()

gchar *
gtk_progress_get_text_from_value (GtkProgress *progress,
                                  gdouble value);

gtk_progress_get_text_from_value is deprecated and should not be used in newly-written code.


gtk_progress_get_current_percentage ()

gdouble
gtk_progress_get_current_percentage (GtkProgress *progress);

gtk_progress_get_current_percentage is deprecated and should not be used in newly-written code.


gtk_progress_get_percentage_from_value ()

gdouble
gtk_progress_get_percentage_from_value
                               (GtkProgress *progress,
                                gdouble value);

gtk_progress_get_percentage_from_value is deprecated and should not be used in newly-written code.


gtk_progress_configure ()

void
gtk_progress_configure (GtkProgress *progress,
                        gdouble value,
                        gdouble min,
                        gdouble max);

gtk_progress_configure is deprecated and should not be used in newly-written code.

Types and Values

struct GtkProgress

struct GtkProgress;

GtkProgress is deprecated and should not be used in newly-written code.

Property Details

The “activity-mode” property

  “activity-mode”            gboolean

If TRUE, the GtkProgress is in activity mode, meaning that it signals something is happening, but not how much of the activity is finished. This is used when you're doing something but don't know how long it will take.

Flags: Read / Write

Default value: FALSE


The “show-text” property

  “show-text”                gboolean

Whether the progress is shown as text.

Flags: Read / Write

Default value: FALSE


The “text-xalign” property

  “text-xalign”              gfloat

The horizontal text alignment, from 0 (left) to 1 (right). Reversed for RTL layouts.

Flags: Read / Write

Allowed values: [0,1]

Default value: 0.5


The “text-yalign” property

  “text-yalign”              gfloat

The vertical text alignment, from 0 (top) to 1 (bottom).

Flags: Read / Write

Allowed values: [0,1]

Default value: 0.5