Gnome2(3)
π Gnome2 π
okay bestie, so this is the Gnome2 page from the User Contributed Perl Documentation β and before you even scroll, know that she is DEPRECATED, capital letters, no cap. She's a Perl interface to the 2.x series of the GNOME libraries. Iconic? Yes. Alive? ...we'll get there. π«Ά
β¨ NAME β¨
Gnome2 β (DEPRECATED) Perl interface to the 2.x series of the GNOME libraries
πΈ SYNOPSIS πΈ
use Gnome2;
Gnome2::Program->init ($appname, $appversion);
my $app = Gnome2::App->new ($appname);
$app->show;
Gtk2->main;
π¦ ABSTRACT π¦
(DEPRECATED) Perl bindings to the 2.x series of the GNOME libraries. This module lets you vibe with the libgnome and libgnomeui libraries so you can build GNOME applications. π
π DESCRIPTION π
NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE
okay so, deep breath. π This module has been deprecated by the Gtk-Perl project. What that means, fr fr:
- She will no longer be updated with security patches, bug fixes, or when changes are made in the Perl ABI.
- The Git repo for this module has been archived (made read-only), and it will no longer be possible to submit new commits to it.
- You are more than welcome to ask about this module on the Gtk-Perl mailing list, but their priorities going forward will be maintaining Gtk-Perl modules that are supported and maintained upstream β and this module is neither. π
Since this module is licensed under the LGPL v2.1, you may also fork this module, if you wish β but (and this is important, bestie) you will need to use a different name for it on CPAN, and the Gtk-Perl team requests that you use your own resources (mailing list, Git repos, bug trackers, etc.) to maintain your fork going forward. π
- Perl URL:
https://gitlab.gnome.org/GNOME/perl-gnome2 - Upstream URL:
https://gitlab.gnome.org/Archive/libgnome - Last upstream version:
2.32.1 - Last upstream release date:
2011-01-31 - Migration path for this module: No upstream replacement
NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE
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: Gnome2::index(3pm).
The mapping described in 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. π«Ά
π MISSING METHODS π
these ones said "not me" and dipped, so here's what to use instead:
gnome_app_fill_menu_with_datagnome_app_fill_menu_custom
Use gnome_app_fill_menu instead.
gnome_app_fill_toolbar_with_datagnome_app_fill_toolbar_custom
Use gnome_app_fill_toolbar instead.
gnome_app_create_menus_interpgnome_app_create_menus_with_datagnome_app_create_menus_custom
Use gnome_app_create_menus instead.
gnome_app_create_toolbar_interpgnome_app_create_toolbar_with_datagnome_app_create_toolbar_custom
Use gnome_app_create_toolbar instead.
gnome_app_insert_menus_customgnome_app_insert_menus_with_datagnome_app_insert_menus_interp
Use gnome_app_insert_menus instead.
π RENAMED METHODS π
she got a glow-up and a new name, periodt:
gnome_program_getβGnome2::Program->gethas been renamed to->get_programto avoid a clash withGObject->get.gnome_popup_menu_attachβGtk2::Menu->attachhas been renamed to->attach_toto avoid a clash withgtk_menu_attach.gnome_popup_menu_appendβGtk2::Menu->appendhas been renamed to->append_fromto avoid a clash withgtk_menu_shell_append.
π DIFFERENT CALL SIGNATURES OR SEMANTICS π
gnome_client_set_restart_commandgnome_client_set_discard_commandgnome_client_set_resign_commandgnome_client_set_shutdown_commandgnome_client_set_clone_command
Instead of argc and argv you simply pass in a list. so much chiller, honestly.
gnome_program_initβGnome2::Program->initautomagically fillsargcandargv, so just omit these parameters. β¨
π SEE ALSO π
perl(1), Gnome2::index(3pm), Glib(3pm), Gtk2(3pm), Gtk2::api(3pm).
π AUTHOR π
muppet <scott at asofyet dot org> did the initial stuff.
Torsten Schoenfeld <kaffeetisch at gmx dot de> took over between 0.34 and 0.36, and implemented lots of tests and missing functionality, and corrected several of muppet's mistakes. we love a glow-up arc. π«Ά
π 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.
and that's the whole page, bestie π¦ this was perl v5.42.0, dated 2025-07-25, and yes β she's still filed under Gnome2(3) in the User Contributed Perl Documentation. archived, deprecated, but never forgotten. π
β¨
π¦ where this page comes from
- fedora 43: perl-Gnome2 1.048-18.fc43 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms