set_gravity


Description:

public void set_gravity (Gravity gravity)

Window gravity defines the meaning of coordinates passed to move.

See move and Gravity for more details.

The default window gravity is NORTH_WEST which will typically “do what you mean.”

Parameters:

this

a Window

gravity

window gravity