Electron Documentation

Docs / API Structures / SegmentedControlSegment Object electron@master (49f13e)

SegmentedControlSegment Object

  • label String (optional) - The text to appear in this segment.
  • icon NativeImage (optional) - The image to appear in this segment.
  • enabled Boolean (optional) - Whether this segment is selectable. Default: true.

Keyboard Shortcuts

Key Action
/ Focus the search bar
Esc Focus the search bar and cleans it
Select the next search result
Select the previous search result
Enter Open the selected search result
cmdEnter Ctrl+Enter Open the selected search result in a new tab