Package kiwi :: Package ui :: Package test :: Module recorder
[frames | no frames]

Module kiwi.ui.test.recorder

User interface event recorder and serializer.

This module provides an interface for creating, listening to and saving events. It uses the gobject introspection base class kiwi.ui.test.common.Base to gather widgets, windows and other objects.

The user interfaces are saved in a format so they can easily be played back by simply executing the script through a standard python interpreter.
Classes
ButtonClickedEvent This event represents a button click.
EntryActivateEvent This event represents an activate event for a GtkEntry, eg when the user presses enter in a GtkEntry.
EntrySetTextEvent This event represents a content modification of a GtkEntry.
Event Event is a base class for all events.
ImageMenuItemButtonReleaseEvent This event represents a click on a normal menu entry It's sort of a hack to use button-press-event, instea of listening to activate, but we'll get the active callback after the user specified callbacks are called, at which point it is already too late.
KiwiComboBoxChangedEvent This event represents a a selection of an item in a kiwi.ui.widgets.combobox.ComboBoxEntry or kiwi.ui.widgets.combobox.ComboBox.
MenuItemActivateEvent This event represents a user click on a menu item.
ObjectListDoubleClick This event represents a double click on a row in objectlist
ObjectListSelectionChanged This event represents a selection change on a kiwi.ui.objectlist.ObjectList, eg when the user selects or unselects a row.
Recorder Recorder takes care of attaching events to widgets, when the appear, and creates the events when the user is interacting with some widgets.
SignalEvent A SignalEvent is an Event which is tied to a GObject signal, Recorder uses this to automatically attach itself to a signal at which point this object will be instantiated.
ToolButtonReleaseEvent This event represents a click on a normal toolbar button Hackish, see ImageMenuItemButtonReleaseEvent for more details.
WindowDeleteEvent This event represents a user click on the close button in the window manager.

Exceptions
SkipEvent  

Function Summary
  get_event_types()
Returns the collection of event types.
  register_event_type(event_type)
Add an event type to a list of event types.

Variable Summary
Logger log = <kiwi.log.Logger instance at 0x3bd6c82c>

Function Details

get_event_types()

Returns the collection of event types.
Returns:
the event types.

register_event_type(event_type)

Add an event type to a list of event types.
Parameters:
event_type - a Event subclass

Variable Details

log

Type:
Logger
Value:
<kiwi.log.Logger instance at 0x3bd6c82c>                               

Generated by Epydoc 2.1 on Thu Oct 19 03:18:13 2006 http://epydoc.sf.net