mirror of
https://gitlab.cvh-server.de/skrause/flashcards.git
synced 2025-12-12 06:41:38 +01:00
20 lines
373 B
Plaintext
20 lines
373 B
Plaintext
using Gtk 4.0;
|
|
using Adw 1;
|
|
|
|
template $FlashcardsCreateCategoryDialog : Adw.AlertDialog {
|
|
heading: "Create a new category";
|
|
default-response: "add";
|
|
close-response: "cancel";
|
|
responses [
|
|
cancel: _("Cancel"),
|
|
add: _("Add") suggested,
|
|
]
|
|
response => $on_response();
|
|
|
|
Adw.EntryRow entry {
|
|
title: "Category name";
|
|
styles [
|
|
"card",
|
|
]
|
|
}
|
|
} |