gtk2/gtk/ui/gtkassistant.ui
Matthias Clasen cfd85dee03 assistant: Drop hardcoded padding
This means the pages themselves will be responsible for setting
suitable padding.

https://bugzilla.gnome.org/show_bug.cgi?id=750631
2015-06-14 20:54:47 -04:00

198 lines
8.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk30">
<!-- interface-requires gtk+ 3.10 -->
<template class="GtkAssistant" parent="GtkWindow">
<child type="titlebar">
<object class="GtkHeaderBar" id="headerbar">
<property name="visible">True</property>
</object>
</child>
<child>
<object class="GtkBox" id="main_box">
<property name="visible">True</property>
<property name="spacing">0</property>
<child>
<object class="GtkFrame" id="sidebar_frame">
<property name="visible">True</property>
<style>
<class name="sidebar"/>
</style>
<child>
<object class="GtkBox" id="sidebar">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<property name="spacing">6</property>
</object>
</child>
<child type="label_item">
</child>
</object>
<packing>
<property name="fill">False</property>
</packing>
</child>
<child>
<object class="GtkBox" id="content_box">
<property name="visible">True</property>
<property name="border_width">0</property>
<property name="orientation">vertical</property>
<property name="spacing">0</property>
<child>
<object class="GtkNotebook" id="content">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="show_tabs">False</property>
<property name="show_border">False</property>
<signal name="remove" handler="assistant_remove_page_cb" swapped="no"/>
<child type="tab">
</child>
</object>
<packing>
<property name="expand">True</property>
</packing>
</child>
<child>
<object class="GtkBox" id="action_area">
<property name="visible">True</property>
<property name="halign">end</property>
<property name="spacing">6</property>
<child>
<object class="GtkButton" id="apply">
<property name="label" translatable="yes">_Apply</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
<property name="receives_default">True</property>
<property name="no_show_all">True</property>
<property name="use_underline">True</property>
<style>
<class name="text-button"/>
</style>
<signal name="clicked" handler="on_assistant_apply" swapped="no"/>
</object>
<packing>
<property name="fill">False</property>
<property name="pack_type">end</property>
</packing>
</child>
<child>
<object class="GtkButton" id="forward">
<property name="label" translatable="yes">_Next</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
<property name="receives_default">True</property>
<property name="no_show_all">True</property>
<property name="use_underline">True</property>
<style>
<class name="text-button"/>
</style>
<signal name="clicked" handler="on_assistant_forward" swapped="no"/>
</object>
<packing>
<property name="fill">False</property>
<property name="pack_type">end</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkButton" id="back">
<property name="label" translatable="yes">_Back</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="no_show_all">True</property>
<property name="use_underline">True</property>
<style>
<class name="text-button"/>
</style>
<signal name="clicked" handler="on_assistant_back" swapped="no"/>
</object>
<packing>
<property name="fill">False</property>
<property name="pack_type">end</property>
<property name="position">2</property>
</packing>
</child>
<child>
<object class="GtkButton" id="last">
<property name="label" translatable="yes">_Finish</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="no_show_all">True</property>
<property name="use_underline">True</property>
<style>
<class name="text-button"/>
</style>
<signal name="clicked" handler="on_assistant_last" swapped="no"/>
</object>
<packing>
<property name="fill">False</property>
<property name="pack_type">end</property>
<property name="position">3</property>
</packing>
</child>
<child>
<object class="GtkButton" id="cancel">
<property name="label" translatable="yes">_Cancel</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="no_show_all">True</property>
<property name="use_underline">True</property>
<style>
<class name="text-button"/>
</style>
<signal name="clicked" handler="on_assistant_cancel" swapped="no"/>
</object>
<packing>
<property name="fill">False</property>
<property name="pack_type">end</property>
<property name="position">4</property>
</packing>
</child>
<child>
<object class="GtkButton" id="close">
<property name="label" translatable="yes">_Close</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
<property name="receives_default">True</property>
<property name="no_show_all">True</property>
<property name="use_underline">True</property>
<style>
<class name="text-button"/>
</style>
<signal name="clicked" handler="on_assistant_close" swapped="no"/>
</object>
<packing>
<property name="fill">False</property>
<property name="pack_type">end</property>
<property name="position">5</property>
</packing>
</child>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">True</property>
<property name="position">1</property>
</packing>
</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>