Sha256: 0deb67d858a86b23e8288251b23a8fb79c8b37ce183fee9661e28ce75313b680

Contents?: true

Size: 1.02 KB

Versions: 37

Compression:

Stored size: 1.02 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

37 entries across 37 versions & 2 rubygems

Version Path
fxruby-1.6.22.pre2-x86-mingw32 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.22.pre2 rdoc-sources/FXProgressDialog.rb
fxrubi-1.6.22.pre1-x86-mingw32 rdoc-sources/FXProgressDialog.rb
fxrubi-1.6.22.pre1 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.20-x86-mingw32 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.20-x86-linux rdoc-sources/FXProgressDialog.rb
fxruby-1.6.20 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.20-universal-darwin-10 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.19-x86-mingw32 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.14-mswin32 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.13-mswin32 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.11 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.10 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.12 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.13 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.14-universal-darwin-9 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.14 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.15-universal-darwin-9 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.15 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.15-x86-mswin32-60 rdoc-sources/FXProgressDialog.rb