Part of pida.ui.terminal View In Hierarchy
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 98 | Method | __init__ | Undocumented |
| 106 | Method | set_properties | Set properties on the widget |
| 113 | Method | _fix_size | Fix the size of the terminal. Initially the widget starts very large, |
| 120 | Method | _fix_events | Undocumented |
| 123 | Method | _connect_internal | Connect the internal signals |
| 130 | Method | _init_matches | Initialize the matching system |
| 136 | Method | _get_position_from_pointer | Get the row/column position for a pointer position |
| 144 | Method | _on_button_press | Called on a button press |
| 155 | Method | _on_match_right_clicked | Called when there is a right click on the terminal. Internally, this |
| 170 | Method | get_named_match | Get a match object for the name |
| 182 | Method | match_add_match | Add a match object. |
| 190 | Method | match_add_callback | Add a match with a callback. |
| 204 | Method | match_add_menu | Add a menu match object. |
| 211 | Method | match_menu_register_action | Register an action with the named match |
| 220 | Method | feed_text | Feed text to the terminal, optionally coloured. |
| 228 | Method | get_all_text | Undocumented |
| Parameters | name | the name of the match object |
| Raises | KeyError | If the named match does not exist |
| Parameters | name | the name of the match |
| match_str | the regular expression to match | |
| match_groups | a regular expression of groups which wil be passed as parameters to the callback function | |
| callback | the callback function to be called with the result of the match |