mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
parent
f6eacaa3d9
commit
b9fdc5a5f1
4 changed files with 9 additions and 10 deletions
|
@ -1,6 +1,6 @@
|
|||
using Gtk 4.0;
|
||||
|
||||
Dialog {
|
||||
template MyDialog : Dialog {
|
||||
[action response=cancel]
|
||||
Button cancel_button {
|
||||
label: _("Cancel");
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<requires lib="gtk" version="4.0"/>
|
||||
<object class="GtkDialog">
|
||||
<template class="MyDialog" parent="GtkDialog">
|
||||
<child type="action">
|
||||
<object class="GtkButton" id="cancel_button">
|
||||
<property name="label" translatable="true">Cancel</property>
|
||||
|
@ -22,7 +22,7 @@
|
|||
<action-widget response="9">custom_response_button</action-widget>
|
||||
<action-widget response="ok" default="True">ok_button</action-widget>
|
||||
</action-widgets>
|
||||
</object>
|
||||
</template>
|
||||
<object class="GtkInfoBar">
|
||||
<child type="action">
|
||||
<object class="GtkButton" id="ok_info_button">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue