In Gnome2 GnomeUIInfo's are often used as a convenient way to create GUI's. In
Perl, GnomeUIInfo's are always references to arrays of items. Items can either
be references to hashs or references to arrays:
Hash Reference
When using hash references, items are specified by giving key-value pairs. A
typical example:
{ type => "item", label => "Quit", callback => sub { exit(0); } }
For the list of valid keys, see below.
Array References
When using array references, items are a list of the following keys, in this
order:
type,
label,
hint,
moreinfo,
pixmap_type,
pixmap_info,
accelerator_key and
modifiers.