Forum und email

GtkProgress

A base class for GtkProgressBar.

オブジェクトの階層

GObject
`-- GtkObject
       `-- GtkWidget
              `-- GtkProgress

Direct Subclasses

説明

A GtkProgress is the abstract base class used to derive a GtkProgressBar which provides a visual representation of the progress of a long running operation.

メソッド

configure()
  非推奨 Reconfigure minimum, maximum and current value.
get_current_percentage()
  非推奨 Returns the current progress as a percentage.
get_current_text()
  非推奨 Returns the current text.
get_percentage_from_value()
  非推奨 Calculates the percentage from the supplied absolute progress value.
get_text_from_value()
  非推奨 Returns the text based on the supplied value.
get_value()
  非推奨 Returns the current progress complete value.
set_activity_mode()
  非推奨 Sets the progress bar to activity or percentage mode.
set_adjustment()
  非推奨 Associates a GtkAdjustment with the GtkProgress.
set_format_string()
  非推奨 Sets a format string used to display text.
set_percentage()
  非推奨 Sets the current percentage completion.
set_show_text()
  非推奨 Controls whether progress text is shown.
set_text_alignment()
  非推奨 Sets the text alignment in the progress bar area.
set_value()
  非推奨 Sets the value to an absolute value.

プロパティ

これらにアクセスするには、get_property および set_property メソッドを使用します。

activity-mode:
  Percentage or activity mode.
show-text:
  Whether the progress is shown as text.
text-xalign:
  Horizontal text alignment.
text-yalign:
  Vertical text alignment.