.\" Automatically generated by Pod::Man 4.09 (Pod::Simple 3.35) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .if !\nF .nr F 0 .if \nF>0 \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} .\} .\" ======================================================================== .\" .IX Title "Gnome2 3pm" .TH Gnome2 3pm "2017-07-23" "perl v5.26.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" Gnome2 \- Perl interface to the 2.x series of the GNOME libraries .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 5 \& use Gnome2; \& Gnome2::Program\->init ($appname, $appversion); \& my $app = Gnome2::App\->new ($appname); \& $app\->show; \& Gtk2\->main; .Ve .SH "ABSTRACT" .IX Header "ABSTRACT" Perl bindings to the 2.x series of the \s-1GNOME\s0 libraries. This module allows you to interface with the libgnome and libgnomeui libraries to create \s-1GNOME\s0 applications. .SH "DESCRIPTION" .IX Header "DESCRIPTION" Since this module tries to stick very closely to the C \s-1API,\s0 the documentation found at .PP .Vb 1 \& http://developer.gnome.org/libgnome .Ve .PP and .PP .Vb 1 \& http://developer.gnome.org/libgnomeui .Ve .PP is the canonical reference. .PP In addition to that, there's also the automatically generated \s-1API\s0 documentation: Gnome2::index(3pm). .PP The mapping described in Gtk2::api(3pm) also applies to this module. .PP To discuss this module, ask questions and flame/praise the authors, join gtk\-perl\-list@gnome.org at lists.gnome.org. .SH "MISSING METHODS" .IX Header "MISSING METHODS" .IP "gnome_app_fill_menu_with_data" 4 .IX Item "gnome_app_fill_menu_with_data" .PD 0 .IP "gnome_app_fill_menu_custom" 4 .IX Item "gnome_app_fill_menu_custom" .PD Use gnome_app_fill_menu instead. .IP "gnome_app_fill_toolbar_with_data" 4 .IX Item "gnome_app_fill_toolbar_with_data" .PD 0 .IP "gnome_app_fill_toolbar_custom" 4 .IX Item "gnome_app_fill_toolbar_custom" .PD Use gnome_app_fill_toolbar instead. .IP "gnome_app_create_menus_interp" 4 .IX Item "gnome_app_create_menus_interp" .PD 0 .IP "gnome_app_create_menus_with_data" 4 .IX Item "gnome_app_create_menus_with_data" .IP "gnome_app_create_menus_custom" 4 .IX Item "gnome_app_create_menus_custom" .PD Use gnome_app_create_menus instead. .IP "gnome_app_create_toolbar_interp" 4 .IX Item "gnome_app_create_toolbar_interp" .PD 0 .IP "gnome_app_create_toolbar_with_data" 4 .IX Item "gnome_app_create_toolbar_with_data" .IP "gnome_app_create_toolbar_custom" 4 .IX Item "gnome_app_create_toolbar_custom" .PD Use gnome_app_create_toolbar instead. .IP "gnome_app_insert_menus_custom" 4 .IX Item "gnome_app_insert_menus_custom" .PD 0 .IP "gnome_app_insert_menus_with_data" 4 .IX Item "gnome_app_insert_menus_with_data" .IP "gnome_app_insert_menus_interp" 4 .IX Item "gnome_app_insert_menus_interp" .PD Use gnome_app_insert_menus instead. .SH "RENAMED METHODS" .IX Header "RENAMED METHODS" .IP "gnome_program_get" 4 .IX Item "gnome_program_get" Gnome2::Program\->get has been renamed to \->get_program to avoid a clash with GObject\->get. .IP "gnome_popup_menu_attach" 4 .IX Item "gnome_popup_menu_attach" Gtk2::Menu\->attach has been renamed to \->attach_to to avoid a clash with gtk_menu_attach. .IP "gnome_popup_menu_append" 4 .IX Item "gnome_popup_menu_append" Gtk2::Menu\->append has been renamed to \->append_from to avoid a clash with gtk_menu_shell_append. .SH "DIFFERENT CALL SIGNATURES OR SEMANTICS" .IX Header "DIFFERENT CALL SIGNATURES OR SEMANTICS" .IP "gnome_client_set_restart_command" 4 .IX Item "gnome_client_set_restart_command" .PD 0 .IP "gnome_client_set_discard_command" 4 .IX Item "gnome_client_set_discard_command" .IP "gnome_client_set_resign_command" 4 .IX Item "gnome_client_set_resign_command" .IP "gnome_client_set_shutdown_command" 4 .IX Item "gnome_client_set_shutdown_command" .IP "gnome_client_set_clone_command" 4 .IX Item "gnome_client_set_clone_command" .PD Instead of argc and argv you simply pass in a list. .IP "gnome_program_init" 4 .IX Item "gnome_program_init" Gnome2::Program\->init automagically fills argc and argv so just omit these parameters. .SH "SEE ALSO" .IX Header "SEE ALSO" perl(1), Gnome2::index(3pm), Glib(3pm), Gtk2(3pm), Gtk2::api(3pm). .SH "AUTHOR" .IX Header "AUTHOR" muppet did the initial stuff. .PP Torsten Schoenfeld took over between 0.34 and 0.36, and implemented lots of tests and missing functionality, and corrected several of muppet's mistakes. .SH "COPYRIGHT AND LICENSE" .IX Header "COPYRIGHT AND LICENSE" Copyright (C) 2003\-2006, 2013 by the gtk2\-perl team (see the file \s-1AUTHORS\s0) .PP This library is free software; you can redistribute it and/or modify it under the terms of the \s-1GNU\s0 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. .PP This library is distributed in the hope that it will be useful, but \s-1WITHOUT ANY WARRANTY\s0; without even the implied warranty of \s-1MERCHANTABILITY\s0 or \s-1FITNESS FOR A PARTICULAR PURPOSE.\s0 .PP See the \s-1LICENSE\s0 file in the top level of this distribution for the complete license terms.