Method

Gtk.ProgressBar.get_text

Declaration [src]

const char*
gtk_progress_bar_get_text (
  GtkProgressBar* pbar
)

Description [src]

Retrieves the text that is displayed with the progress bar.

The return value is a reference to the text, not a copy of it, so will become invalid if you change the text in the progress bar.

Gets propertyGtk.ProgressBar:text

Return value

Returns: const char*

text, or NULL; this string is owned by the widget and should not be modified or freed.

Ownership is not transferred to the caller
Can be NULL
The string is a NUL terminated UTF-8 string