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


Gnome2 documentation Contained in the Gnome2 distribution.

Index


Code Index:

NAME

Top

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

SYNOPSIS

Top

  use Gnome2;
  Gnome2::Program->init ($appname, $appversion);
  my $app = Gnome2::App->new ($appname);
  $app->show;
  Gtk2->main;

ABSTRACT

Top

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

Top

Since this module tries to stick very closely to the C API, the documentation found at

  http://developer.gnome.org/doc/API/2.0/libgnome/index.html

and

  http://developer.gnome.org/doc/API/2.0/libgnomeui/index.html

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

Top

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

Top

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

Top

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

Top

perl(1), Gnome2::index(3pm), Glib(3pm), Gtk2(3pm), Gtk2::api(3pm).

AUTHOR

Top

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

Top


Gnome2 documentation Contained in the Gnome2 distribution.

# $Header: /cvsroot/gtk2-perl/gtk2-perl-xs/Gnome2/Gnome2.pm,v 1.44 2007/08/13 18:14:20 kaffeetisch Exp $

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.042';

sub import {
  my $self = shift();
  $self -> VERSION(@_);
}

sub dl_load_flags { $^O eq 'darwin' ? 0x00 : 0x01 }

Gnome2 -> bootstrap($VERSION);

1;
__END__