コード例 #1
0
      ('new-tab-position', SettingValue(
          typ.NewTabPosition(), 'right'), "How new tabs are positioned."),
      ('new-tab-position-explicit',
       SettingValue(typ.NewTabPosition(), 'last'),
       "How new tabs opened explicitely are positioned."),
      ('last-close', SettingValue(typ.LastClose(), 'ignore'),
       "Behaviour when the last tab is closed."),
      ('auto-hide', SettingValue(
          typ.Bool(), 'false'), "Hide the tabbar if only one tab is open."),
      ('wrap', SettingValue(typ.Bool(),
                            'true'), "Whether to wrap when changing tabs."),
      ('movable', SettingValue(typ.Bool(),
                               'true'), "Whether tabs should be movable."),
      ('close-mouse-button', SettingValue(typ.CloseButton(), 'middle'),
       "On which mouse button to close tabs."),
      ('position', SettingValue(typ.Position(),
                                'north'), "The position of the tab bar."),
      ('show-favicons', SettingValue(
          typ.Bool(), 'true'), "Whether to show favicons in the tab bar."),
      ('width',
       SettingValue(typ.PercOrInt(minperc=0, maxperc=100, minint=1), '20%'),
       "The width of the tab bar if it's vertical, in px or as percentage "
       "of the window."),
      ('indicator-width', SettingValue(typ.Int(minval=0), '3'),
       "Width of the progress indicator (0 to disable)."),
      ('indicator-space', SettingValue(typ.Int(minval=0), '3'),
       "Spacing between tab edge and indicator."),
      ('tabs-are-windows', SettingValue(
          typ.Bool(), 'false'), "Whether to open windows instead of tabs."),
  )),
 ('storage',
コード例 #2
0
         "Hide the tabbar if only one tab is open."),

        ('wrap',
         SettingValue(typ.Bool(), 'true'),
         "Whether to wrap when changing tabs."),

        ('movable',
         SettingValue(typ.Bool(), 'true'),
         "Whether tabs should be movable."),

        ('close-mouse-button',
         SettingValue(typ.CloseButton(), 'middle'),
         "On which mouse button to close tabs."),

        ('position',
         SettingValue(typ.Position(), 'north'),
         "The position of the tab bar."),

        ('show-favicons',
         SettingValue(typ.Bool(), 'true'),
         "Whether to show favicons in the tab bar."),

        ('width',
         SettingValue(typ.PercOrInt(minperc=0, maxperc=100, minint=1), '20%'),
         "The width of the tab bar if it's vertical, in px or as percentage "
         "of the window."),

        ('indicator-width',
         SettingValue(typ.Int(minval=0), '3'),
         "Width of the progress indicator (0 to disable)."),