package oxbow
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=a637acaa0e19046cd65fff733874eb97
sha512=76230cbecd7510de7a05b5d1f335915ef7b6c4aa557d8dbfd23591606618d2cfa25082d17b93f2f4b53a118d1cbf6a80e4ad51cf0f099b4921fb83d6df0c9801
doc/oxbow.river/River/Server/Window_management/River_node_v1/class-v5/index.html
Class River_node_v1.v5Source
Handler for a proxy with version >= 5.
constraint 'a = [< `V5 ]method private virtual on_destroy : [> `V5 ] t -> unitDestroy the decoration object.
This request indicates that the client will no longer use the node object and that it may be safely destroyed.
method private virtual on_set_position : [> `V5 ] t ->
x:int32 ->
y:int32 ->
unitSet absolute position of the node.
Set the absolute position of the node in the compositor's logical coordinate space. The x and y coordinates may be positive or negative.
Note that the position of a river_window_v1 refers to the position of the window content and is unaffected by the presence of borders or decoration surfaces.
If this request is never sent, the position of the node is undefined by this protocol and left up to the compositor.
This request modifies rendering state and may only be made as part of a render sequence, see the river_window_manager_v1 description.
method private virtual on_place_top : [> `V5 ] t -> unitPlace node above all other nodes.
This request places the node above all other nodes in the compositor's render list.
This request modifies rendering state and may only be made as part of a render sequence, see the river_window_manager_v1 description.
method private virtual on_place_bottom : [> `V5 ] t -> unitPlace node below all other nodes.
This request places the node below all other nodes in the compositor's render list.
This request modifies rendering state and may only be made as part of a render sequence, see the river_window_manager_v1 description.
method private virtual on_place_above : [> `V5 ] t ->
other:
([ `River_node_v1 ], [> Imports.River_node_v1.versions ], [ `Server ])
Proxy.t ->
unitPlace node above another node.
This request places the node directly above another node in the compositor's render list.
Attempting to place a node above itself has no effect.
Given nodes A, B, C currently rendered in that order with C on top and A on the bottom, the following example demonstrates the behavior of this request and the meaning of "directly above":
1. A.place_above(C) -> B, C, A 2. A.place_above(B) -> B, A, C 3. B.place_above(A) -> A, B, C
This request modifies rendering state and may only be made as part of a render sequence, see the river_window_manager_v1 description.
method private virtual on_place_below : [> `V5 ] t ->
other:
([ `River_node_v1 ], [> Imports.River_node_v1.versions ], [ `Server ])
Proxy.t ->
unitPlace node below another node.
This request places the node directly below another node in the compositor's render list.
Attempting to place a node below itself has no effect.
Given nodes A, B, C currently rendered in that order with C on top and A on the bottom, the following example demonstrates the behavior of this request and the meaning of "directly below":
1. C.place_below(A) -> C, A, B 2. C.place_below(B) -> A, C, B 3. B.place_below(C) -> A, B, C
This request modifies rendering state and may only be made as part of a render sequence, see the river_window_manager_v1 description.