LabelFrame.setLabel

Set a widget to use for the label. The widget must be a child of the labelframe widget or one of the labelframe's ancestors, and must belong to the same top-level widget as the labelframe. If set, overrides the text parameter.

class LabelFrame
setLabel
(
this T
)

Parameters

widget Widget

The widget to use as the label.

Return Value

Type: auto

This widget to aid method chaining.

Meta