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

Version Path
fxruby-1.6.48 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.48-x64-mingw32 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.48-x64-mingw-ucrt rdoc-sources/FXProgressDialog.rb
fxruby-1.6.48-x86-mingw32 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.47 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.47-x64-mingw-ucrt rdoc-sources/FXProgressDialog.rb
fxruby-1.6.47-x64-mingw32 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.47-x86-mingw32 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.46 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.46-x64-mingw32 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.46-x64-mingw-ucrt rdoc-sources/FXProgressDialog.rb
fxruby-1.6.46-x86-mingw32 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.45 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.45-x64-mingw32 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.45-x64-mingw-ucrt rdoc-sources/FXProgressDialog.rb
fxruby-1.6.45-x86-mingw32 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.44 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.44-x64-mingw32 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.44-x86-mingw32 rdoc-sources/FXProgressDialog.rb
fxruby-1.6.43 rdoc-sources/FXProgressDialog.rb