1Gnome2(3) User Contributed Perl Documentation Gnome2(3)
2
3
4
6 Gnome2 - Perl interface to the 2.x series of the GNOME libraries
7
9 use Gnome2;
10 Gnome2::Program->init ($appname, $appversion);
11 my $app = Gnome2::App->new ($appname);
12 $app->show;
13 Gtk2->main;
14
16 Perl bindings to the 2.x series of the GNOME libraries. This module
17 allows you to interface with the libgnome and libgnomeui libraries to
18 create GNOME applications.
19
21 Since this module tries to stick very closely to the C API, the
22 documentation found at
23
24 http://developer.gnome.org/doc/API/2.0/libgnome/index.html
25
26 and
27
28 http://developer.gnome.org/doc/API/2.0/libgnomeui/index.html
29
30 is the canonical reference.
31
32 In addition to that, there's also the automatically generated API
33 documentation: Gnome2::index(3pm).
34
35 The mapping described in Gtk2::api(3pm) also applies to this module.
36
37 To discuss this module, ask questions and flame/praise the authors,
38 join gtk-perl-list@gnome.org at lists.gnome.org.
39
41 gnome_app_fill_menu_with_data
42 gnome_app_fill_menu_custom
43 Use gnome_app_fill_menu instead.
44
45 gnome_app_fill_toolbar_with_data
46 gnome_app_fill_toolbar_custom
47 Use gnome_app_fill_toolbar instead.
48
49 gnome_app_create_menus_interp
50 gnome_app_create_menus_with_data
51 gnome_app_create_menus_custom
52 Use gnome_app_create_menus instead.
53
54 gnome_app_create_toolbar_interp
55 gnome_app_create_toolbar_with_data
56 gnome_app_create_toolbar_custom
57 Use gnome_app_create_toolbar instead.
58
59 gnome_app_insert_menus_custom
60 gnome_app_insert_menus_with_data
61 gnome_app_insert_menus_interp
62 Use gnome_app_insert_menus instead.
63
65 gnome_program_get
66 Gnome2::Program->get has been renamed to ->get_program to avoid a
67 clash with GObject->get.
68
69 gnome_popup_menu_attach
70 Gtk2::Menu->attach has been renamed to ->attach_to to avoid a clash
71 with gtk_menu_attach.
72
73 gnome_popup_menu_append
74 Gtk2::Menu->append has been renamed to ->append_from to avoid a
75 clash with gtk_menu_shell_append.
76
78 gnome_client_set_restart_command
79 gnome_client_set_discard_command
80 gnome_client_set_resign_command
81 gnome_client_set_shutdown_command
82 gnome_client_set_clone_command
83 Instead of argc and argv you simply pass in a list.
84
85 gnome_program_init
86 Gnome2::Program->init automagically fills argc and argv so just
87 omit these parameters.
88
90 perl(1), Gnome2::index(3pm), Glib(3pm), Gtk2(3pm), Gtk2::api(3pm).
91
93 muppet <scott at asofyet dot org> did the initial stuff.
94
95 Torsten Schoenfeld <kaffeetisch at gmx dot de> took over between 0.34
96 and 0.36, and implemented lots of tests and missing functionality, and
97 corrected several of muppet's mistakes.
98
100 Copyright (C) 2003-2006 by the gtk2-perl team (see the file AUTHORS)
101
102 This library is free software; you can redistribute it and/or modify it
103 under the terms of the GNU Lesser General Public License as published
104 by the Free Software Foundation; either version 2.1 of the License, or
105 (at your option) any later version.
106
107 This library is distributed in the hope that it will be useful, but
108 WITHOUT ANY WARRANTY; without even the implied warranty of
109 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
110 Lesser General Public License for more details.
111
112 You should have received a copy of the GNU Lesser General Public
113 License along with this library; if not, write to the Free Software
114 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
115 USA
116
117
118
119perl v5.12.0 2007-08-13 Gnome2(3)