code: def __init__(self, get_tokens, filter=Always(), **kw):
      super(TokenListToolbar, self).__init__(
          content=Window(
              TokenListControl(get_tokens, **kw),
              height=LayoutDimension.exact(1),
          ),
          filter=filter,
      )
  
imports: from __future__ import unicode_literals
  from ..enums import IncrementalSearchDirection
  from .processors import BeforeInput
  from .lexers import SimpleLexer
  from .dimension import LayoutDimension
  from .controls import BufferControl, TokenListControl, UIControl, UIContent
  from .containers import Window, ConditionalContainer
  from .screen import Char
  from .utils import token_list_len
  from prompt_toolkit.enums import SEARCH_BUFFER, SYSTEM_BUFFER
  from prompt_toolkit.filters import HasFocus, HasArg, HasCompletions, HasValidationError, HasSearch, Always, IsDone
  from prompt_toolkit.token import Token
label_desc: Use image node_id 1 to create a new TokenListToolbar object from inherited base classes: ConditionalContainer with example: obj = TokenListToolbar(get_tokens, filter)