Class: Wx::MediaCtrl
- Inherits:
-
Object
- Object
- Wx::MediaCtrl
- Defined in:
- lib/wx/classes/mediactrl.rb
Overview
Extend with a nicer interface to get_state
Instance Method Summary collapse
-
#is_paused ⇒ Object
Returns true if the media is currently paused, else false.
-
#is_playing ⇒ Object
Returns true if the media is currently playing, else false.
-
#is_stopped ⇒ Object
Returns true if the media is currently stopped, else false.
Instance Method Details
#is_paused ⇒ Object
Returns true if the media is currently paused, else false
35 36 37 |
# File 'lib/wx/classes/mediactrl.rb', line 35 def is_paused get_state == Wx::MEDIASTATE_PAUSED end |