diff options
author | Stefan Jeske <stefan@gtk.org> | 1998-07-21 04:49:01 +0000 |
---|---|---|
committer | Stefan Jeske <stefan@src.gnome.org> | 1998-07-21 04:49:01 +0000 |
commit | dbfe3d3967f3efc89095337b160ebbb2f6805f51 (patch) | |
tree | e4077d3ad6f4bbb04f4c7b30557b748babfebab8 /gtk/gtkprogressbar.h | |
parent | 7c30f2a15fbfa5f50d4859d635ab15ad1d6e1d37 (diff) | |
download | gdk-pixbuf-dbfe3d3967f3efc89095337b160ebbb2f6805f51.tar.gz |
Fixed wrong size of activity indicator. It is settable now as a fraction
Tue Jul 21 06:32:43 1998 Stefan Jeske <stefan@gtk.org>
* gtk/gtkprogressbar.{c,h} gtk/testgtk.c: Fixed wrong size of
activity indicator. It is settable now as a fraction of the
total width/height using gtk_progress_bar_set_activity_blocks.
Renamed gtk_progress_bar_set_number_of_blocks to
gtk_progress_bar_set_discrete_blocks.
Diffstat (limited to 'gtk/gtkprogressbar.h')
-rw-r--r-- | gtk/gtkprogressbar.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/gtkprogressbar.h b/gtk/gtkprogressbar.h index 6099ba364..a8f235fa0 100644 --- a/gtk/gtkprogressbar.h +++ b/gtk/gtkprogressbar.h @@ -64,6 +64,7 @@ struct _GtkProgressBar gint activity_pos; guint activity_step; + guint activity_blocks; guint activity_dir : 1; }; @@ -80,10 +81,12 @@ void gtk_progress_bar_construct (GtkProgressBar *pbar, GtkAdjustment *adjustment); void gtk_progress_bar_set_bar_style (GtkProgressBar *pbar, GtkProgressBarStyle style); -void gtk_progress_bar_set_number_of_blocks (GtkProgressBar *pbar, +void gtk_progress_bar_set_discrete_blocks (GtkProgressBar *pbar, guint blocks); void gtk_progress_bar_set_activity_step (GtkProgressBar *pbar, guint step); +void gtk_progress_bar_set_activity_blocks (GtkProgressBar *pbar, + guint blocks); void gtk_progress_bar_set_orientation (GtkProgressBar *pbar, GtkProgressBarOrientation orientation); void gtk_progress_bar_update (GtkProgressBar *pbar, |