class_docstr: Fill whole control with characters with this token.
  (Also helpful for debugging.)
  
  :param char: :class:`.Char` instance to use for filling.
  :param get_char: A callable that takes a CommandLineInterface and returns a
      :class:`.Char` object.
class_docstr_tok: ["Fill","whole","control","with","characters","with","this","token",".","(","Also","helpful","for","debugging",".",")",":","param","char",":",":","class",":","`",".Char","`","instance","to","use","for","filling",".",":","param","get_char",":","A","callable","that","takes","a","CommandLineInterface","and","returns","a",":","class",":","`",".Char","`","object","."]
code: def __init__(
      self, character=None, token=Token, char=None, get_char=None
  ):  # 'character' and 'token' parameters are deprecated.
      assert char is None or isinstance(char, Char)
      assert get_char is None or callable(get_char)
      assert not (char and get_char)
  
      self.char = char
  
      if character:
          # Passing (character=' ', token=token) is deprecated.
          self.character = character
          self.token = token
  
          self.get_char = lambda cli: Char(character, token)
      elif get_char:
          # When 'get_char' is given.
          self.get_char = get_char
      else:
          # When 'char' is given.
          self.char = self.char or Char()
          self.get_char = lambda cli: self.char
          self.char = char
  
imports: from __future__ import unicode_literals
  from abc import ABCMeta, abstractmethod
  from collections import namedtuple
  from six import with_metaclass
  from six.moves import range
  from prompt_toolkit.cache import SimpleCache
  from prompt_toolkit.enums import DEFAULT_BUFFER, SEARCH_BUFFER
  from prompt_toolkit.filters import to_cli_filter
  from prompt_toolkit.mouse_events import MouseEventType
  from prompt_toolkit.search_state import SearchState
  from prompt_toolkit.selection import SelectionType
  from prompt_toolkit.token import Token
  from prompt_toolkit.utils import get_cwidth
  from .lexers import Lexer, SimpleLexer
  from .processors import Processor
  from .screen import Char, Point
  from .utils import token_list_width, split_lines, token_list_to_text
  import six
  import time
label_desc: Use image node_id 1 to create a new FillControl object from inherited base classes: UIControl with example: obj = FillControl(character, token, char, get_char)