Example #1
0
func newLabel(text string) Label {
	l := &label{
		controlSingleObject: newControlSingleObject(C.newLabel()),
	}
	l.SetText(text)
	return l
}
Example #2
0
func finishNewLabel(text string, standalone bool) *label {
	l := &label{
		_id:        C.newLabel(),
		standalone: standalone,
	}
	l.SetText(text)
	return l
}