on-internet
← Community

Zed の UI フレームワーク GPUI で Rust のデスクトップ ToDo アプリを作る

はてなブックマーク · 人気 ·

use gpui_kit::{prelude::*, *}; struct TodoApp { title: SharedString, } impl Render for TodoApp { fn render(&mut self, _window: &mut Window, _cx: &mut Context) -> impl IntoElement { div() .flex() .flex_col() .size_full() .p_4() .bg(rgb(0xffffff)) .text_color(rgb(0x111827)) .child(div().text_...

Comments

Sign in or sign up to comment and upvote.

No comments yet.