|
|
__init__(self,
display,
job)
Initialize the new ContentView. |
|
|
|
boolean
|
draw(self,
*args,
**kwargs)
Draw this view on the provided curses window. |
|
|
|
|
draw_cursor(self,
win)
Default implementation does not draw a cursor. |
|
|
|
|
header_info(self)
Return a dict containing details to include in the header. |
|
|
|
|
| draw_raw(self,
text,
channel) |
|
|
|
|
set_focus(self,
has_focus)
Used by display to inform a View that it is getting or losing focus,
as indicated by the boolean has_focus. |
|
|
|
|
current_job(self)
Return the current job associated with this view, or None if there is
nothing appropriate. |
|
|
|
|
|
|
|
wants_terminal(self)
Return 0 if the job doesn't want special access to the terminal, 1 if
it wants to write curses controls on the terminal, and 2 if it wants
exclusive access to input also. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
restart(self)
Restart this job. |
|
|
|
|
|
|
|
cycle_input(self,
ki)
Cycle through the various input options. |
|
|
|
|
close_input(self,
ki)
Close standard input on the process. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from content_view.ContentView:
delete_line,
delete_right,
insert_text,
is_dirty,
move_bottom,
move_down,
move_end,
move_left,
move_right,
move_search,
move_start,
move_top,
move_up,
page_down,
page_up,
paste,
toggle_wrap
Inherited from view.View:
change_view,
draw_header,
draw_line,
get_face,
get_name,
min_height,
min_width,
next_window,
putch,
quit,
set_dirty,
set_visible_job,
show_search
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|