generated from itdominator/Python-With-Gtk-Template
122 lines
5.5 KiB
XML
122 lines
5.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- Generated with glade 3.40.0 -->
|
|
<interface>
|
|
<requires lib="gtk+" version="3.24"/>
|
|
<requires lib="webkit2gtk" version="2.28"/>
|
|
<object class="GtkImage" id="settings_img">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="stock">gtk-justify-fill</property>
|
|
</object>
|
|
<object class="WebKitSettings" type-func="webkit_settings_get_type" id="web_view_settings">
|
|
<property name="enable-offline-web-application-cache">False</property>
|
|
<property name="enable-html5-local-storage">False</property>
|
|
<property name="enable-html5-database">False</property>
|
|
<property name="enable-xss-auditor">False</property>
|
|
<property name="enable-hyperlink-auditing">False</property>
|
|
<property name="enable-tabs-to-links">False</property>
|
|
<property name="enable-fullscreen">False</property>
|
|
<property name="print-backgrounds">False</property>
|
|
<property name="enable-webaudio">False</property>
|
|
<property name="enable-page-cache">False</property>
|
|
<property name="user-agent">Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.0 Safari/605.1.15</property>
|
|
<property name="enable-accelerated-2d-canvas">True</property>
|
|
<property name="allow-file-access-from-file-urls">True</property>
|
|
<property name="allow-universal-access-from-file-urls">True</property>
|
|
<property name="enable-webrtc">True</property>
|
|
</object>
|
|
<object class="GtkPopover" id="markdown_preview_dialog">
|
|
<property name="width-request">620</property>
|
|
<property name="height-request">480</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="position">left</property>
|
|
<property name="modal">False</property>
|
|
<property name="transitions-enabled">False</property>
|
|
<property name="constrain-to">none</property>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="orientation">vertical</property>
|
|
<child>
|
|
<object class="GtkButtonBox">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="layout-style">end</property>
|
|
<child>
|
|
<object class="GtkToggleButton">
|
|
<property name="label">gtk-media-pause</property>
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">True</property>
|
|
<property name="use-stock">True</property>
|
|
<property name="always-show-image">True</property>
|
|
<signal name="toggled" handler="_tggle_preview_updates" swapped="no"/>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton">
|
|
<property name="visible">True</property>
|
|
<property name="sensitive">False</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">True</property>
|
|
<property name="image">settings_img</property>
|
|
<signal name="clicked" handler="_handle_settings" swapped="no"/>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkScrolledWindow">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="shadow-type">in</property>
|
|
<child>
|
|
<object class="GtkViewport">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<child>
|
|
<object class="WebKitWebView" type-func="webkit_web_view_get_type" id="markdown_view">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="settings">web_view_settings</property>
|
|
<property name="is-ephemeral">True</property>
|
|
<property name="is-muted">True</property>
|
|
<property name="default-content-security-policy">*</property>
|
|
<child>
|
|
<placeholder/>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|