Navigation and structure
Container
Native Qt
Tabs
A complete tabbed content container with native selection, position, and keyboard behavior.
Usage
Ruby example
Paste this complete Builder example inside the app surface from the Quickstart. Replace illustrative asset paths with files from your project.
tabs %w[Overview API Examples], current_index: 0 do
text "Overview content"
text "API content"
text "Example content"
end
API
Component properties
19 component-specific values, plus shared item and layout properties.
labelsLabels configuration for Tabs.propertycurrent_indexCurrent index configuration for Tabs.propertypositionPosition configuration for Tabs.propertytab_widthTab width configuration for Tabs.propertytab_heightTab height configuration for Tabs.propertywidthWidth configuration for Tabs.propertyheightHeight configuration for Tabs.propertyenabledEnabled configuration for Tabs.propertybackgroundBackground configuration for Tabs.propertycontent_backgroundContent background configuration for Tabs.propertyforegroundForeground configuration for Tabs.propertymutedMuted configuration for Tabs.propertyaccentAccent configuration for Tabs.propertyborder_colorBorder color configuration for Tabs.propertyradiusRadius configuration for Tabs.propertyfont_familyFont family configuration for Tabs.propertyfont_sizeFont size configuration for Tabs.propertylayout_directionLayout direction configuration for Tabs.propertyvisibleVisible configuration for Tabs.propertyShow 13 shared item properties
opacityscalerotationzfill_widthfill_heightpreferred_widthpreferred_heightminimum_widthminimum_heightmaximum_widthmaximum_heightlayout_alignment
Interaction
Events
Subscribe with on widget, :event and keep behavior in Ruby.
↗
inputNative event payload↗
changeNative event payload↗
tab_clickNative event payload↗
showNative event payload↗
hideNative event payload↗
focusNative event payload↗
blurNative event payload