mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 09:55:40 +00:00
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
Package f32 is a float32 implementation of package image's
|
Package f32 is a float32 implementation of package image's
|
||||||
Point and Rectangle
|
Point and Rectangle.
|
||||||
|
|
||||||
The coordinate space has the origin in the top left
|
The coordinate space has the origin in the top left
|
||||||
corner with the axes extending right and down.
|
corner with the axes extending right and down.
|
||||||
|
|||||||
+1
-1
@@ -43,7 +43,7 @@ This example both aligns and insets a child:
|
|||||||
dims = inset.End(dims)
|
dims = inset.End(dims)
|
||||||
|
|
||||||
More complex layouts such as Stack and Flex lay out multiple children,
|
More complex layouts such as Stack and Flex lay out multiple children,
|
||||||
but follow the same pattern of constraints and dimensions.
|
and stateful layouts such as List accept user input.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
package layout
|
package layout
|
||||||
|
|||||||
+2
-2
@@ -96,8 +96,8 @@ For multiple grabbing handlers, the foremost handler wins.
|
|||||||
Priorities
|
Priorities
|
||||||
|
|
||||||
Handlers know their position in a matching set of a pointer through
|
Handlers know their position in a matching set of a pointer through
|
||||||
event priorities. The Shared and Foremost are for matching sets with
|
event priorities. The Shared and Foremost priorities are for matching sets
|
||||||
multiple handlers; the Grabbed priority indicate exclusive access.
|
with multiple handlers; the Grabbed priority indicate exclusive access.
|
||||||
|
|
||||||
Priorities are useful for deferred gesture matching.
|
Priorities are useful for deferred gesture matching.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user