百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
I

iced_tutorial

> 编程语言
开源

Iced 库教程

326 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

Iced 库教程

Unofficial Tutorial Of Iced Library

Iced is a cross-platform GUI library for Rust. This tutorial serves as a quick start for the library.

How to use this tutorial

We try to keep each part of the tutorial as simple as possible. The examples usually explain diverse ways of accomplishing the same task. Each markdown file contains a complete example that is also available in the examples directory. To run the examples, you can use the following command:

bash
cargo run --example 

This tutorial is for the latest Iced version (v0.13.1) For older Iced versions, please refer to the following branches:

  • 0.12.1.
  • 0.10.0.

Contents

  • Setting Up

  • First App - Hello World!

  • Explanation of the App Structure

  • Application Lifecycle

  • Adding Widgets

  • Changing Displaying Content

  • Widgets

    • Text
    • Button
    • TextInput
    • Checkbox
    • Toggler
    • Radio
    • PickList
    • ComboBox
    • Slider And VerticalSlider
    • ProgressBar
    • Tooltip
    • Rule
    • Image
    • Svg
  • Layouts

    • Width And Height
    • Column
    • Row
    • Space
    • Container
    • Scrollable
  • Styles

    • Changing Themes
    • Changing Styles
  • Multipage Apps

    • More Than One Page
    • Memoryless Pages
    • Passing Parameters Across Pages
    • Navigation History
  • Tasks

    • Controlling Widgets behavior
    • Dispatching Tasks at Startup
    • Batch Tasks
    • Executing Custom Tasks
  • Windows

    • Customizing The Window On Launch
    • Changing The Window Dynamically
    • Closing The Window On Demand
  • Events

    • On Pressed/Released Of Some Widgets
    • Producing Messages By Mouse Events
    • Producing Messages By Keyboard Events
    • Producing Messages By Timers
    • Batch Subscriptions
  • Canvas

    • Drawing Shapes
    • Drawing With Caches
  • Custom Widgets

    • Drawing Widgets
    • Updating Widgets From Outside
    • Updating Widgets From Events
    • Producing Widget Messages
    • Mouse Pointer Over Widgets
    • Texts In Widgets
    • Custom Background
    • Widgets With Children
    • Taking Any Children
  • Others

    • Loading Images Asynchronously

See Also

  • Iced - the Iced library.
  • awesome-iced - a list of projects depending on Iced.

Contributions

Pull requests for typos, incorrect information, or other ideas are welcome!

License

All code in the tutorial is provided under the MIT License.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rusticedrusttutorial

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言