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