mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
add comments
This commit is contained in:
parent
c092c5244c
commit
20cbde8ce6
2 changed files with 6 additions and 0 deletions
|
|
@ -52,6 +52,9 @@ impl Common for AlertDialog {
|
||||||
.extra_child(&form.g_box)
|
.extra_child(&form.g_box)
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
|
// @TODO since 4.10
|
||||||
|
// https://docs.gtk.org/gtk4/method.AlertDialog.set_cancel_button.html
|
||||||
|
|
||||||
alert_dialog.add_responses(&[
|
alert_dialog.add_responses(&[
|
||||||
RESPONSE_CANCEL,
|
RESPONSE_CANCEL,
|
||||||
// RESPONSE_MANAGE,
|
// RESPONSE_MANAGE,
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,9 @@ impl Unsupported for AlertDialog {
|
||||||
.default_response(RESPONSE_QUIT.0)
|
.default_response(RESPONSE_QUIT.0)
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
|
// @TODO since 4.10
|
||||||
|
// https://docs.gtk.org/gtk4/method.AlertDialog.set_cancel_button.html
|
||||||
|
|
||||||
// Set response variants
|
// Set response variants
|
||||||
alert_dialog.add_responses(&[RESPONSE_QUIT]);
|
alert_dialog.add_responses(&[RESPONSE_QUIT]);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue