We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
accessibility
1 parent 4a87e37 commit d73d7b7Copy full SHA for d73d7b7
masonry_core/src/core/widget.rs
@@ -284,6 +284,10 @@ pub trait Widget: AsDynWidget + Any {
284
/// This method takes a mutable reference to a node which is already initialized
285
/// with some information about the current widget (coordinates, status flags), and
286
/// and mutates that node to set widget-specific information.
287
+ ///
288
+ /// **Note:** A new node is created each time this method is called.
289
+ /// Changes to the node don't persist between accessibility passes, and must instead
290
+ /// be re-applied by this method every time it's called.
291
fn accessibility(
292
&mut self,
293
ctx: &mut AccessCtx<'_>,
0 commit comments