/usr/lib/perl5/Gnome2.pm is in libgnome2-perl 1.044-1.
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 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 | # $Id$
package Gnome2;
use 5.008;
use strict;
use warnings;
use Gtk2;
use Gnome2::Canvas;
use Gnome2::VFS;
require DynaLoader;
our @ISA = qw(DynaLoader);
our $VERSION = '1.044';
sub import {
my $self = shift();
$self -> VERSION(@_);
}
sub dl_load_flags { $^O eq 'darwin' ? 0x00 : 0x01 }
Gnome2 -> bootstrap($VERSION);
1;
__END__
=head1 NAME
Gnome2 - Perl interface to the 2.x series of the GNOME libraries
=head1 SYNOPSIS
use Gnome2;
Gnome2::Program->init ($appname, $appversion);
my $app = Gnome2::App->new ($appname);
$app->show;
Gtk2->main;
=head1 ABSTRACT
Perl bindings to the 2.x series of the GNOME libraries. This module allows you
to interface with the libgnome and libgnomeui libraries to create GNOME
applications.
=head1 DESCRIPTION
Since this module tries to stick very closely to the C API, the documentation
found at
http://developer.gnome.org/libgnome
and
http://developer.gnome.org/libgnomeui
is the canonical reference.
In addition to that, there's also the automatically generated API
documentation: L<Gnome2::index>(3pm).
The mapping described in L<Gtk2::api>(3pm) also applies to this module.
To discuss this module, ask questions and flame/praise the authors, join
gtk-perl-list@gnome.org at lists.gnome.org.
=head1 MISSING METHODS
=over
=item gnome_app_fill_menu_with_data
=item gnome_app_fill_menu_custom
Use gnome_app_fill_menu instead.
=item gnome_app_fill_toolbar_with_data
=item gnome_app_fill_toolbar_custom
Use gnome_app_fill_toolbar instead.
=item gnome_app_create_menus_interp
=item gnome_app_create_menus_with_data
=item gnome_app_create_menus_custom
Use gnome_app_create_menus instead.
=item gnome_app_create_toolbar_interp
=item gnome_app_create_toolbar_with_data
=item gnome_app_create_toolbar_custom
Use gnome_app_create_toolbar instead.
=item gnome_app_insert_menus_custom
=item gnome_app_insert_menus_with_data
=item gnome_app_insert_menus_interp
Use gnome_app_insert_menus instead.
=back
=head1 RENAMED METHODS
=over
=item gnome_program_get
Gnome2::Program->get has been renamed to ->get_program to avoid a clash with
GObject->get.
=item gnome_popup_menu_attach
Gtk2::Menu->attach has been renamed to ->attach_to to avoid a clash with
gtk_menu_attach.
=item gnome_popup_menu_append
Gtk2::Menu->append has been renamed to ->append_from to avoid a clash with
gtk_menu_shell_append.
=back
=head1 DIFFERENT CALL SIGNATURES OR SEMANTICS
=over
=item gnome_client_set_restart_command
=item gnome_client_set_discard_command
=item gnome_client_set_resign_command
=item gnome_client_set_shutdown_command
=item gnome_client_set_clone_command
Instead of argc and argv you simply pass in a list.
=item gnome_program_init
Gnome2::Program->init automagically fills argc and argv so just omit these
parameters.
=back
=head1 SEE ALSO
L<perl>(1), L<Gnome2::index>(3pm), L<Glib>(3pm), L<Gtk2>(3pm),
L<Gtk2::api>(3pm).
=head1 AUTHOR
muppet E<lt>scott at asofyet dot orgE<gt> did the initial stuff.
Torsten Schoenfeld E<lt>kaffeetisch at gmx dot deE<gt> took over between 0.34
and 0.36, and implemented lots of tests and missing functionality, and
corrected several of muppet's mistakes.
=head1 COPYRIGHT AND LICENSE
Copyright (C) 2003-2006, 2013 by the gtk2-perl team (see the file AUTHORS)
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation; either version 2.1 of the License, or (at your option) any
later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
See the LICENSE file in the top level of this distribution for the complete
license terms.
=cut
|