virt-manager/ui/choosecd.ui

252 lines
12 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
2018-01-20 01:34:32 +03:00
<!-- Generated with glade 3.20.2 -->
<interface>
<requires lib="gtk+" version="3.14"/>
<object class="GtkDialog" id="vmm-choose-cd">
2008-10-31 17:18:55 +03:00
<property name="can_focus">True</property>
<property name="has_focus">True</property>
<property name="border_width">6</property>
<property name="title" translatable="yes">Choose Media</property>
2008-10-31 17:18:55 +03:00
<property name="resizable">False</property>
<property name="window_position">center-on-parent</property>
<property name="type_hint">dialog</property>
<property name="gravity">center</property>
<signal name="delete-event" handler="on_vmm_choose_cd_delete_event" swapped="no"/>
2008-10-31 17:18:55 +03:00
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
2008-10-31 17:18:55 +03:00
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
2018-01-20 01:34:32 +03:00
<property name="spacing">6</property>
<child internal-child="action_area">
<object class="GtkButtonBox" id="dialog-action_area1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="Cancel">
<property name="label">gtk-cancel</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
<property name="receives_default">False</property>
<property name="use_stock">True</property>
<signal name="clicked" handler="on_cancel_clicked" swapped="no"/>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkButton" id="OK">
<property name="label">gtk-ok</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
<property name="receives_default">False</property>
<property name="use_stock">True</property>
<signal name="clicked" handler="on_ok_clicked" swapped="no"/>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
<property name="pack_type">end</property>
<property name="position">0</property>
</packing>
</child>
2008-10-31 17:18:55 +03:00
<child>
<object class="GtkFrame" id="frame1">
2008-10-31 17:18:55 +03:00
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="border_width">3</property>
<property name="label_xalign">0</property>
<property name="shadow_type">none</property>
2008-10-31 17:18:55 +03:00
<child>
<object class="GtkAlignment" id="alignment2">
2008-10-31 17:18:55 +03:00
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="top_padding">6</property>
<property name="left_padding">10</property>
2008-10-31 17:18:55 +03:00
<child>
Convert GtkTable to GtkGrid GtkTable was deprecated since Gtk version 3.4 and should not be used in newly-written code. It should be replaced by GtkGrid. https://developer.gnome.org/gtk3/stable/GtkTable.html https://developer.gnome.org/gtk3/stable/GtkGrid.html GtkTable is mapped to GtkGrid following these rules: ---------------- - n_(row|columns) are removed because they are not required for GtkGrid ---------------- - Missing "left_attach" and "top_attach" are added with value set to 0. Example: <property name="left_attach">0</property> <property name="top_attach">0</property> ---------------- - (right_attach - left_attach) > 1 is stored in new "width" property Example: In case of: (GtkTable) <property name="left_attach">1</property> <property name="right_attach">4</property> Equivalent to: (GtkGrid) <property name="width">3</property> ---------------- - (bottom_attach - top_attach) > 1 is stored in new "height" property Example: In case of: (GtkTable) <property name="top_attach">1</property> <property name="bottom_attach">3</property> Equivalent to: (GtkGrid) <property name="height">2</property> ---------------- - Missing packing "(x|y)_options" property is represented as no "(h|v)align" object property and "(h|v)expand" object property set to "true" Example: In case of: (GtkTable) # Missing y_options property Equivalent to: (GtkGrid) <property name="vexpand">True</property> # No valign property ---------------- - Packing "(x|y)_options" property set to "GTK_FILL" is represented as no "(h|v)expand" object property and no "(h|v)align" object property Example: In case of: (GtkTable) <property name="x_options">GTK_FILL</property> Equivalent to: (GtkGrid) # No hexpand property # No halign property ---------------- - Packing "(x|y)_options" property set to "GTK_EXPAND" is represented as "(h|v)expand" object property set to "true" and "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="x_options">GTK_EXPAND</property> Equivalent to: (GtkGrid) <property name="hexpand">True</property> <property name="halign">center</property> ---------------- - Packing "(x|y)_options" property set to nothing is represented as "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="y_options" /> Equivalent to: (GtkGrid) <property name="valign">center</property> ---------------- - All "(x|y)_options" rules apply but don't change existing "(h|v)align" and "(h|v)expand" object properties ---------------- - Packing "x_padding" property is converted to "margin_(start|end)" object property Example: In case of: (GtkTable) <property name="x_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_start">6</property> <property name="margin_end">6</property> ---------------- - Packing "y_padding" property is converted to "margin_(top|bottom)" object property Example: In case of: (GtkTable) <property name="y_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_top">6</property> <property name="margin_bottom">6</property>
2017-05-31 16:08:40 +03:00
<object class="GtkGrid" id="table1">
2008-10-31 17:18:55 +03:00
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="row_spacing">6</property>
Convert GtkTable to GtkGrid GtkTable was deprecated since Gtk version 3.4 and should not be used in newly-written code. It should be replaced by GtkGrid. https://developer.gnome.org/gtk3/stable/GtkTable.html https://developer.gnome.org/gtk3/stable/GtkGrid.html GtkTable is mapped to GtkGrid following these rules: ---------------- - n_(row|columns) are removed because they are not required for GtkGrid ---------------- - Missing "left_attach" and "top_attach" are added with value set to 0. Example: <property name="left_attach">0</property> <property name="top_attach">0</property> ---------------- - (right_attach - left_attach) > 1 is stored in new "width" property Example: In case of: (GtkTable) <property name="left_attach">1</property> <property name="right_attach">4</property> Equivalent to: (GtkGrid) <property name="width">3</property> ---------------- - (bottom_attach - top_attach) > 1 is stored in new "height" property Example: In case of: (GtkTable) <property name="top_attach">1</property> <property name="bottom_attach">3</property> Equivalent to: (GtkGrid) <property name="height">2</property> ---------------- - Missing packing "(x|y)_options" property is represented as no "(h|v)align" object property and "(h|v)expand" object property set to "true" Example: In case of: (GtkTable) # Missing y_options property Equivalent to: (GtkGrid) <property name="vexpand">True</property> # No valign property ---------------- - Packing "(x|y)_options" property set to "GTK_FILL" is represented as no "(h|v)expand" object property and no "(h|v)align" object property Example: In case of: (GtkTable) <property name="x_options">GTK_FILL</property> Equivalent to: (GtkGrid) # No hexpand property # No halign property ---------------- - Packing "(x|y)_options" property set to "GTK_EXPAND" is represented as "(h|v)expand" object property set to "true" and "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="x_options">GTK_EXPAND</property> Equivalent to: (GtkGrid) <property name="hexpand">True</property> <property name="halign">center</property> ---------------- - Packing "(x|y)_options" property set to nothing is represented as "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="y_options" /> Equivalent to: (GtkGrid) <property name="valign">center</property> ---------------- - All "(x|y)_options" rules apply but don't change existing "(h|v)align" and "(h|v)expand" object properties ---------------- - Packing "x_padding" property is converted to "margin_(start|end)" object property Example: In case of: (GtkTable) <property name="x_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_start">6</property> <property name="margin_end">6</property> ---------------- - Packing "y_padding" property is converted to "margin_(top|bottom)" object property Example: In case of: (GtkTable) <property name="y_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_top">6</property> <property name="margin_bottom">6</property>
2017-05-31 16:08:40 +03:00
<property name="column_spacing">6</property>
2008-10-31 17:18:55 +03:00
<child>
<object class="GtkBox" id="hbox1">
2008-10-31 17:18:55 +03:00
<property name="visible">True</property>
<property name="can_focus">False</property>
Convert GtkTable to GtkGrid GtkTable was deprecated since Gtk version 3.4 and should not be used in newly-written code. It should be replaced by GtkGrid. https://developer.gnome.org/gtk3/stable/GtkTable.html https://developer.gnome.org/gtk3/stable/GtkGrid.html GtkTable is mapped to GtkGrid following these rules: ---------------- - n_(row|columns) are removed because they are not required for GtkGrid ---------------- - Missing "left_attach" and "top_attach" are added with value set to 0. Example: <property name="left_attach">0</property> <property name="top_attach">0</property> ---------------- - (right_attach - left_attach) > 1 is stored in new "width" property Example: In case of: (GtkTable) <property name="left_attach">1</property> <property name="right_attach">4</property> Equivalent to: (GtkGrid) <property name="width">3</property> ---------------- - (bottom_attach - top_attach) > 1 is stored in new "height" property Example: In case of: (GtkTable) <property name="top_attach">1</property> <property name="bottom_attach">3</property> Equivalent to: (GtkGrid) <property name="height">2</property> ---------------- - Missing packing "(x|y)_options" property is represented as no "(h|v)align" object property and "(h|v)expand" object property set to "true" Example: In case of: (GtkTable) # Missing y_options property Equivalent to: (GtkGrid) <property name="vexpand">True</property> # No valign property ---------------- - Packing "(x|y)_options" property set to "GTK_FILL" is represented as no "(h|v)expand" object property and no "(h|v)align" object property Example: In case of: (GtkTable) <property name="x_options">GTK_FILL</property> Equivalent to: (GtkGrid) # No hexpand property # No halign property ---------------- - Packing "(x|y)_options" property set to "GTK_EXPAND" is represented as "(h|v)expand" object property set to "true" and "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="x_options">GTK_EXPAND</property> Equivalent to: (GtkGrid) <property name="hexpand">True</property> <property name="halign">center</property> ---------------- - Packing "(x|y)_options" property set to nothing is represented as "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="y_options" /> Equivalent to: (GtkGrid) <property name="valign">center</property> ---------------- - All "(x|y)_options" rules apply but don't change existing "(h|v)align" and "(h|v)expand" object properties ---------------- - Packing "x_padding" property is converted to "margin_(start|end)" object property Example: In case of: (GtkTable) <property name="x_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_start">6</property> <property name="margin_end">6</property> ---------------- - Packing "y_padding" property is converted to "margin_(top|bottom)" object property Example: In case of: (GtkTable) <property name="y_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_top">6</property> <property name="margin_bottom">6</property>
2017-05-31 16:08:40 +03:00
<property name="hexpand">True</property>
<property name="spacing">6</property>
2009-04-03 23:38:41 +04:00
<child>
<object class="GtkEntry" id="iso-path">
2009-04-03 23:38:41 +04:00
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="invisible_char">●</property>
</object>
2008-10-31 17:18:55 +03:00
<packing>
<property name="expand">True</property>
<property name="fill">True</property>
<property name="position">0</property>
2008-10-31 17:18:55 +03:00
</packing>
</child>
<child>
<object class="GtkButton" id="iso-file-chooser">
<property name="label" translatable="yes">_Browse...</property>
2008-10-31 17:18:55 +03:00
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
2008-10-31 17:18:55 +03:00
<property name="use_underline">True</property>
<signal name="clicked" handler="on_fv_iso_location_browse_clicked" swapped="no"/>
</object>
2008-10-31 17:18:55 +03:00
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">1</property>
2008-10-31 17:18:55 +03:00
</packing>
</child>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">1</property>
</packing>
</child>
<child>
<object class="GtkRadioButton" id="physical-media">
2018-01-20 01:34:32 +03:00
<property name="label" translatable="yes">P_hysical Device</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="active">True</property>
<property name="draw_indicator">True</property>
<signal name="toggled" handler="on_media_toggled" swapped="no"/>
</object>
<packing>
Convert GtkTable to GtkGrid GtkTable was deprecated since Gtk version 3.4 and should not be used in newly-written code. It should be replaced by GtkGrid. https://developer.gnome.org/gtk3/stable/GtkTable.html https://developer.gnome.org/gtk3/stable/GtkGrid.html GtkTable is mapped to GtkGrid following these rules: ---------------- - n_(row|columns) are removed because they are not required for GtkGrid ---------------- - Missing "left_attach" and "top_attach" are added with value set to 0. Example: <property name="left_attach">0</property> <property name="top_attach">0</property> ---------------- - (right_attach - left_attach) > 1 is stored in new "width" property Example: In case of: (GtkTable) <property name="left_attach">1</property> <property name="right_attach">4</property> Equivalent to: (GtkGrid) <property name="width">3</property> ---------------- - (bottom_attach - top_attach) > 1 is stored in new "height" property Example: In case of: (GtkTable) <property name="top_attach">1</property> <property name="bottom_attach">3</property> Equivalent to: (GtkGrid) <property name="height">2</property> ---------------- - Missing packing "(x|y)_options" property is represented as no "(h|v)align" object property and "(h|v)expand" object property set to "true" Example: In case of: (GtkTable) # Missing y_options property Equivalent to: (GtkGrid) <property name="vexpand">True</property> # No valign property ---------------- - Packing "(x|y)_options" property set to "GTK_FILL" is represented as no "(h|v)expand" object property and no "(h|v)align" object property Example: In case of: (GtkTable) <property name="x_options">GTK_FILL</property> Equivalent to: (GtkGrid) # No hexpand property # No halign property ---------------- - Packing "(x|y)_options" property set to "GTK_EXPAND" is represented as "(h|v)expand" object property set to "true" and "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="x_options">GTK_EXPAND</property> Equivalent to: (GtkGrid) <property name="hexpand">True</property> <property name="halign">center</property> ---------------- - Packing "(x|y)_options" property set to nothing is represented as "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="y_options" /> Equivalent to: (GtkGrid) <property name="valign">center</property> ---------------- - All "(x|y)_options" rules apply but don't change existing "(h|v)align" and "(h|v)expand" object properties ---------------- - Packing "x_padding" property is converted to "margin_(start|end)" object property Example: In case of: (GtkTable) <property name="x_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_start">6</property> <property name="margin_end">6</property> ---------------- - Packing "y_padding" property is converted to "margin_(top|bottom)" object property Example: In case of: (GtkTable) <property name="y_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_top">6</property> <property name="margin_bottom">6</property>
2017-05-31 16:08:40 +03:00
<property name="left_attach">0</property>
<property name="top_attach">2</property>
Convert GtkTable to GtkGrid GtkTable was deprecated since Gtk version 3.4 and should not be used in newly-written code. It should be replaced by GtkGrid. https://developer.gnome.org/gtk3/stable/GtkTable.html https://developer.gnome.org/gtk3/stable/GtkGrid.html GtkTable is mapped to GtkGrid following these rules: ---------------- - n_(row|columns) are removed because they are not required for GtkGrid ---------------- - Missing "left_attach" and "top_attach" are added with value set to 0. Example: <property name="left_attach">0</property> <property name="top_attach">0</property> ---------------- - (right_attach - left_attach) > 1 is stored in new "width" property Example: In case of: (GtkTable) <property name="left_attach">1</property> <property name="right_attach">4</property> Equivalent to: (GtkGrid) <property name="width">3</property> ---------------- - (bottom_attach - top_attach) > 1 is stored in new "height" property Example: In case of: (GtkTable) <property name="top_attach">1</property> <property name="bottom_attach">3</property> Equivalent to: (GtkGrid) <property name="height">2</property> ---------------- - Missing packing "(x|y)_options" property is represented as no "(h|v)align" object property and "(h|v)expand" object property set to "true" Example: In case of: (GtkTable) # Missing y_options property Equivalent to: (GtkGrid) <property name="vexpand">True</property> # No valign property ---------------- - Packing "(x|y)_options" property set to "GTK_FILL" is represented as no "(h|v)expand" object property and no "(h|v)align" object property Example: In case of: (GtkTable) <property name="x_options">GTK_FILL</property> Equivalent to: (GtkGrid) # No hexpand property # No halign property ---------------- - Packing "(x|y)_options" property set to "GTK_EXPAND" is represented as "(h|v)expand" object property set to "true" and "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="x_options">GTK_EXPAND</property> Equivalent to: (GtkGrid) <property name="hexpand">True</property> <property name="halign">center</property> ---------------- - Packing "(x|y)_options" property set to nothing is represented as "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="y_options" /> Equivalent to: (GtkGrid) <property name="valign">center</property> ---------------- - All "(x|y)_options" rules apply but don't change existing "(h|v)align" and "(h|v)expand" object properties ---------------- - Packing "x_padding" property is converted to "margin_(start|end)" object property Example: In case of: (GtkTable) <property name="x_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_start">6</property> <property name="margin_end">6</property> ---------------- - Packing "y_padding" property is converted to "margin_(top|bottom)" object property Example: In case of: (GtkTable) <property name="y_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_top">6</property> <property name="margin_bottom">6</property>
2017-05-31 16:08:40 +03:00
<property name="width">2</property>
</packing>
</child>
<child>
<object class="GtkAlignment" id="alignment5">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">start</property>
<property name="yscale">0</property>
2008-10-31 17:18:55 +03:00
<child>
<object class="GtkRadioButton" id="iso-image">
2018-01-20 01:34:32 +03:00
<property name="label" translatable="yes">_Image Location</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="draw_indicator">True</property>
<property name="group">physical-media</property>
<signal name="toggled" handler="on_media_toggled" swapped="no"/>
</object>
</child>
</object>
<packing>
Convert GtkTable to GtkGrid GtkTable was deprecated since Gtk version 3.4 and should not be used in newly-written code. It should be replaced by GtkGrid. https://developer.gnome.org/gtk3/stable/GtkTable.html https://developer.gnome.org/gtk3/stable/GtkGrid.html GtkTable is mapped to GtkGrid following these rules: ---------------- - n_(row|columns) are removed because they are not required for GtkGrid ---------------- - Missing "left_attach" and "top_attach" are added with value set to 0. Example: <property name="left_attach">0</property> <property name="top_attach">0</property> ---------------- - (right_attach - left_attach) > 1 is stored in new "width" property Example: In case of: (GtkTable) <property name="left_attach">1</property> <property name="right_attach">4</property> Equivalent to: (GtkGrid) <property name="width">3</property> ---------------- - (bottom_attach - top_attach) > 1 is stored in new "height" property Example: In case of: (GtkTable) <property name="top_attach">1</property> <property name="bottom_attach">3</property> Equivalent to: (GtkGrid) <property name="height">2</property> ---------------- - Missing packing "(x|y)_options" property is represented as no "(h|v)align" object property and "(h|v)expand" object property set to "true" Example: In case of: (GtkTable) # Missing y_options property Equivalent to: (GtkGrid) <property name="vexpand">True</property> # No valign property ---------------- - Packing "(x|y)_options" property set to "GTK_FILL" is represented as no "(h|v)expand" object property and no "(h|v)align" object property Example: In case of: (GtkTable) <property name="x_options">GTK_FILL</property> Equivalent to: (GtkGrid) # No hexpand property # No halign property ---------------- - Packing "(x|y)_options" property set to "GTK_EXPAND" is represented as "(h|v)expand" object property set to "true" and "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="x_options">GTK_EXPAND</property> Equivalent to: (GtkGrid) <property name="hexpand">True</property> <property name="halign">center</property> ---------------- - Packing "(x|y)_options" property set to nothing is represented as "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="y_options" /> Equivalent to: (GtkGrid) <property name="valign">center</property> ---------------- - All "(x|y)_options" rules apply but don't change existing "(h|v)align" and "(h|v)expand" object properties ---------------- - Packing "x_padding" property is converted to "margin_(start|end)" object property Example: In case of: (GtkTable) <property name="x_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_start">6</property> <property name="margin_end">6</property> ---------------- - Packing "y_padding" property is converted to "margin_(top|bottom)" object property Example: In case of: (GtkTable) <property name="y_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_top">6</property> <property name="margin_bottom">6</property>
2017-05-31 16:08:40 +03:00
<property name="left_attach">0</property>
<property name="top_attach">0</property>
<property name="width">2</property>
</packing>
</child>
<child>
<object class="GtkAlignment" id="alignment1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="left_padding">21</property>
<child>
<object class="GtkLabel" id="label36">
2008-10-31 17:18:55 +03:00
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">_Location:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">iso-path</property>
</object>
</child>
</object>
<packing>
Convert GtkTable to GtkGrid GtkTable was deprecated since Gtk version 3.4 and should not be used in newly-written code. It should be replaced by GtkGrid. https://developer.gnome.org/gtk3/stable/GtkTable.html https://developer.gnome.org/gtk3/stable/GtkGrid.html GtkTable is mapped to GtkGrid following these rules: ---------------- - n_(row|columns) are removed because they are not required for GtkGrid ---------------- - Missing "left_attach" and "top_attach" are added with value set to 0. Example: <property name="left_attach">0</property> <property name="top_attach">0</property> ---------------- - (right_attach - left_attach) > 1 is stored in new "width" property Example: In case of: (GtkTable) <property name="left_attach">1</property> <property name="right_attach">4</property> Equivalent to: (GtkGrid) <property name="width">3</property> ---------------- - (bottom_attach - top_attach) > 1 is stored in new "height" property Example: In case of: (GtkTable) <property name="top_attach">1</property> <property name="bottom_attach">3</property> Equivalent to: (GtkGrid) <property name="height">2</property> ---------------- - Missing packing "(x|y)_options" property is represented as no "(h|v)align" object property and "(h|v)expand" object property set to "true" Example: In case of: (GtkTable) # Missing y_options property Equivalent to: (GtkGrid) <property name="vexpand">True</property> # No valign property ---------------- - Packing "(x|y)_options" property set to "GTK_FILL" is represented as no "(h|v)expand" object property and no "(h|v)align" object property Example: In case of: (GtkTable) <property name="x_options">GTK_FILL</property> Equivalent to: (GtkGrid) # No hexpand property # No halign property ---------------- - Packing "(x|y)_options" property set to "GTK_EXPAND" is represented as "(h|v)expand" object property set to "true" and "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="x_options">GTK_EXPAND</property> Equivalent to: (GtkGrid) <property name="hexpand">True</property> <property name="halign">center</property> ---------------- - Packing "(x|y)_options" property set to nothing is represented as "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="y_options" /> Equivalent to: (GtkGrid) <property name="valign">center</property> ---------------- - All "(x|y)_options" rules apply but don't change existing "(h|v)align" and "(h|v)expand" object properties ---------------- - Packing "x_padding" property is converted to "margin_(start|end)" object property Example: In case of: (GtkTable) <property name="x_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_start">6</property> <property name="margin_end">6</property> ---------------- - Packing "y_padding" property is converted to "margin_(top|bottom)" object property Example: In case of: (GtkTable) <property name="y_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_top">6</property> <property name="margin_bottom">6</property>
2017-05-31 16:08:40 +03:00
<property name="left_attach">0</property>
<property name="top_attach">1</property>
</packing>
</child>
<child>
<object class="GtkAlignment" id="alignment3">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="left_padding">21</property>
<child>
<object class="GtkLabel" id="label38">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">_Device Media:</property>
<property name="use_underline">True</property>
</object>
2008-10-31 17:18:55 +03:00
</child>
</object>
<packing>
Convert GtkTable to GtkGrid GtkTable was deprecated since Gtk version 3.4 and should not be used in newly-written code. It should be replaced by GtkGrid. https://developer.gnome.org/gtk3/stable/GtkTable.html https://developer.gnome.org/gtk3/stable/GtkGrid.html GtkTable is mapped to GtkGrid following these rules: ---------------- - n_(row|columns) are removed because they are not required for GtkGrid ---------------- - Missing "left_attach" and "top_attach" are added with value set to 0. Example: <property name="left_attach">0</property> <property name="top_attach">0</property> ---------------- - (right_attach - left_attach) > 1 is stored in new "width" property Example: In case of: (GtkTable) <property name="left_attach">1</property> <property name="right_attach">4</property> Equivalent to: (GtkGrid) <property name="width">3</property> ---------------- - (bottom_attach - top_attach) > 1 is stored in new "height" property Example: In case of: (GtkTable) <property name="top_attach">1</property> <property name="bottom_attach">3</property> Equivalent to: (GtkGrid) <property name="height">2</property> ---------------- - Missing packing "(x|y)_options" property is represented as no "(h|v)align" object property and "(h|v)expand" object property set to "true" Example: In case of: (GtkTable) # Missing y_options property Equivalent to: (GtkGrid) <property name="vexpand">True</property> # No valign property ---------------- - Packing "(x|y)_options" property set to "GTK_FILL" is represented as no "(h|v)expand" object property and no "(h|v)align" object property Example: In case of: (GtkTable) <property name="x_options">GTK_FILL</property> Equivalent to: (GtkGrid) # No hexpand property # No halign property ---------------- - Packing "(x|y)_options" property set to "GTK_EXPAND" is represented as "(h|v)expand" object property set to "true" and "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="x_options">GTK_EXPAND</property> Equivalent to: (GtkGrid) <property name="hexpand">True</property> <property name="halign">center</property> ---------------- - Packing "(x|y)_options" property set to nothing is represented as "(h|v)align" object property set to "center" Example: In case of: (GtkTable) <property name="y_options" /> Equivalent to: (GtkGrid) <property name="valign">center</property> ---------------- - All "(x|y)_options" rules apply but don't change existing "(h|v)align" and "(h|v)expand" object properties ---------------- - Packing "x_padding" property is converted to "margin_(start|end)" object property Example: In case of: (GtkTable) <property name="x_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_start">6</property> <property name="margin_end">6</property> ---------------- - Packing "y_padding" property is converted to "margin_(top|bottom)" object property Example: In case of: (GtkTable) <property name="y_padding">6</property> Equivalent to: (GtkGrid) <property name="margin_top">6</property> <property name="margin_bottom">6</property>
2017-05-31 16:08:40 +03:00
<property name="left_attach">0</property>
<property name="top_attach">3</property>
</packing>
2008-10-31 17:18:55 +03:00
</child>
<child>
<object class="GtkAlignment" id="media-combo-align">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">False</property>
<property name="vexpand">False</property>
<child>
<placeholder/>
</child>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">3</property>
</packing>
</child>
</object>
2008-10-31 17:18:55 +03:00
</child>
</object>
</child>
<child type="label">
<object class="GtkLabel" id="title-label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">&lt;b&gt;Choose Source Device or File&lt;/b&gt;</property>
<property name="use_markup">True</property>
</object>
2008-10-31 17:18:55 +03:00
</child>
</object>
2008-10-31 17:18:55 +03:00
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
2008-10-31 17:18:55 +03:00
<property name="position">1</property>
</packing>
</child>
</object>
2008-10-31 17:18:55 +03:00
</child>
<action-widgets>
<action-widget response="-6">Cancel</action-widget>
<action-widget response="-5">OK</action-widget>
</action-widgets>
2018-01-20 01:34:32 +03:00
<child>
<placeholder/>
</child>
</object>
</interface>