mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
docs: Add examples for action widgets
This commit is contained in:
parent
cfa7278568
commit
8ce748e62b
1 changed files with 16 additions and 0 deletions
|
@ -388,3 +388,19 @@ Gtk.StringList
|
|||
Gtk.StringList {
|
||||
strings ["Hello, world!", _("Translated string")]
|
||||
}
|
||||
|
||||
Gtk.Dialog and Gtk.InfoBar
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. code-block::
|
||||
|
||||
Gtk.Dialog {
|
||||
[action response=ok]
|
||||
Gtk.Button ok_response {}
|
||||
|
||||
[action response=cancel]
|
||||
Gtk.Button cancel_response {}
|
||||
|
||||
[action response=9]
|
||||
Gtk.Button app_defined_response {}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue