📜  gtk-rs 网格布局容器 - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:57.538000             🧑  作者: Mango

代码示例1
fn create_components(window: &ApplicationWindow) {
    let button = create_button();

    let grid = Grid::new();

    grid.add(&button);

    window.set_child(Some(&grid));
}