Forum und email

GtkProgress

A base class for GtkProgressBar.

Йерархия на обектите

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

Директни подкласове

Описание

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.