mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
9416856420
This is not necessary, whenever we want to set the initial focus in a ui file, we can set GtkWindow:focus-widget.
14 lines
428 B
XML
14 lines
428 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<object class="GtkWindow" id="window1">
|
|
<property name="decorated">0</property>
|
|
<child>
|
|
<object class="GtkButton" id="button1">
|
|
<property name="name">reference</property>
|
|
<property name="label" translatable="yes">Hello World</property>
|
|
<property name="receives_default">1</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|