summaryrefslogtreecommitdiff
path: root/graphicsui.sh
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2016-12-24 14:37:20 +0000
committerV3n3RiX <venerix@redcorelinux.org>2016-12-24 14:37:20 +0000
commit4f800ef215b334beac98defcc989404ec753086d (patch)
tree26c21b587c517844adf8ad781962c46e44ddbd8f /graphicsui.sh
parentaff759b81dba77aa94c4582d893c931132c1612d (diff)
connect graphics user interface to main user interface
Diffstat (limited to 'graphicsui.sh')
-rwxr-xr-xgraphicsui.sh28
1 files changed, 28 insertions, 0 deletions
diff --git a/graphicsui.sh b/graphicsui.sh
index 8270773..e9a4efa 100755
--- a/graphicsui.sh
+++ b/graphicsui.sh
@@ -4,5 +4,33 @@
export local graphicsui='
<window title="Sisyphus - A simple Epkg GUI" window-position="1" icon-name="gtk-search" modal="true" resizable="false" width-request="800" height-request="600">
<vbox>
+<frame Graphics>
+ <hbox space-expand="true" space-extend="true">
+ <table hscrollbar-policy="1" vscrollbar-policy="1" exported-column="1">
+ <variable>graphics</variable>
+ <label>Application Category|Application Name|Application Description</label>
+ <item>media-gfx|gimp|GNU Image Manipulation Program</item>
+ </table>
+ </hbox>
+ <hbox space-expand="false" space-extend="false">
+ <button space-expand="true" space-extend="true" label-text="install">
+ <label>Install package</label>
+ <action>epkg autoinstall $graphics|$showdialog</action>
+ </button>
+ <button space-expand="true" space-extend="true" label-text="uninstall">
+ <label>Uninstall package</label>
+ <action>epkg autoremove $graphics|$showdialog</action>
+ </button>
+ <button space-expand="true" space-extend="true" label-text="home">
+ <label>Back home</label>
+ <action signal="button-press-event">gtkdialog --space-expand=true --space-fill=true --program=mainui &</action>
+ <action signal="button-release-event">EXIT:ok</action>
+ </button>
+ <button space-expand="true" space-extend="true" label-text="exit">
+ <label>Exit</label>
+ <action>EXIT:ok</action>
+ </button>
+ </hbox>
+</frame>
</vbox>
</window>'