Learning_GTK4_tree/gtk/print/ui/gtkpagesetupunixdialog.ui

148 lines
6.3 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>
<style>
<class name="pagesetup"/>
</style>
<child internal-child="content_area">
<object class="GtkBox" id="dialog-vbox1">
<property name="orientation">1</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">1</property>
<property name="valign">3</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="column">0</property>
<property name="row">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="column">1</property>
<property name="row">0</property>
<property name="column-span">3</property>
</layout>
</object>
</child>
<child>
<object class="GtkLabel" id="paper_size_combo_label">
<property name="halign">1</property>
<property name="valign">3</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="column">0</property>
<property name="row">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="column">1</property>
<property name="row">1</property>
<property name="column-span">3</property>
</layout>
</object>
</child>
<child>
<object class="GtkLabel" id="paper_size_label">
<property name="halign">1</property>
<property name="valign">3</property>
<layout>
<property name="column">1</property>
<property name="row">2</property>
<property name="column-span">3</property>
</layout>
</object>
</child>
<child>
<object class="GtkLabel" id="orientation_label">
<property name="halign">1</property>
<property name="valign">3</property>
<property name="label" translatable="yes">_Orientation:</property>
<property name="use-underline">1</property>
<property name="mnemonic-widget">portrait_radio</property>
<layout>
<property name="column">0</property>
<property name="row">3</property>
</layout>
</object>
</child>
<child>
<object class="GtkCheckButton" id="portrait_radio">
<property name="active">1</property>
<property name="label" translatable="yes">Portrait</property>
<layout>
<property name="column">1</property>
<property name="row">3</property>
</layout>
</object>
</child>
<child>
<object class="GtkCheckButton" id="reverse_portrait_radio">
<property name="active">1</property>
<property name="group">portrait_radio</property>
<property name="label" translatable="yes">Reverse portrait</property>
<layout>
<property name="column">2</property>
<property name="row">3</property>
</layout>
</object>
</child>
<child>
<object class="GtkCheckButton" id="landscape_radio">
<property name="hexpand">1</property>
<property name="active">1</property>
<property name="group">portrait_radio</property>
<property name="label" translatable="yes">Landscape</property>
<layout>
<property name="column">1</property>
<property name="row">4</property>
</layout>
</object>
</child>
<child>
<object class="GtkCheckButton" id="reverse_landscape_radio">
<property name="hexpand">1</property>
<property name="group">portrait_radio</property>
<property name="label" translatable="yes">Reverse landscape</property>
<layout>
<property name="column">2</property>
<property name="row">4</property>
</layout>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
</interface>