Sha256: d7f732de3ccd234730c5abdf5a3049dc493ba9a5ebd828fe52080a013219cae4
Contents?: true
Size: 1.01 KB
Versions: 94
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, width=0, height=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
94 entries across 94 versions & 1 rubygems