---
name: "Gnome2"
section: "3pm"
platform: "linux"
package: "libgnome2-perl"
version: "1.046-3+b1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/Gnome2"
---

# Gnome2(3pm)

Perl interface to the 2.x series of the GNOME libraries

## NAME

Gnome2 - 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

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.

## 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: [Gnome2::index(3pm)](/Gnome2::index/3pm.md).

The mapping described in [Gtk2::api(3pm)](/Gtk2::api/3pm.md) 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

- gnome\_app\_fill\_menu\_with\_data

  - gnome\_app\_fill\_menu\_custom

  Use gnome\_app\_fill\_menu instead.

- gnome\_app\_fill\_toolbar\_with\_data

  - gnome\_app\_fill\_toolbar\_custom

  Use gnome\_app\_fill\_toolbar instead.

- gnome\_app\_create\_menus\_interp

  - gnome\_app\_create\_menus\_with\_data

  - gnome\_app\_create\_menus\_custom

  Use gnome\_app\_create\_menus instead.

- gnome\_app\_create\_toolbar\_interp

  - gnome\_app\_create\_toolbar\_with\_data

  - gnome\_app\_create\_toolbar\_custom

  Use gnome\_app\_create\_toolbar instead.

- gnome\_app\_insert\_menus\_custom

  - gnome\_app\_insert\_menus\_with\_data

  - gnome\_app\_insert\_menus\_interp

  Use gnome\_app\_insert\_menus instead.

## RENAMED METHODS

- gnome\_program\_get

  Gnome2::Program-\>get has been renamed to -\>get\_program to avoid a clash with GObject-\>get.

- gnome\_popup\_menu\_attach

  Gtk2::Menu-\>attach has been renamed to -\>attach\_to to avoid a clash with gtk\_menu\_attach.

- gnome\_popup\_menu\_append

  Gtk2::Menu-\>append has been renamed to -\>append\_from to avoid a clash with gtk\_menu\_shell\_append.

## DIFFERENT CALL SIGNATURES OR SEMANTICS

- gnome\_client\_set\_restart\_command

  - gnome\_client\_set\_discard\_command

  - gnome\_client\_set\_resign\_command

  - gnome\_client\_set\_shutdown\_command

  - gnome\_client\_set\_clone\_command

  Instead of argc and argv you simply pass in a list.

- gnome\_program\_init

  Gnome2::Program-\>init automagically fills argc and argv so just omit these parameters.

## SEE ALSO

[perl(1)](/perl/1.md), [Gnome2::index(3pm)](/Gnome2::index/3pm.md), [Glib(3pm)](/Glib/3pm.md), [Gtk2(3pm)](/Gtk2/3pm.md), [Gtk2::api(3pm)](/Gtk2::api/3pm.md).

## 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.

## 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.
