"one file" Gtk2::GladeXML example



Instructions:
put all files in the same dir
make sure inline_image is executable
type make
run test_glade

NB: This time you will need Inline::Files and a C compiler.  The C compiler is
only used during the build phase to make the inline image and may be removed
from later examples, it was just easier to deal with the output from
gdk-pixbuf-csource this way (more research needed).

features:
inline images via xpm imbedded in the glade file
inline images via pixbuf dumps *
custom Gtk2::SimpleList widget creation
custom widget creation via Perl code embedded in the glade file
multiple inline files *

* new

Attachment: camel-head.jpg
Description: JPEG image

Attachment: test_glade.pl
Description: Binary data

Attachment: test_glade.glade
Description: Binary data

Attachment: Makefile
Description: Binary data

Attachment: inline_image
Description: Binary data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]