当前位置: 首页 > 文档资料 > Electron 中文文档 >

SegmentedControlSegment 对象

优质
小牛编辑
128浏览
2023-12-01
  • labelString (可选)-要在segment中显示的文本.
  • icon NativeImage (可选)-在segment中显示的图像.
  • enabled Boolean (可选) - 此 segment 是否可选. 默认: true.

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.