gtk2/gtk/ui/gtkpagesetupunixdialog.ui
Matthias Clasen 5bcb01e182 pagesetupdialog: Convert the printer combo
Turn the printer combo into a dropdown.
2020-06-16 14:44:30 -04:00

203 lines
8.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface domain="gtk40">
<template class="GtkPageSetupUnixDialog" parent="GtkDialog">
<property name="resizable">0</property>
<property name="title" translatable="yes">Page Setup</property>
<child internal-child="content_area">
<object class="GtkBox" id="dialog-vbox1">
<property name="orientation">vertical</property>
<property name="spacing">2</property>
<property name="margin-start">5</property>
<property name="margin-end">5</property>
<property name="margin-top">5</property>
<property name="margin-bottom">5</property>
<child>
<object class="GtkGrid" id="grid1">
<property name="row-spacing">6</property>
<property name="column-spacing">12</property>
<property name="margin-start">5</property>
<property name="margin-end">5</property>
<property name="margin-top">5</property>
<property name="margin-bottom">5</property>
<property name="vexpand">1</property>
<child>
<object class="GtkLabel" id="printer_combo_label">
<property name="halign">start</property>
<property name="valign">center</property>
<property name="label" translatable="yes">_Format for:</property>
<property name="use-underline">1</property>
<property name="mnemonic-widget">printer_combo</property>
<layout>
<property name="left-attach">0</property>
<property name="top-attach">0</property>
</layout>
</object>
</child>
<child>
<object class="GtkDropDown" id="printer_combo">
<property name="hexpand">1</property>
<signal name="notify::selected" handler="printer_changed_callback"/>
<layout>
<property name="left-attach">1</property>
<property name="top-attach">0</property>
<property name="column-span">3</property>
</layout>
</object>
</child>
<child>
<object class="GtkLabel" id="paper_size_combo_label">
<property name="halign">start</property>
<property name="valign">center</property>
<property name="label" translatable="yes">_Paper size:</property>
<property name="use-underline">1</property>
<property name="mnemonic-widget">paper_size_combo</property>
<layout>
<property name="left-attach">0</property>
<property name="top-attach">1</property>
</layout>
</object>
</child>
<child>
<object class="GtkDropDown" id="paper_size_combo">
<property name="hexpand">1</property>
<signal name="notify::selected" handler="paper_size_changed"/>
<layout>
<property name="left-attach">1</property>
<property name="top-attach">1</property>
<property name="column-span">3</property>
</layout>
</object>
</child>
<child>
<object class="GtkLabel" id="paper_size_label">
<property name="halign">start</property>
<property name="valign">center</property>
<layout>
<property name="left-attach">1</property>
<property name="top-attach">2</property>
<property name="column-span">3</property>
</layout>
</object>
</child>
<child>
<object class="GtkLabel" id="orientation_label">
<property name="halign">start</property>
<property name="valign">center</property>
<property name="label" translatable="yes">_Orientation:</property>
<property name="use-underline">1</property>
<property name="mnemonic-widget">portrait_radio</property>
<layout>
<property name="left-attach">0</property>
<property name="top-attach">3</property>
</layout>
</object>
</child>
<child>
<object class="GtkRadioButton" id="portrait_radio">
<property name="hexpand">1</property>
<property name="active">1</property>
<child>
<object class="GtkBox" id="box1">
<property name="spacing">6</property>
<child>
<object class="GtkImage" id="image1">
<property name="icon-name">orientation-portrait-symbolic</property>
</object>
</child>
<child>
<object class="GtkLabel" id="label1">
<property name="label" translatable="yes">Portrait</property>
</object>
</child>
</object>
</child>
<layout>
<property name="left-attach">1</property>
<property name="top-attach">3</property>
</layout>
</object>
</child>
<child>
<object class="GtkRadioButton" id="reverse_portrait_radio">
<property name="hexpand">1</property>
<property name="active">1</property>
<property name="group">portrait_radio</property>
<child>
<object class="GtkBox" id="box2">
<property name="spacing">6</property>
<child>
<object class="GtkImage" id="image2">
<property name="icon-name">orientation-portrait-inverse-symbolic</property>
</object>
</child>
<child>
<object class="GtkLabel" id="label2">
<property name="label" translatable="yes">Reverse portrait</property>
</object>
</child>
</object>
</child>
<layout>
<property name="left-attach">2</property>
<property name="top-attach">3</property>
</layout>
</object>
</child>
<child>
<object class="GtkRadioButton" id="landscape_radio">
<property name="hexpand">1</property>
<property name="active">1</property>
<property name="group">portrait_radio</property>
<child>
<object class="GtkBox" id="box3">
<property name="spacing">6</property>
<child>
<object class="GtkImage" id="image3">
<property name="icon-name">orientation-landscape-symbolic</property>
</object>
</child>
<child>
<object class="GtkLabel" id="label3">
<property name="label" translatable="yes">Landscape</property>
</object>
</child>
</object>
</child>
<layout>
<property name="left-attach">1</property>
<property name="top-attach">4</property>
</layout>
</object>
</child>
<child>
<object class="GtkRadioButton" id="reverse_landscape_radio">
<property name="hexpand">1</property>
<property name="group">portrait_radio</property>
<child>
<object class="GtkBox" id="box4">
<property name="spacing">6</property>
<child>
<object class="GtkImage" id="image4">
<property name="icon-name">orientation-landscape-inverse-symbolic</property>
</object>
</child>
<child>
<object class="GtkLabel" id="label4">
<property name="label" translatable="yes">Reverse landscape</property>
</object>
</child>
</object>
</child>
<layout>
<property name="left-attach">2</property>
<property name="top-attach">4</property>
</layout>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
</interface>