mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +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.
17 lines
499 B
XML
17 lines
499 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>
|
|
<style>
|
|
<class name="testinherit"/>
|
|
</style>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|