Code: Select all
#! /bin/sh
# Needs test.gif image in script start directory
export MAIN_DIALOG='
<window>
<vbox>
<pixmap preserve-aspect-ratio="false">
<variable>IMAGEN</variable>
<height>300</height>
<input file>./try.gif</input>
</pixmap>
</vbox>
</window>'
gtkwialog -p MAIN_DIALOG
gtkdialog3 uses GtkImageMenuItem [EDIT: No - that's just for menu stock/icons] functions (deprecated), gtkwialog4 on the other hand uses straight GtkImage functions.
I'm just documenting these points here to remind me when I look into it further tomorrow.
wiak