My_GtkUi/Gtk4/res/leftpanel.ui

459 lines
19 KiB
Plaintext
Raw Normal View History

2021-04-17 11:21:30 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<interface>
2021-10-24 15:00:01 +08:00
<requires lib="gtk" version="4.0"/>
2021-04-17 11:21:30 +08:00
<object class="GtkPopover" id="popover1">
2021-10-24 15:00:01 +08:00
<property name="width-request">320</property>
2021-04-17 11:21:30 +08:00
<property name="height-request">400</property>
2021-10-24 15:00:01 +08:00
<property name="valign">start</property>
<property name="has-arrow">0</property>
<property name="child">
2021-04-17 11:21:30 +08:00
<object class="GtkNotebook">
2021-10-24 15:00:01 +08:00
<property name="visible">1</property>
<property name="focusable">1</property>
2021-04-17 11:21:30 +08:00
<property name="tab-pos">left</property>
2021-10-24 15:00:01 +08:00
<property name="enable-popup">1</property>
2021-04-17 11:21:30 +08:00
<child>
2021-10-24 15:00:01 +08:00
<object class="GtkNotebookPage">
<property name="child">
<object class="GtkBox">
<property name="visible">1</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkButton" id="btnaud">
<property name="visible">1</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<child>
<object class="GtkBox">
<child>
<object class="GtkImage">
<property name="pixel-size">16</property>
<property name="icon-name">audacious</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">audacious</property>
<property name="hexpand">1</property>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkButton" id="btngedit">
<property name="visible">1</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<child>
<object class="GtkBox">
<child>
<object class="GtkImage">
<property name="pixel-size">16</property>
<property name="icon-name">gedit</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">Gedit Text Editor</property>
<property name="hexpand">1</property>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkButton" id="btnvlc">
<property name="visible">1</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<child>
<object class="GtkBox">
<child>
<object class="GtkImage">
<property name="pixel-size">16</property>
<property name="icon-name">vlc</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">VLC Media Player</property>
<property name="hexpand">1</property>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
2021-04-17 11:21:30 +08:00
</object>
2021-10-24 15:00:01 +08:00
</property>
<property name="tab">
<object class="GtkLabel">
<property name="visible">1</property>
<property name="label" translatable="yes">Applications (Linux)</property>
2021-04-17 11:21:30 +08:00
</object>
2021-10-24 15:00:01 +08:00
</property>
2021-04-17 11:21:30 +08:00
</object>
</child>
<child>
2021-10-24 15:00:01 +08:00
<object class="GtkNotebookPage">
<property name="position">1</property>
<property name="child">
<object class="GtkBox">
<property name="visible">1</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkButton" id="btn_vlc">
<property name="visible">1</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<child>
<object class="GtkBox">
<child>
<object class="GtkImage">
<property name="pixel-size">16</property>
<property name="icon-name">vlc</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">VLC Media Player</property>
<property name="hexpand">1</property>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkButton" id="btn_note">
<property name="visible">1</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<child>
<object class="GtkBox">
<child>
<object class="GtkImage">
<property name="pixel-size">16</property>
<property name="icon-name">gedit</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">Notepad</property>
<property name="hexpand">1</property>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
2021-04-17 11:21:30 +08:00
</object>
2021-10-24 15:00:01 +08:00
</property>
<property name="tab">
<object class="GtkLabel">
<property name="visible">1</property>
<property name="label" translatable="yes">Applications (Win32)</property>
2021-04-17 11:21:30 +08:00
</object>
2021-10-24 15:00:01 +08:00
</property>
2021-04-17 11:21:30 +08:00
</object>
</child>
<child>
2021-10-24 15:00:01 +08:00
<object class="GtkNotebookPage">
<property name="position">2</property>
<property name="child">
<object class="GtkBox">
<property name="visible">1</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkButton" id="btnabout">
<property name="visible">1</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<child>
<object class="GtkBox">
<child>
<object class="GtkImage">
<property name="pixel-size">16</property>
<property name="icon-name">mygtkui_about</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">About</property>
<property name="hexpand">1</property>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkButton" id="btndraw">
<property name="visible">1</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<child>
<object class="GtkBox">
<child>
<object class="GtkImage">
<property name="pixel-size">16</property>
<property name="icon-name">drawing_app</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">Drawing App</property>
<property name="hexpand">1</property>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkButton" id="btnfiles">
<property name="visible">1</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<child>
<object class="GtkBox">
<child>
<object class="GtkImage">
<property name="pixel-size">16</property>
<property name="icon-name">file-app</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">File Manager</property>
<property name="hexpand">1</property>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkButton" id="btngame">
<property name="visible">1</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<child>
<object class="GtkBox">
<child>
<object class="GtkImage">
<property name="pixel-size">16</property>
<property name="icon-name">game</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">Guess Game</property>
<property name="hexpand">1</property>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkButton" id="btnrun">
<property name="visible">1</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<property name="label">Run</property>
</object>
</child>
2021-11-06 21:40:31 +08:00
<child>
<object class="GtkButton" id="btnmedia">
<property name="visible">1</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<child>
<object class="GtkBox">
<child>
<object class="GtkImage">
<property name="pixel-size">16</property>
<property name="icon-name">multimedia-player</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">Media Player</property>
<property name="hexpand">1</property>
</object>
</child>
</object>
</child>
</object>
</child>
2021-10-24 15:00:01 +08:00
<child>
<object class="GtkButton" id="btneditor">
<property name="visible">1</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<child>
<object class="GtkBox">
<child>
<object class="GtkImage">
<property name="pixel-size">16</property>
<property name="icon-name">gedit</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">Simple Text Editor</property>
<property name="hexpand">1</property>
</object>
</child>
</object>
</child>
</object>
</child>
2021-07-22 08:51:49 +08:00
</object>
2021-10-24 15:00:01 +08:00
</property>
<property name="tab">
<object class="GtkLabel">
<property name="visible">1</property>
<property name="label" translatable="yes">General Apps</property>
2021-10-09 14:05:57 +08:00
</object>
2021-10-24 15:00:01 +08:00
</property>
2021-04-17 11:21:30 +08:00
</object>
</child>
</object>
2021-10-24 15:00:01 +08:00
</property>
2021-04-17 11:21:30 +08:00
</object>
2021-10-24 15:00:01 +08:00
<template class="LeftPanel" parent="GtkBox">
2021-04-17 11:21:30 +08:00
<property name="orientation">vertical</property>
<property name="spacing">5</property>
<child>
<object class="GtkMenuButton" id="btnstart">
2021-10-24 15:00:01 +08:00
<property name="visible">1</property>
<property name="focusable">1</property>
<property name="focus-on-click">0</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
2021-04-17 11:21:30 +08:00
<property name="direction">right</property>
<property name="popover">popover1</property>
2022-01-12 19:10:57 +08:00
<child>
<object class="GtkImage" id="start_image">
<property name="pixel-size">48</property>
<property name="icon-name">My_GtkUI</property>
</object>
</child>
2021-04-17 11:21:30 +08:00
</object>
</child>
<child>
2024-04-01 18:09:51 +08:00
<object class="GtkScrolledWindow" id="icons_sw">
<property name="vexpand">1</property>
2021-10-27 16:57:46 +08:00
<child>
2024-04-01 18:09:51 +08:00
<object class="GtkBox">
<property name="orientation">vertical</property>
<property name="spacing">5</property>
<child>
<object class="GtkButton" id="panel_file">
<property name="visible">1</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<child>
<object class="GtkImage" id="file_image">
<property name="pixel-size">48</property>
<property name="icon-name">file-app</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkButton" id="panel_game">
<property name="visible">1</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<child>
<object class="GtkImage" id="game_image">
<property name="pixel-size">48</property>
<property name="icon-name">game</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkButton" id="panel_editor">
<property name="visible">1</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<child>
<object class="GtkImage" id="editor_image">
<property name="pixel-size">48</property>
<property name="icon-name">gedit</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkButton" id="panel_drawing">
<property name="visible">1</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<child>
<object class="GtkImage" id="drawing_image">
<property name="pixel-size">48</property>
<property name="icon-name">drawing_app</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkButton" id="panel_media">
<property name="visible">1</property>
<property name="focusable">1</property>
<property name="receives-default">1</property>
<property name="has-frame">0</property>
<child>
<object class="GtkImage" id="media_image">
<property name="pixel-size">48</property>
<property name="icon-name">multimedia-player1</property>
</object>
</child>
</object>
</child>
2021-11-06 21:40:31 +08:00
</object>
</child>
</object>
</child>
2021-10-24 15:00:01 +08:00
</template>
2021-04-17 11:21:30 +08:00
</interface>