Package flumotion :: Package admin :: Package gtk :: Module spyglass :: Class Controller
[hide private]

Class Controller

source code

object --+    
         |    
??.GObject --+
             |
            Controller

Controller for a spyglass, used for viewing a video feed. The controller's model takes a raw video feed as accepted by ximagesink.

Instance Methods [hide private]
 
__init__(self)
Create a new spyglass controller.
source code
 
prepare(self)
Prepares the controller.
source code
 
add_focus(self, key, description)
Adds a focus point for the spyglass.
source code
 
set_focus(self, key)
Sets the focus point in the view given by the key.
source code
 
_view_have_xid_cb(self, view, xid) source code
 
_view_focus_changed_cb(self, view, key) source code

Inherited from unreachable.GObject: __cmp__, __copy__, __deepcopy__, __delattr__, __gdoc__, __gobject_init__, __hash__, __new__, __repr__, __setattr__, chain, connect, connect_after, connect_object, connect_object_after, disconnect, disconnect_by_func, emit, emit_stop_by_name, freeze_notify, get_data, get_properties, get_property, handler_block, handler_block_by_func, handler_disconnect, handler_is_connected, handler_unblock, handler_unblock_by_func, notify, props, set_data, set_properties, set_property, stop_emission, thaw_notify, weak_ref

Inherited from object: __getattribute__, __reduce__, __reduce_ex__, __str__

Class Variables [hide private]
  __gtype__ = <GType flumotion+admin+gtk+spyglass+Controller (14...
Properties [hide private]

Inherited from unreachable.GObject: __grefcount__

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Create a new spyglass controller. The spyglass controller needs to be prepared.

Overrides: object.__init__

prepare(self)

source code 

Prepares the controller. Returns immediately. Emits 'prepared' signal when it is done preparing.

add_focus(self, key, description)

source code 

Adds a focus point for the spyglass.

Parameters:
  • key (object) - the key for this focus point.
  • description (string) - the description for the focus point in the view.

set_focus(self, key)

source code 

Sets the focus point in the view given by the key.

Parameters:
  • key (object) - the key for the focus point.

Class Variable Details [hide private]

__gtype__

Value:
<GType flumotion+admin+gtk+spyglass+Controller (148669064)>