gtk2/gtk/ui/gtkassistant.ui
Matthias Clasen 92e21c3f1c Drop the can-default property
It was added at a time when default buttons
had a very large external border that would disrupt
aligment. Not a problem nowadays.
2019-04-28 23:28:39 +00:00

129 lines
5.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk40">
<template class="GtkAssistant" parent="GtkWindow">
<child type="titlebar">
<object class="GtkHeaderBar" id="headerbar"/>
</child>
<child>
<object class="GtkBox" id="main_box">
<child>
<object class="GtkBox" id="sidebar">
<property name="orientation">vertical</property>
<style>
<class name="sidebar"/>
</style>
</object>
</child>
<child>
<object class="GtkBox" id="content_box">
<property name="orientation">vertical</property>
<property name="hexpand">1</property>
<child>
<object class="GtkStack" id="content">
<property name="can-focus">1</property>
<property name="vexpand">1</property>
<signal name="remove" handler="assistant_remove_page_cb" swapped="no"/>
<child type="tab"/>
</object>
</child>
<child>
<object class="GtkBox" id="action_area">
<property name="halign">end</property>
<property name="spacing">6</property>
<property name="margin">6</property>
<child>
<object class="GtkButton" id="close">
<property name="visible">0</property>
<property name="label" translatable="yes">_Close</property>
<property name="can-focus">1</property>
<property name="receives-default">1</property>
<property name="use-underline">1</property>
<style>
<class name="text-button"/>
</style>
<signal name="clicked" handler="on_assistant_close" swapped="no"/>
</object>
</child>
<child>
<object class="GtkButton" id="cancel">
<property name="visible">0</property>
<property name="label" translatable="yes">_Cancel</property>
<property name="can-focus">1</property>
<property name="receives-default">1</property>
<property name="use-underline">1</property>
<style>
<class name="text-button"/>
</style>
<signal name="clicked" handler="on_assistant_cancel" swapped="no"/>
</object>
</child>
<child>
<object class="GtkButton" id="last">
<property name="visible">0</property>
<property name="label" translatable="yes">_Finish</property>
<property name="can-focus">1</property>
<property name="receives-default">1</property>
<property name="use-underline">1</property>
<style>
<class name="text-button"/>
</style>
<signal name="clicked" handler="on_assistant_last" swapped="no"/>
</object>
</child>
<child>
<object class="GtkButton" id="back">
<property name="label" translatable="yes">_Back</property>
<property name="can-focus">1</property>
<property name="receives-default">1</property>
<property name="use-underline">1</property>
<style>
<class name="text-button"/>
</style>
<signal name="clicked" handler="on_assistant_back" swapped="no"/>
</object>
</child>
<child>
<object class="GtkButton" id="forward">
<property name="label" translatable="yes">_Next</property>
<property name="can-focus">1</property>
<property name="receives-default">1</property>
<property name="use-underline">1</property>
<style>
<class name="text-button"/>
</style>
<signal name="clicked" handler="on_assistant_forward" swapped="no"/>
</object>
</child>
<child>
<object class="GtkButton" id="apply">
<property name="visible">0</property>
<property name="label" translatable="yes">_Apply</property>
<property name="can-focus">1</property>
<property name="receives-default">1</property>
<property name="use-underline">1</property>
<style>
<class name="text-button"/>
</style>
<signal name="clicked" handler="on_assistant_apply" swapped="no"/>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
<object class="GtkSizeGroup" id="button_size_group">
<widgets>
<widget name="apply"/>
<widget name="forward"/>
<widget name="back"/>
<widget name="last"/>
<widget name="cancel"/>
<widget name="close"/>
</widgets>
</object>
<object class="GtkSizeGroup" id="title_size_group"/>
</interface>