Parent

Methods

Files

Wx::BusyCursor

Emulates the wxWidgets BusyCursor class, by providing a scope within which a busy cursor will be shown

Public Class Methods

busy(cursor = Wx::HOURGLASS_CURSOR) {|| ...} click to toggle source

Only one class method, optionally accepting a cursor that should be shown, defaulting to an hour glass cursor.

# File wx/classes/busycursor.rb, line 6
  def self.busy(cursor = Wx::HOURGLASS_CURSOR)
    Wx::begin_busy_cursor(cursor)
    yield
  ensure
    Wx::end_busy_cursor
  end

Disabled; run with $DEBUG to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.