/usr/lib/x86_64-linux-gnu/perl5/5.24/Gnome2/AppHelper.pod is in libgnome2-perl 1.046-3+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 | =head1 NAME
Gnome2::AppHelper
=cut
=for object Gnome2::AppHelper
=for apidoc
=head1 GnomeUIInfo
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:
=over
=item 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.
=item 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.
The example from above would become:
[ "item", "Item", undef, sub { exit(0); },
undef, undef, undef, undef ]
=back
To create multi-level structures, you use the "subtree" type and the "subtree"
key, as in the following example:
{
type => "subtree",
label => "Radio Items",
subtree => [
{
type => "radioitems",
moreinfo => [
{
type => "item",
label => "A"
},
{
type => "item",
label => "B"
},
{
type => "item",
label => "C"
},
{
type => "item",
label => "D"
},
{
type => "item",
label => "E"
}
]
}
]
}
=cut
=for object Gnome2::AppHelper
=cut
=for object Gnome2::AppHelper
=cut
=for object Gnome2::AppHelper
=cut
=head1 METHODS
=head2 Gnome2-E<gt>B<accelerators_sync>
=head2 $menu_shell-E<gt>B<fill_menu> ($uiinfo, $accel_group, $uline_accels, $pos)
=over
=item * $uiinfo (Gnome2::UIInfo)
=item * $accel_group (Gtk2::AccelGroup)
=item * $uline_accels (boolean)
=item * $pos (integer)
=back
=head2 $toolbar-E<gt>B<fill_toolbar> ($uiinfo, $accel_group)
=over
=item * $uiinfo (Gnome2::UIInfo)
=item * $accel_group (Gtk2::AccelGroup)
=back
=head2 list = $parent-E<gt>B<find_menu_pos> ($path)
=over
=item * $path (string)
=back
Returns the GtkWidget and the position associated with the path.
=head2 $bar-E<gt>B<install_menu_hints> ($uiinfo)
=over
=item * $uiinfo (Gnome2::UIInfo)
=back
=cut
=head1 SEE ALSO
L<Gnome2>
=cut
=head1 COPYRIGHT
Copyright (C) 2003-2004 by the gtk2-perl team.
This software is licensed under the LGPL. See L<Gnome2> for a full notice.
=cut
|