Add a standard AdwAboutDialog wired to app metadata, plus the AppStream metainfo file it should share data with. Use when adding an About entry, release notes, credits, or preparing app metadata.
中文简介正在准备中。当前显示原文说明。
Sequential multi-step setup flow (assistant/wizard) with AdwNavigationView, Back/Forward navigation, progress indication. Use when building onboarding or setup flows with ordered steps.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Pattern extracted from gnome-initial-setup.
GtkBox (vertical)
├── GtkHeaderBar (no title buttons)
│ ├── [start] Cancel, Back buttons
│ ├── [center] GtkLabel (bold title, changes per page)
│ └── [end] Skip, Forward (suggested-action) buttons
└── GtkStack (slide-left-right transition)
├── Page 1
├── Page 2
└── ...
<object class="GisPageHeader">
<property name="spacing">18</property>
<object class="GtkImage" id="icon">
<property name="pixel_size">96</property>
<style><class name="dim-label"/></style>
</object>
<object class="GtkLabel" id="title">
<property name="justify">center</property>
<property name="max_width_chars">65</property>
<property name="wrap">True</property>
<style><class name="title-1"/></style>
</object>
<object class="GtkLabel" id="subtitle">
<property name="justify">center</property>
<property name="max_width_chars">65</property>
<property name="wrap">True</property>
</object>
</object>
Key spacing: icon↔title: 18, title↔subtitle: 6, max-width-chars: 65.
<object class="GtkHeaderBar" id="titlebar">
<property name="show-title-buttons">False</property>
<child type="title">
<object class="GtkLabel" id="title">
<attributes><attribute name="weight" value="bold"/></attributes>
</object>
</child>
<!-- Buttons: Cancel, Back, Skip, Forward -->
</object>
<object class="GtkSizeGroup">
<property name="mode">horizontal</property>
<widgets>
<widget name="back"/>
<widget name="cancel"/>
<widget name="forward"/>
<widget name="skip"/>
</widgets>
</object>
<object class="GtkStack" id="stack">
<property name="transition-type">slide-left-right</property>
</object>
<object class="AdwStatusPage" id="status_page">
<property name="description" translatable="yes">Setup will guide you through making an account.</property>
<child>
<object class="GtkButton">
<property name="label" translatable="yes">_Start Setup</property>
<property name="use-underline">1</property>
<style>
<class name="suggested-action"/>
<class name="pill"/>
</style>
</object>
</child>
</object>
suggested-actionslide-left-right (forward=left, back=right, per platform convention)title-1 (appropriate for wizard — lots of whitespace)use-underline: true还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Add a standard AdwAboutDialog wired to app metadata, plus the AppStream metainfo file it should share data with. Use when adding an About entry, release notes, credits, or preparing app metadata.
中文简介正在准备中。当前显示原文说明。
Make a GTK4/libadwaita app accessible — accessible labels and roles, tooltips on icon-only buttons, keyboard navigation, contrast, and testing with Orca/Accerciser. Use when fixing a11y issues or running the accessibility category of a HIG audit.
中文简介正在准备中。当前显示原文说明。
Responsive GNOME layouts: AdwBreakpoint conditions, BreakpointBin, MultiLayoutView, BottomSheet, narrow/wide layout swaps. Use when making an app work on phones or narrow windows.
中文简介正在准备中。当前显示原文说明。
Onboarding tour with AdwCarousel and navigation dots, skippable welcome screens. Use when adding a first-run tour or feature showcase to a GNOME app.
中文简介正在准备中。当前显示原文说明。
Implement GNOME's 4-tier destructive-action pattern: undo toasts instead of confirmation dialogs, AdwAlertDialog for irreversible actions. Use when adding delete, remove, clear, or other destructive actions.
中文简介正在准备中。当前显示原文说明。
Loading, empty, and error states with AdwStatusPage and AdwSpinner — placeholder icons, titles, action buttons. Use when an app view can be empty, loading, or failed.
中文简介正在准备中。当前显示原文说明。