cosmic/widget/grid/
mod.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2023 System76 <info@system76.com>
// SPDX-License-Identifier: MPL-2.0

//! Arrange widgets with a grid layout.

pub mod layout;
pub mod widget;

pub use widget::Grid;

/// Arrange widgets with a grid layout.
pub const fn grid<'a, Message>() -> Grid<'a, Message> {
    Grid::new()
}