Package flumotion :: Package component :: Package producers :: Package soundcard :: Module wizard_gtk :: Class SoundcardStep
[hide private]

Class SoundcardStep

source code

                               gtk.VBox --+                
                                          |                
        gobject.GObject --+               |                
                          |               |                
    kiwi.ui.views.SlaveView --+           |                
                              |           |                
         kiwi.ui.views.BaseView --+       |                
                                  |       |                
kiwi.controllers.BaseController --+       |                
                                  |       |                
    kiwi.ui.delegates.GladeDelegate --+   |                
                                      |   |                
                   ui.glade.GladeBacked --+                
                                          |                
                       ui.glade.GladeWidget --+            
                                              |            
                    extern.log.log.Loggable --+            
                                              |            
                           ui.wizard.WizardStep --+        
                                                  |        
              admin.gtk.workerstep.WorkerWizardStep --+    
                                                      |    
                  admin.gtk.basesteps.AudioProducerStep --+
                                                          |
                                                         SoundcardStep

Instance Methods [hide private]
 
__init__(self, wizard, model)
Creates a new GladeDelegate.
source code
 
setup(self)
This is called after the step is constructed, to be able to do some initalization time logic in the steps.
source code
 
workerChanged(self, worker)
This is called when a worker changed.
source code
WizardStep instance, deferred or None. The deferred must return a WizardStep instance. None means that the next section should be fetched or if there are no more sections, to finish the wizard.
getNext(self)
Called when the user presses next in the wizard.
source code
 
_blockCombos(self, block=True) source code
 
_updateDevices(self) source code
 
_updateInputtrack(self) source code
 
_updateDepth(self) source code
 
_updateChannels(self) source code
 
_updateSamplerate(self) source code
 
on_source_element__changed(self, combo) source code
 
on_device__changed(self, combo) source code
 
on_input_track__changed(self, combo) source code
 
on_depth__changed(self, combo) source code

Inherited from admin.gtk.workerstep.WorkerWizardStep: runInWorker

Inherited from ui.wizard.WizardStep: __repr__, activated

Inherited from kiwi.ui.views.BaseView: check_focus, get_focus_widget, get_glade_adaptor, hide, hide_and_quit, quit_if_last, set_title, set_transient_for, show, show_all

Inherited from kiwi.ui.views.BaseView (private): _attach_callbacks, _setup_keypress_handler

Inherited from kiwi.ui.views.SlaveView: add_proxy, attach_slave, check_and_notify_validity, connect_multiple, detach_slave, disconnect_autoconnected, enable_window_controls, focus_toplevel, focus_topmost, force_validation, get_sizegroups, get_slave, get_toplevel, get_topmost_widget, get_widget, handler_block, handler_unblock, on_attach, on_startup, register_validate_function, set_controller, show_and_loop

Inherited from kiwi.ui.views.SlaveView (private): _attach_groups, _check_reserved, _get_notebooks, _get_toplevel, _merge_sizegroup, _on_child__validation_changed, _on_notebook_slave__validation_changed

Inherited from kiwi.controllers.BaseController: get_parent, get_view, on_key_press, set_keyactions, set_parent, set_view, update_keyactions

Inherited from kiwi.controllers.BaseController (private): _get_all_methods

Inherited from extern.log.log.Loggable: __providedBy__, __provides__, debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure, writeMarker

Class Variables [hide private]
  name = 'Soundcard'
hash(x)
  title = _('Sound Card')
hash(x)
  icon = 'soundcard.png'
str gladeFile = os.path.join(os.path.dirname(os.path.abspath(__fil...
filename of glade file containing the interface
  componentType = 'osssrc'
  docSection = 'help-configuration-assistant-producer-audio-soun...
hash(x)
  docAnchor = ''
hash(x)

Inherited from admin.gtk.basesteps.AudioProducerStep: section

Inherited from ui.wizard.WizardStep: docVersion, gladeTypedict, sidebarName

Inherited from ui.glade.GladeBacked: toplevel_name

Inherited from ui.glade.GladeBacked (private): _window

Inherited from kiwi.ui.views.SlaveView: controller, domain, gladefile, toplevel

Inherited from kiwi.controllers.BaseController: view

Inherited from extern.log.log.Loggable: __implemented__, logCategory

Instance Variables [hide private]

Inherited from ui.glade.GladeBacked: widgets

Method Details [hide private]

__init__(self, wizard, model)
(Constructor)

source code 

Creates a new GladeDelegate. The keyactions parameter is sent to kiwi.controllers.BaseController, the rest are sent to kiwi.ui.views.BaseView

Parameters:
  • wizard - the wizard this step is a part of
Overrides: kiwi.controllers.BaseController.__init__
(inherited documentation)

setup(self)

source code 

This is called after the step is constructed, to be able to do some initalization time logic in the steps.

Overrides: ui.wizard.WizardStep.setup
(inherited documentation)

workerChanged(self, worker)

source code 

This is called when a worker changed. Can be overridden in a subclass

Parameters:
  • worker - the new worker
Overrides: admin.gtk.workerstep.WorkerWizardStep.workerChanged
(inherited documentation)

getNext(self)

source code 

Called when the user presses next in the wizard.

Returns: WizardStep instance, deferred or None. The deferred must return a WizardStep instance. None means that the next section should be fetched or if there are no more sections, to finish the wizard.
name of next step
Overrides: ui.wizard.WizardStep.getNext
(inherited documentation)

Class Variable Details [hide private]

gladeFile

filename of glade file containing the interface
Type:
str
Value:
os.path.join(os.path.dirname(os.path.abspath(__file__)), 'wizard.glade\
')

docSection

hash(x)

Value:
'help-configuration-assistant-producer-audio-soundcard'