Exemplo n.º 1
0
def launch():
    import boot

    core.registerNew(Tk)
    boot.set_main_function(core.tk.run)

    """
Exemplo n.º 2
0
def launch(disable=False, completion=True, __INSTANCE__=None):
    if not core.hasComponent("Interactive"):
        Interactive()

    import boot
    if not disable:
        boot.set_main_function(core.Interactive.interact)
    else:
        boot.set_main_function(None)
    core.Interactive.enabled = not disable
    if completion is not None:
        core.Interactive.completion = str_to_bool(completion)
Exemplo n.º 3
0
def launch (disable = False, completion = None, __INSTANCE__ = None):
  if not core.hasComponent("Interactive"):
    Interactive()

  import boot
  if not disable:
    boot.set_main_function(core.Interactive.interact)
  else:
    boot.set_main_function(None)
  core.Interactive.enabled = not disable
  if completion is not None:
    core.Interactive.completion = str_to_bool(completion)
Exemplo n.º 4
0
def launch(disable=False,
           completion=None,
           history=False,
           sync=False,
           __INSTANCE__=None):
    if not core.hasComponent("Interactive"):
        Interactive()

    import boot
    if not disable:
        boot.set_main_function(core.Interactive.interact)
    else:
        boot.set_main_function(None)
    core.Interactive.enabled = not disable
    if completion is not None:
        core.Interactive.completion = str_to_bool(completion)
    if history:
        core.Interactive.history = history
    core.Interactive.variables['sync'] = sync
Exemplo n.º 5
0
def launch():
    import boot
    core.registerNew(Tk)
    boot.set_main_function(core.tk.run)
    """