|
|
@ -771,9 +771,9 @@ func (a *Application) ResizeToFullScreen(p Primitive) *Application {
|
|
|
|
return a
|
|
|
|
return a
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// SetFocus sets the focus on a new primitive. All key events will be redirected
|
|
|
|
// SetFocus sets the focus to a new primitive. All key events will be directed
|
|
|
|
// to that primitive. Callers must ensure that the primitive will handle key
|
|
|
|
// down the hierarchy (starting at the root) until a primitive handles them,
|
|
|
|
// events.
|
|
|
|
// which per default goes towards the focused primitive.
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// Blur() will be called on the previously focused primitive. Focus() will be
|
|
|
|
// Blur() will be called on the previously focused primitive. Focus() will be
|
|
|
|
// called on the new primitive.
|
|
|
|
// called on the new primitive.
|
|
|
|