Python_2  1.0
Public Member Functions | Private Attributes | List of all members
_07_alarme_class.volume Class Reference

Class for setting parameters related to the volume control: mixer, channel, card, volume level, and a scale. More...

Public Member Functions

def __init__ (self, s, loc, intialvol)
 
def setVolume (self, v)
 
def getVolume (self)
 
def getChannel (self)
 
def setChannel (self, channel)
 
def on_move (self, value=0)
 
def volup (self)
 
def voldown (self)
 
def mouse_wheel (self, event)
 

Private Attributes

 __mixer
 
 __gmixer
 
 __scale
 
 __loc
 
 __channel
 
 __card
 
 __grep
 
 __ivol
 

Detailed Description

Class for setting parameters related to the volume control: mixer, channel, card, volume level, and a scale.

The behaviour is adjusted according to the operating system.

Constructor & Destructor Documentation

◆ __init__()

def _07_alarme_class.volume.__init__ (   self,
  s,
  loc,
  intialvol 
)

Member Function Documentation

◆ getChannel()

def _07_alarme_class.volume.getChannel (   self)

◆ getVolume()

def _07_alarme_class.volume.getVolume (   self)

◆ mouse_wheel()

def _07_alarme_class.volume.mouse_wheel (   self,
  event 
)
Respond to mouse wheel events.

References _07_alarme_class.volume.voldown(), and _07_alarme_class.volume.volup().

◆ on_move()

def _07_alarme_class.volume.on_move (   self,
  value = 0 
)
Use slider position to set the volume.

References _07_alarme_class.volume.__scale, and _07_alarme_class.volume.setVolume().

◆ setChannel()

def _07_alarme_class.volume.setChannel (   self,
  channel 
)

◆ setVolume()

def _07_alarme_class.volume.setVolume (   self,
  v 
)

◆ voldown()

def _07_alarme_class.volume.voldown (   self)

◆ volup()

def _07_alarme_class.volume.volup (   self)

Member Data Documentation

◆ __card

_07_alarme_class.volume.__card
private

◆ __channel

_07_alarme_class.volume.__channel
private

◆ __gmixer

_07_alarme_class.volume.__gmixer
private

◆ __grep

_07_alarme_class.volume.__grep
private

◆ __ivol

_07_alarme_class.volume.__ivol
private

◆ __loc

_07_alarme_class.volume.__loc
private

◆ __mixer

_07_alarme_class.volume.__mixer
private

◆ __scale

_07_alarme_class.volume.__scale
private

The documentation for this class was generated from the following file: