1Gnome2(3) User Contributed Perl Documentation Gnome2(3)
2
3
4
6 Gnome2 - (DEPRECATED) Perl interface to the 2.x series of the GNOME
7 libraries
8
10 use Gnome2;
11 Gnome2::Program->init ($appname, $appversion);
12 my $app = Gnome2::App->new ($appname);
13 $app->show;
14 Gtk2->main;
15
17 (DEPRECATED) Perl bindings to the 2.x series of the GNOME libraries.
18 This module allows you to interface with the libgnome and libgnomeui
19 libraries to create GNOME applications.
20
22 NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE
23
24 This module has been deprecated by the Gtk-Perl project. This means
25 that the module will no longer be updated with security patches, bug
26 fixes, or when changes are made in the Perl ABI. The Git repo for this
27 module has been archived (made read-only), it will no longer possible
28 to submit new commits to it. You are more than welcome to ask about
29 this module on the Gtk-Perl mailing list, but our priorities going
30 forward will be maintaining Gtk-Perl modules that are supported and
31 maintained upstream; this module is neither.
32
33 Since this module is licensed under the LGPL v2.1, you may also fork
34 this module, if you wish, but you will need to use a different name for
35 it on CPAN, and the Gtk-Perl team requests that you use your own
36 resources (mailing list, Git repos, bug trackers, etc.) to maintain
37 your fork going forward.
38
39 • Perl URL: https://gitlab.gnome.org/GNOME/perl-gnome2
40
41 • Upstream URL: https://gitlab.gnome.org/Archive/libgnome
42
43 • Last upstream version: 2.32.1
44
45 • Last upstream release date: 2011-01-31
46
47 • Migration path for this module: No upstream replacement
48
49 NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE
50
51 Since this module tries to stick very closely to the C API, the
52 documentation found at
53
54 http://developer.gnome.org/libgnome
55
56 and
57
58 http://developer.gnome.org/libgnomeui
59
60 is the canonical reference.
61
62 In addition to that, there's also the automatically generated API
63 documentation: Gnome2::index(3pm).
64
65 The mapping described in Gtk2::api(3pm) also applies to this module.
66
67 To discuss this module, ask questions and flame/praise the authors,
68 join gtk-perl-list@gnome.org at lists.gnome.org.
69
71 gnome_app_fill_menu_with_data
72 gnome_app_fill_menu_custom
73 Use gnome_app_fill_menu instead.
74
75 gnome_app_fill_toolbar_with_data
76 gnome_app_fill_toolbar_custom
77 Use gnome_app_fill_toolbar instead.
78
79 gnome_app_create_menus_interp
80 gnome_app_create_menus_with_data
81 gnome_app_create_menus_custom
82 Use gnome_app_create_menus instead.
83
84 gnome_app_create_toolbar_interp
85 gnome_app_create_toolbar_with_data
86 gnome_app_create_toolbar_custom
87 Use gnome_app_create_toolbar instead.
88
89 gnome_app_insert_menus_custom
90 gnome_app_insert_menus_with_data
91 gnome_app_insert_menus_interp
92 Use gnome_app_insert_menus instead.
93
95 gnome_program_get
96 Gnome2::Program->get has been renamed to ->get_program to avoid a
97 clash with GObject->get.
98
99 gnome_popup_menu_attach
100 Gtk2::Menu->attach has been renamed to ->attach_to to avoid a clash
101 with gtk_menu_attach.
102
103 gnome_popup_menu_append
104 Gtk2::Menu->append has been renamed to ->append_from to avoid a
105 clash with gtk_menu_shell_append.
106
108 gnome_client_set_restart_command
109 gnome_client_set_discard_command
110 gnome_client_set_resign_command
111 gnome_client_set_shutdown_command
112 gnome_client_set_clone_command
113 Instead of argc and argv you simply pass in a list.
114
115 gnome_program_init
116 Gnome2::Program->init automagically fills argc and argv so just
117 omit these parameters.
118
120 perl(1), Gnome2::index(3pm), Glib(3pm), Gtk2(3pm), Gtk2::api(3pm).
121
123 muppet <scott at asofyet dot org> did the initial stuff.
124
125 Torsten Schoenfeld <kaffeetisch at gmx dot de> took over between 0.34
126 and 0.36, and implemented lots of tests and missing functionality, and
127 corrected several of muppet's mistakes.
128
130 Copyright (C) 2003-2006, 2013 by the gtk2-perl team (see the file
131 AUTHORS)
132
133 This library is free software; you can redistribute it and/or modify it
134 under the terms of the GNU Lesser General Public License as published
135 by the Free Software Foundation; either version 2.1 of the License, or
136 (at your option) any later version.
137
138 This library is distributed in the hope that it will be useful, but
139 WITHOUT ANY WARRANTY; without even the implied warranty of
140 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
141
142 See the LICENSE file in the top level of this distribution for the
143 complete license terms.
144
145
146
147perl v5.36.0 2023-01-20 Gnome2(3)