# Path: pyanaconda/ui/tui/simpleline/base.py
# RAW_INPUT_LOCK = threading.Lock()
#     START_MAINLOOP = True
#     STOP_MAINLOOP = False
#     NOP = None
# def send_exception(queue, ex):
#     def __init__(self, title, yes_or_no_question = None, width = 80, queue = None,
#                  quit_message = None):
#     def register_event_handler(self, event, callback, data = None):
#     def _thread_input(self, queue, prompt, hidden):
#     def switch_screen(self, ui, args = None):
#     def switch_screen_with_return(self, ui, args = None):
#     def switch_screen_modal(self, ui, args = None):
#     def schedule_screen(self, ui, args = None):
#     def close_screen(self, scr = None):
#     def _do_redraw(self):
#     def run(self):
#     def _mainloop(self):
#     def process_events(self, return_at = None):
#     def raw_input(self, prompt, hidden=False):
#     def input(self, args, key):
#     def redraw(self):
#     def header(self):
#     def width(self):
#     def __init__(self, app, screen_height = 25):
#     def setup(self, environment):
#     def refresh(self, args = None):
#     def window(self):
#     def _print_long_widget(self, widget):
#     def show_all(self):
#     def hide(self):
#     def input(self, args, key):
#     def prompt(self, args = None):
#     def app(self):
#     def close(self):
#     def __init__(self, max_width = None, default = None):
#     def height(self):
#     def width(self):
#     def clear(self):
#     def content(self):
#     def render(self, width):
#     def get_lines(self):
#     def setxy(self, row, col):
#     def cursor(self):
#     def setend(self):
#     def draw(self, w, row = None, col = None, block = False):
#     def write(self, text, row = None, col = None, width = None, block = False):
#         def show(self, args = None):
# class ExitMainLoop(Exception):
# class ExitAllMainLoops(ExitMainLoop):
# class App(object):
# class UIScreen(object):
# class Widget(object):
#     class HelloWorld(UIScreen):


from pyanaconda.ui.tui.simpleline import base
                col_width = 0
            else:
                col_max_width = col_width

            # render and draw contents of column
            for item in col:
                item.render(col_max_width)
                self.draw(item, block = True)

            # recompute the leftmost empty column
            x = max((x + col_width), self.width) + self._spacing

class CheckboxWidget(base.Widget):
    """Widget to show checkbox with (un)checked box, name and description."""

    def __init__(self, key = "x", title = None, text = None, completed = None):
        """
        :param key: tick character to be used inside [ ]
        :type key: character

        :param title: the title next to the [ ] box
        :type title: unicode

        :param text: the description text to be shown on the second row in ()
        :type text: unicode

        :param completed: is the checkbox ticked or not?
        :type completed: True|False
        """


# Path: pyanaconda/ui/tui/simpleline/base.py
# RAW_INPUT_LOCK = threading.Lock()
#     START_MAINLOOP = True
#     STOP_MAINLOOP = False
#     NOP = None
# def send_exception(queue, ex):
#     def __init__(self, title, yes_or_no_question = None, width = 80, queue = None,
#                  quit_message = None):
#     def register_event_handler(self, event, callback, data = None):
#     def _thread_input(self, queue, prompt, hidden):
#     def switch_screen(self, ui, args = None):
#     def switch_screen_with_return(self, ui, args = None):
#     def switch_screen_modal(self, ui, args = None):
#     def schedule_screen(self, ui, args = None):
#     def close_screen(self, scr = None):
#     def _do_redraw(self):
#     def run(self):
#     def _mainloop(self):
#     def process_events(self, return_at = None):
#     def raw_input(self, prompt, hidden=False):
#     def input(self, args, key):
#     def redraw(self):
#     def header(self):
#     def width(self):
#     def __init__(self, app, screen_height = 25):
#     def setup(self, environment):
#     def refresh(self, args = None):
#     def window(self):
#     def _print_long_widget(self, widget):
#     def show_all(self):
#     def hide(self):
#     def input(self, args, key):
#     def prompt(self, args = None):
#     def app(self):
#     def close(self):
#     def __init__(self, max_width = None, default = None):
#     def height(self):
#     def width(self):
#     def clear(self):
#     def content(self):
#     def render(self, width):
#     def get_lines(self):
#     def setxy(self, row, col):
#     def cursor(self):
#     def setend(self):
#     def draw(self, w, row = None, col = None, block = False):
#     def write(self, text, row = None, col = None, width = None, block = False):
#         def show(self, args = None):
# class ExitMainLoop(Exception):
# class ExitAllMainLoops(ExitMainLoop):
# class App(object):
# class UIScreen(object):
# class Widget(object):
#     class HelloWorld(UIScreen):


# Path: pyanaconda/ui/tui/simpleline/widgets.py
from pyanaconda.ui.tui.simpleline import base

                col_width = 0
            else:
                col_max_width = col_width

            # render and draw contents of column
            for item in col:
                item.render(col_max_width)
                self.draw(item, block = True)

            # recompute the leftmost empty column
            x = max((x + col_width), self.width) + self._spacing

class CheckboxWidget(base.Widget):
    """Widget to show checkbox with (un)checked box, name and description."""

    def __init__(self, key = "x", title = None, text = None, completed = None):
        """
        :param key: tick character to be used inside [ ]
        :type key: character

        :param title: the title next to the [ ] box
        :type title: unicode

        :param text: the description text to be shown on the second row in ()
        :type text: unicode

        :param completed: is the checkbox ticked or not?
        :type completed: True|False
        """


        base.Widget.__init__(self)