Parent

Files

Wx::MediaCtrl

Extend with a nicer interface to get_state

Public Instance Methods

is_paused() click to toggle source

Returns true if the media is currently paused, else false

# File wx/classes/mediactrl.rb, line 35
    def is_paused
      get_state == Wx::MEDIASTATE_PAUSED
    end
is_playing() click to toggle source

Returns true if the media is currently playing, else false

# File wx/classes/mediactrl.rb, line 39
    def is_playing
      get_state == Wx::MEDIASTATE_PLAYING
    end
is_stopped() click to toggle source

Returns true if the media is currently stopped, else false

# File wx/classes/mediactrl.rb, line 43
    def is_stopped
      get_state == Wx::MEDIASTATE_STOPPED
    end

Disabled; run with $DEBUG to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.