forked from AuroraMiddleware/gtk
d6a0948182
gtk-builder-tool simplify --3to4 now produces a <requires lib="gtk" version="4.0"/>. Adapt for that, and also add some tests that check that we actually verify the requires, and accept 3.99 and 4.0, but not 5.x.
37 lines
1.6 KiB
XML
37 lines
1.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface domain="gtk30">
|
|
<requires lib="gtk" version="4.0"/>
|
|
<template class="GtkFileChooserDialog" parent="GtkDialog">
|
|
<property name="role">GtkFileChooserDialog</property>
|
|
<property name="type-hint">dialog</property>
|
|
<property name="default-width">600</property>
|
|
<signal name="response" handler="response_cb" swapped="no"/>
|
|
<child internal-child="content_area">
|
|
<object class="GtkBox" id="dialog-vbox1">
|
|
<property name="visible">0</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="border-width">0</property>
|
|
<child>
|
|
<object class="GtkFileChooserWidget" id="widget">
|
|
<property name="vexpand">1</property>
|
|
<property name="orientation">vertical</property>
|
|
<signal name="default-size-changed" handler="file_chooser_widget_default_size_changed" swapped="no"/>
|
|
<signal name="file-activated" handler="file_chooser_widget_file_activated" swapped="no"/>
|
|
<signal name="response-requested" handler="file_chooser_widget_response_requested" swapped="no"/>
|
|
<signal name="selection-changed" handler="file_chooser_widget_selection_changed" swapped="no"/>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<child internal-child="action_area">
|
|
<object class="GtkButtonBox" id="dialog-action_area1">
|
|
<property name="border-width">6</property>
|
|
<property name="layout-style">end</property>
|
|
</object>
|
|
</child>
|
|
</template>
|
|
<object class="GtkSizeGroup" id="buttons">
|
|
<property name="mode">vertical</property>
|
|
</object>
|
|
</interface>
|