Set gtkLabelSelectOnFocus property.
Whether to select the contents of a selectable label when it is focused.
Set gtkLabelSelectOnFocus property.