mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +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.
35 lines
1.1 KiB
XML
35 lines
1.1 KiB
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="receives_default">1</property>
|
|
<style>
|
|
<class name="button-not-image"/>
|
|
</style>
|
|
<child>
|
|
<object class="GtkButton" id="button2">
|
|
<property name="name">reference</property>
|
|
<property name="receives_default">1</property>
|
|
<style>
|
|
<class name="button-not-image2"/>
|
|
</style>
|
|
<child>
|
|
<object class="GtkButton" id="button3">
|
|
<property name="name">reference</property>
|
|
<property name="label" translatable="yes">Hello World</property>
|
|
<property name="receives_default">1</property>
|
|
<style>
|
|
<class name="button-not-image3"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|