# Class k.u.t.r.Recorder(WidgetIntrospecter):

Part of kiwi.ui.test.recorder View In Hierarchy

Recorder takes care of attaching events to widgets, when the appear, and creates the events when the user is interacting with some widgets. When the tracked program is closed the events are serialized into a script which can be played back with help of `kiwi.ui.test.player.Player`.

Method | __init__ | Create a new Recorder object.
Method | execute | Undocumented
Method | _emission_window__delete_event | Undocumented
Method | _configure_event_types | Undocumented
Method | _add_event | Undocumented
Method | _listen_event | Undocumented
Method | window_removed | Undocumented
Method | parse_one | Undocumented
Method | save | Collect events and serialize them into a script and save

Inherited from WidgetIntrospecter:

Method | _event_handler | Undocumented
Method | _check_event | Undocumented
Method | _window_added | Undocumented
Method | _window_removed | Undocumented
Method | _add_widget | Undocumented
Method | register_event_handler | Undocumented
Method | ignore | Undocumented
Method | GtkWidget | Called when a GtkWidget is about to be traversed
Method | GtkContainer | Called when a GtkContainer is about to be traversed
Method | GtkDialog | Called when a GtkDialog is about to be traversed
Method | GtkMenuItem | Called when a GtkMenuItem is about to be traversed
Method | GtkToolButton | Undocumented

def __init__(self, filename):
overrides kiwi.ui.test.common.WidgetIntrospecter.__init__
Create a new Recorder object.

Parameters | filename | name of the script

def execute(self, args):
Undocumented
def _emission_window__delete_event(self, window, event, *args):
Undocumented
def _configure_event_types(self):
Undocumented
def _add_event(self, event):
Undocumented
def _listen_event(self, object, event_type):
Undocumented
def window_removed(self, wi, window, name):
Undocumented
def parse_one(self, toplevel, gobj):
overrides kiwi.ui.test.common.WidgetIntrospecter.parse_one
Undocumented
def save(self):
Collect events and serialize them into a script and save the script. This should be called when the tracked program has finished executing.