Sha256: 3c2fec6c5ce8f09305da91209fde6d9c29a44ce7a09e3aa1fdb4680db664df64
Contents?: true
Size: 1.01 KB
Versions: 18
Compression:
Stored size: 1.01 KB
Contents
module Fox # # A progress dialog is a simple dialog which is used to # keep a user informed of the progress of a lengthy operation # in a program and that the program is in fact still working. # # === Options # # +PROGRESSDIALOG_NOCANCEL+:: Default is no cancel button # +PROGRESSDIALOG_CANCEL+:: Enable the cancel button # +PROGRESSDIALOG_NORMAL+:: same as <tt>DECOR_TITLE|DECOR_BORDER</tt> # class FXProgressDialog < FXDialogBox # Progress message [String] attr_accessor :message # Amount of progress [Integer] attr_accessor :progress # Maximum value for progress [Integer] attr_accessor :total # # Construct progress dialog box with given caption and message string. # def initialize(owner, caption, label, opts=PROGRESSDIALOG_NORMAL, x=0, y=0, w=0, h=0) # :yields: theProgressDialog end # Increment progress by given _amount_. def increment(amount); end # Return true if the operation was cancelled. def cancelled?; end end end
Version data entries
18 entries across 18 versions & 1 rubygems