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

Version Path
fxruby-1.2.2 rdoc-sources/FXProgressDialog.rb
fxruby-1.2.3 rdoc-sources/FXProgressDialog.rb
fxruby-1.2.4 rdoc-sources/FXProgressDialog.rb
fxruby-1.2.5 rdoc-sources/FXProgressDialog.rb
fxruby-1.4.0 rdoc-sources/FXProgressDialog.rb
fxruby-1.2.6 rdoc-sources/FXProgressDialog.rb
fxruby-1.4.2 rdoc-sources/FXProgressDialog.rb
fxruby-1.4.1 rdoc-sources/FXProgressDialog.rb
fxruby-1.4.3 rdoc-sources/FXProgressDialog.rb
fxruby-1.4.4 rdoc-sources/FXProgressDialog.rb
fxruby-1.4.5 rdoc-sources/FXProgressDialog.rb
fxruby-1.4.6 rdoc-sources/FXProgressDialog.rb
fxruby-1.4.7 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.0 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.1 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.2 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.3 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.4 rdoc-sources/FXProgressDialog.rb