360 lines
19 KiB
XML
360 lines
19 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<interface>
|
||
<!-- interface-requires gtk+ 3.0 -->
|
||
<object class="GtkWindow" id="topWindow">
|
||
<property name="can_focus">False</property>
|
||
<property name="default_width">500</property>
|
||
<property name="default_height">300</property>
|
||
<signal name="destroy" handler="topWindow_destroy_cb" swapped="no"/>
|
||
<child>
|
||
<object class="GtkBox" id="vbox1">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="orientation">vertical</property>
|
||
<child>
|
||
<object class="GtkMenuBar" id="menubar1">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<child>
|
||
<object class="GtkMenuItem" id="menuitem1">
|
||
<property name="use_action_appearance">False</property>
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="label" translatable="yes">_Файл</property>
|
||
<property name="use_underline">True</property>
|
||
<child type="submenu">
|
||
<object class="GtkMenu" id="menu1">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<child>
|
||
<object class="GtkImageMenuItem" id="imagemenuitem1">
|
||
<property name="label">gtk-new</property>
|
||
<property name="use_action_appearance">False</property>
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="use_underline">True</property>
|
||
<property name="use_stock">True</property>
|
||
</object>
|
||
</child>
|
||
<child>
|
||
<object class="GtkImageMenuItem" id="imagemenuitem2">
|
||
<property name="label">gtk-open</property>
|
||
<property name="use_action_appearance">False</property>
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="use_underline">True</property>
|
||
<property name="use_stock">True</property>
|
||
</object>
|
||
</child>
|
||
<child>
|
||
<object class="GtkImageMenuItem" id="imagemenuitem3">
|
||
<property name="label">gtk-save</property>
|
||
<property name="use_action_appearance">False</property>
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="use_underline">True</property>
|
||
<property name="use_stock">True</property>
|
||
</object>
|
||
</child>
|
||
<child>
|
||
<object class="GtkImageMenuItem" id="imagemenuitem4">
|
||
<property name="label">gtk-save-as</property>
|
||
<property name="use_action_appearance">False</property>
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="use_underline">True</property>
|
||
<property name="use_stock">True</property>
|
||
</object>
|
||
</child>
|
||
<child>
|
||
<object class="GtkSeparatorMenuItem" id="separatormenuitem1">
|
||
<property name="use_action_appearance">False</property>
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
</object>
|
||
</child>
|
||
<child>
|
||
<object class="GtkImageMenuItem" id="imagemenuitem5">
|
||
<property name="label">gtk-quit</property>
|
||
<property name="use_action_appearance">False</property>
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="use_underline">True</property>
|
||
<property name="use_stock">True</property>
|
||
<signal name="activate" handler="topWindow_destroy_cb" swapped="no"/>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
<child>
|
||
<object class="GtkMenuItem" id="menuitem2">
|
||
<property name="use_action_appearance">False</property>
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="label" translatable="yes">_Правка</property>
|
||
<property name="use_underline">True</property>
|
||
<child type="submenu">
|
||
<object class="GtkMenu" id="menu2">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<child>
|
||
<object class="GtkImageMenuItem" id="imagemenuitem6">
|
||
<property name="label">gtk-cut</property>
|
||
<property name="use_action_appearance">False</property>
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="use_underline">True</property>
|
||
<property name="use_stock">True</property>
|
||
</object>
|
||
</child>
|
||
<child>
|
||
<object class="GtkImageMenuItem" id="imagemenuitem7">
|
||
<property name="label">gtk-copy</property>
|
||
<property name="use_action_appearance">False</property>
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="use_underline">True</property>
|
||
<property name="use_stock">True</property>
|
||
</object>
|
||
</child>
|
||
<child>
|
||
<object class="GtkImageMenuItem" id="imagemenuitem8">
|
||
<property name="label">gtk-paste</property>
|
||
<property name="use_action_appearance">False</property>
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="use_underline">True</property>
|
||
<property name="use_stock">True</property>
|
||
</object>
|
||
</child>
|
||
<child>
|
||
<object class="GtkImageMenuItem" id="imagemenuitem9">
|
||
<property name="label">gtk-delete</property>
|
||
<property name="use_action_appearance">False</property>
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="use_underline">True</property>
|
||
<property name="use_stock">True</property>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
<child>
|
||
<object class="GtkMenuItem" id="menuitem3">
|
||
<property name="use_action_appearance">False</property>
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="label" translatable="yes">_Вид</property>
|
||
<property name="use_underline">True</property>
|
||
</object>
|
||
</child>
|
||
<child>
|
||
<object class="GtkMenuItem" id="menuitem4">
|
||
<property name="use_action_appearance">False</property>
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="label" translatable="yes">_Справка</property>
|
||
<property name="use_underline">True</property>
|
||
<child type="submenu">
|
||
<object class="GtkMenu" id="menu3">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<child>
|
||
<object class="GtkImageMenuItem" id="imagemenuitem10">
|
||
<property name="label">gtk-about</property>
|
||
<property name="use_action_appearance">False</property>
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="use_underline">True</property>
|
||
<property name="use_stock">True</property>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">False</property>
|
||
<property name="fill">True</property>
|
||
<property name="position">0</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkFrame" id="frame1">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="label_xalign">0</property>
|
||
<property name="shadow_type">none</property>
|
||
<child>
|
||
<object class="GtkPaned" id="hpaned1">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">True</property>
|
||
<child>
|
||
<object class="GtkScrolledWindow" id="scrolledwindow1">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">True</property>
|
||
<property name="shadow_type">in</property>
|
||
<property name="min_content_width">145</property>
|
||
<property name="min_content_height">145</property>
|
||
<child>
|
||
<object class="GtkViewport" id="viewport1">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<child>
|
||
<object class="GtkBox" id="box1">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="orientation">vertical</property>
|
||
<child>
|
||
<object class="GtkRadioButton" id="rbutRectangle">
|
||
<property name="label" translatable="yes">radiobutton</property>
|
||
<property name="use_action_appearance">False</property>
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">True</property>
|
||
<property name="receives_default">False</property>
|
||
<property name="use_action_appearance">False</property>
|
||
<property name="xalign">0</property>
|
||
<property name="active">True</property>
|
||
<property name="draw_indicator">True</property>
|
||
<signal name="toggled" handler="rbutton_toggled_cb" swapped="no"/>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">False</property>
|
||
<property name="fill">True</property>
|
||
<property name="position">0</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkRadioButton" id="rbutEllipse">
|
||
<property name="label" translatable="yes">radiobutton</property>
|
||
<property name="use_action_appearance">False</property>
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">True</property>
|
||
<property name="receives_default">False</property>
|
||
<property name="use_action_appearance">False</property>
|
||
<property name="xalign">0</property>
|
||
<property name="active">True</property>
|
||
<property name="draw_indicator">True</property>
|
||
<property name="group">rbutRectangle</property>
|
||
<signal name="toggled" handler="rbutton_toggled_cb" swapped="no"/>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">False</property>
|
||
<property name="fill">True</property>
|
||
<property name="position">1</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkRadioButton" id="rbutTriangle">
|
||
<property name="label" translatable="yes">radiobutton</property>
|
||
<property name="use_action_appearance">False</property>
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">True</property>
|
||
<property name="receives_default">False</property>
|
||
<property name="use_action_appearance">False</property>
|
||
<property name="xalign">0</property>
|
||
<property name="active">True</property>
|
||
<property name="draw_indicator">True</property>
|
||
<property name="group">rbutRectangle</property>
|
||
<signal name="toggled" handler="rbutton_toggled_cb" swapped="no"/>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">False</property>
|
||
<property name="fill">True</property>
|
||
<property name="position">2</property>
|
||
</packing>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
<packing>
|
||
<property name="resize">False</property>
|
||
<property name="shrink">True</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkScrolledWindow" id="scrolledwindow2">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">True</property>
|
||
<property name="shadow_type">in</property>
|
||
<child>
|
||
<object class="GtkViewport" id="viewport2">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<child>
|
||
<object class="GtkBox" id="box2">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="orientation">vertical</property>
|
||
<child>
|
||
<object class="GtkLabel" id="label1">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="label" translatable="yes">Холст размером 300 x 200</property>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">False</property>
|
||
<property name="fill">True</property>
|
||
<property name="position">0</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkDrawingArea" id="drawingarea">
|
||
<property name="width_request">300</property>
|
||
<property name="height_request">200</property>
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="events">GDK_EXPOSURE_MASK | GDK_STRUCTURE_MASK</property>
|
||
<property name="halign">start</property>
|
||
<signal name="draw" handler="drawingarea_draw_event_cb" swapped="no"/>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">True</property>
|
||
<property name="fill">True</property>
|
||
<property name="position">1</property>
|
||
</packing>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
<packing>
|
||
<property name="resize">True</property>
|
||
<property name="shrink">True</property>
|
||
</packing>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">False</property>
|
||
<property name="fill">True</property>
|
||
<property name="position">1</property>
|
||
</packing>
|
||
</child>
|
||
<child>
|
||
<object class="GtkStatusbar" id="statusbar1">
|
||
<property name="visible">True</property>
|
||
<property name="can_focus">False</property>
|
||
<property name="orientation">vertical</property>
|
||
<property name="spacing">2</property>
|
||
</object>
|
||
<packing>
|
||
<property name="expand">False</property>
|
||
<property name="fill">True</property>
|
||
<property name="position">2</property>
|
||
</packing>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</interface>
|