|
Revision 531, 1.1 kB
(checked in by jeffrey, 9 months ago)
|
fixed some documentation issues
|
| Line | |
|---|
| 1 |
package Gtk2::ImageView; |
|---|
| 2 |
use Gtk2; |
|---|
| 3 |
require DynaLoader; |
|---|
| 4 |
our @ISA = qw(DynaLoader); |
|---|
| 5 |
our $VERSION = '0.05'; |
|---|
| 6 |
sub dl_load_flags {0x01}; |
|---|
| 7 |
bootstrap Gtk2::ImageView $VERSION; |
|---|
| 8 |
1; |
|---|
| 9 |
__END__ |
|---|
| 10 |
|
|---|
| 11 |
=head1 NAME |
|---|
| 12 |
|
|---|
| 13 |
Gtk2::ImageView - Perl bindings to the GtkImageView image viewer widget |
|---|
| 14 |
|
|---|
| 15 |
=head1 SYNOPSIS |
|---|
| 16 |
|
|---|
| 17 |
use Gtk2::ImageView; |
|---|
| 18 |
Gtk2->init; |
|---|
| 19 |
|
|---|
| 20 |
$window = Gtk2::Window->new(); |
|---|
| 21 |
|
|---|
| 22 |
$view = Gtk2::ImageView->new; |
|---|
| 23 |
$view->set_pixbuf($pixbuf, TRUE); |
|---|
| 24 |
$window->add($view); |
|---|
| 25 |
|
|---|
| 26 |
$window->show_all; |
|---|
| 27 |
|
|---|
| 28 |
=head1 ABSTRACT |
|---|
| 29 |
|
|---|
| 30 |
Perl bindings to the GtkImageView image viewer widget |
|---|
| 31 |
Find out more about GtkImageView at http://trac.bjourne.webfactional.com/. |
|---|
| 32 |
|
|---|
| 33 |
The Perl bindings follow the C API very closely, and the C reference |
|---|
| 34 |
should be considered the canonical documentation. |
|---|
| 35 |
|
|---|
| 36 |
Be sure to check out the example programs in the "examples" directory. |
|---|
| 37 |
|
|---|
| 38 |
=head1 DESCRIPTION |
|---|
| 39 |
|
|---|
| 40 |
The Gtk2::ImageView module allows a Perl developer to use the GtkImageView |
|---|
| 41 |
image viewer widget. Find out more about GtkImageView at |
|---|
| 42 |
http://trac.bjourne.webfactional.com/. |
|---|
| 43 |
|
|---|
| 44 |
To discuss Gtk2::ImageView or gtk2-perl, ask questions and flame/praise the |
|---|
| 45 |
authors, join gtk-perl-list@gnome.org at lists.gnome.org. |
|---|
| 46 |
|
|---|
| 47 |
|
|---|