diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2024-05-13 21:34:56 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2024-05-14 10:27:57 (GMT) |
commit | e9f10d8fe1c5e9f8a70801c1cd4d3d342e290f15 (patch) | |
tree | 42a1d8560e8772e76e4e57db82a441d4a8152f74 /src/gtkext/hexview.ui | |
parent | 071572b0df281cfa04442a636e84fbabd2acfe57 (diff) |
Introduce a template for the widget providing a hex view.
Diffstat (limited to 'src/gtkext/hexview.ui')
-rw-r--r-- | src/gtkext/hexview.ui | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/gtkext/hexview.ui b/src/gtkext/hexview.ui new file mode 100644 index 0000000..f0dd8b0 --- /dev/null +++ b/src/gtkext/hexview.ui @@ -0,0 +1,32 @@ +<interface> + <template class="GtkHexView" parent="GtkWidget"> + <property name="css-name">GtkHexView</property> + <child> + <object class="GtkComposingArea" id="offsets"> + <style> + <class name="gutter"/> + </style> + </object> + </child> + <child> + <object class="GtkComposingArea" id="hex"> + <property name="hexpand">true</property> + <style> + <class name="custom-view"/> + </style> + </object> + </child> + <child> + <object class="GtkComposingArea" id="ascii"> + <style> + <class name="custom-view"/> + </style> + </object> + </child> + <child> + <object class="GtkScrollbar" id="vscroll"> + <property name="orientation">1</property> + </object> + </child> + </template> +</interface> |