PROGRAM(progress_bar);
// A simple progress bar. Useful when you are doing things that take a long
// time. Try to always have an 'abort' button whenever it makes sence.
// IMG: GTK.Progress_bar()->update(0.1)
// IMG: GTK.Progress_bar()->set_show_text(1)->update(0.3)
// IMG: GTK.Progress_bar()->update(0.6)
// IMG: GTK.Progress_bar()->update(1.0)
INHERIT(progress);
COMPLEX_FUNCTION(create);
COMPLEX_FUNCTION(update, float);
NAME_ARGS(fraction);
COMPLEX_FUNCTION(set_bar_style, int);
NAME_ARGS(style);
// One of GTK.ProgressContinuous or GTK.ProgressDiscrete
COMPLEX_FUNCTION(set_discrete_blocks, int);
NAME_ARGS(blocks);
COMPLEX_FUNCTION(set_activity_step, int);
NAME_ARGS(stepp);
COMPLEX_FUNCTION(set_activity_blocks, int);
NAME_ARGS(blocks);
COMPLEX_FUNCTION(set_orientation, int);
NAME_ARGS(style);
// One of 
// GTK.ProgressLeftToRight, GTK.ProgressRightToLeft,
// GTK.ProgressBottomToTop or GTK.ProgressTopToBottom


CLASSMEMBER(activity_pos, int);
CLASSMEMBER(activity_step, int);
CLASSMEMBER(activity_blocks, int);
CLASSMEMBER(activity_dir, int);
CLASSMEMBER(blocks, int);
CLASSMEMBER(orientation, int);
CLASSMEMBER(bar_style, int);
