File:Hello World Perl GTk2.png
Hello_World_Perl_GTk2.png (498 × 447 pixels, file size: 53 KB, MIME type: image/png)
Captions
https://upload.wikimedia.org/wikipedia/commons/5/54/Hello_World_Perl_GTk2.png
Summary
[edit]DescriptionHello World Perl GTk2.png | An example Hello world program, written in Perl and displayed with GTK+ 2. |
Date | |
Source | Own work |
Author | Isilanes |
Text content
[edit]As required by the GNU Free Documentation License, a Transparent copy of the text contained in the image follows: Consequencies will never be the same.
#!/usr/bin/perl -w
use strict;
use Gtk2 '-init';
# Create main window:
my $mw = Gtk2::Window->new('toplevel');
# Create main positioning table:
my $t = Gtk2::Table->new (1,2,0);
$mw->add($t);
# 'Hello world!' label:
my $label = Gtk2::Label->new('Hello world!');
$t->attach_defaults($label,0,1,0,1);
$label->show;
# Button to quit:
my $button = Gtk2::Button->new('Quit');
$t->attach_defaults($button,0,1,1,2);
$button->signal_connect( 'clicked' => sub { exit } );
$button->show;
# Main loop:
$mw->show_all;
Gtk2->main;
0;
End Sub
Licensing
[edit]This screenshot either does not contain copyright-eligible parts or visuals of copyrighted software, or the author has released it under a free license (which should be indicated beneath this notice), and as such follows the licensing guidelines for screenshots of Wikimedia Commons. You may use it freely according to its particular license. Free software license: gvim and the Xfce window manager is free software, the trivial self-made program is published under the following license:
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
Note: if the screenshot shows any work that is not a direct result of the program code itself, such as a text or graphics that are not part of the program, the license for that work must be indicated separately.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license. | ||
| ||
This licensing tag was added to this file as part of the GFDL licensing update.http://creativecommons.org/licenses/by-sa/3.0/CC BY-SA 3.0Creative Commons Attribution-Share Alike 3.0truetrue |
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 21:47, 27 August 2019 | 498 × 447 (53 KB) | Kreuzschnabel (talk | contribs) | even more recent theme | |
19:02, 4 December 2010 | 448 × 508 (46 KB) | Vinhoverde~commonswiki (talk | contribs) | more recent theme | ||
14:56, 6 May 2007 | 461 × 509 (41 KB) | Isilanes~commonswiki (talk | contribs) | {{Information |Description=An example Hello world program, written in Perl and displayed with GTk2 |Source=self-made |Date=May 06, 2007 |Author= User:Isilanes }} |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on ca.wikipedia.org
- Usage on cs.wikipedia.org
- Usage on de.wikipedia.org
- Usage on el.wikipedia.org
- Usage on en.wikipedia.org
- Usage on eo.wikipedia.org
- Usage on gl.wikipedia.org
- Usage on he.wikipedia.org
- Usage on hy.wikipedia.org
- Usage on it.wikipedia.org
- Usage on it.wikibooks.org
- Usage on ko.wikipedia.org
- Usage on lmo.wikipedia.org
- Usage on mk.wikipedia.org
- Usage on ml.wikipedia.org
- Usage on nl.wikipedia.org
- Usage on ru.wikipedia.org
- Usage on sah.wikipedia.org
- Usage on sq.wikipedia.org
- Usage on tg.wikipedia.org
- Usage on tr.wikipedia.org
- Usage on uk.wikipedia.org
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Horizontal resolution | 37.79 dpc |
---|---|
Vertical resolution | 37.79 dpc |