class_docstr: Base interface for a margin.
docstr: Return the width that this margin is going to consume.
  
  :param cli: :class:`.CommandLineInterface` instance.
  :param get_ui_content: Callable that asks the user control to create
      a :class:`.UIContent` instance. This can be used for instance to
      obtain the number of lines.
docstr_tok: ["Return","the","width","that","this","margin","is","going","to","consume",".",":","param","cli",":",":","class",":","`",".CommandLineInterface","`","instance",".",":","param","get_ui_content",":","Callable","that","asks","the","user","control","to","create","a",":","class",":","`",".UIContent","`","instance",".","This","can","be","used","for","instance","to","obtain","the","number","of","lines","."]
code: def get_width(self, cli, get_ui_content):
      """
      Return the width that this margin is going to consume.
  
      :param cli: :class:`.CommandLineInterface` instance.
      :param get_ui_content: Callable that asks the user control to create
          a :class:`.UIContent` instance. This can be used for instance to
          obtain the number of lines.
      """
      return 0
  
imports: from __future__ import unicode_literals
  from abc import ABCMeta, abstractmethod
  from six import with_metaclass
  from six.moves import range
  from prompt_toolkit.filters import to_cli_filter
  from prompt_toolkit.token import Token
  from prompt_toolkit.utils import get_cwidth
  from .utils import token_list_to_text
label_desc: Use image node_id 1 for calling the Margin obj's underlying member method code with example usage: obj.get_width(cli, get_ui_content) and returns: int