Help
RSS
API
Feed
Maltego
Contact
Domain > examples.wxperl.it
×
Welcome!
Right click nodes and scroll the mouse to navigate the graph.
×
More information on this domain is in
AlienVault OTX
Is this malicious?
Yes
No
DNS Resolutions
Date
IP Address
2015-04-21
173.194.197.121
(
ClassC
)
2024-09-14
142.251.211.243
(
ClassC
)
Port 80
HTTP/1.1 200 OKContent-Type: text/html; charsetUTF-8Expires: Sat, 14 Sep 2024 00:44:40 GMTDate: Sat, 14 Sep 2024 00:44:40 GMTCache-Control: private, max-age0Last-Modified: Fri, 30 Aug 2024 13:35:56 GMTX-Content-Type-Options: nosniffX-XSS-Protection: 1; modeblockServer: GSEAccept-Ranges: noneVary: Accept-EncodingTransfer-Encoding: chunked !DOCTYPE html>html classv2 dirltr langen-GB>head>link hrefhttps://www.blogger.com/static/v1/widgets/3566091532-css_bundle_v2.css relstylesheet typetext/css/>meta contentwidth1100 nameviewport/>meta contenttext/html; charsetUTF-8 http-equivContent-Type/>meta contentblogger namegenerator/>link hrefhttp://examples.wxperl.it/favicon.ico relicon typeimage/x-icon/>link hrefhttp://examples.wxperl.it/ relcanonical/>link relalternate typeapplication/atom+xml titlewxPerl Examples - Atom hrefhttp://examples.wxperl.it/feeds/posts/default />link relalternate typeapplication/rss+xml titlewxPerl Examples - RSS hrefhttp://examples.wxperl.it/feeds/posts/default?altrss />link relservice.post typeapplication/atom+xml titlewxPerl Examples - Atom hrefhttps://www.blogger.com/feeds/8919443962292874459/posts/default />!--Cant find substitution for tag blog.ieCssRetrofitLinks-->meta contenthttp://examples.wxperl.it/ propertyog:url/>meta contentwxPerl Examples propertyog:title/>meta contentTutorials and Examples for wxPerl - the Perl wrapper for the wxWidgets GUI toolkit. propertyog:description/>title>wxPerl Examples/title>style idpage-skin-1 typetext/css>!--/*-----------------------------------------------Blogger Template StyleName: SimpleDesigner: BloggerURL: www.blogger.com----------------------------------------------- *//* Content----------------------------------------------- */body {font: normal normal 14px Arial, Tahoma, Helvetica, FreeSans, sans-serif;color: #000000;background: #ffffff none repeat scroll top left;padding: 0 40px 40px 40px;}html body .region-inner {min-width: 0;max-width: 100%;width: auto;}h2 {font-size: 22px;}a:link {text-decoration:none;color: #107cde;}a:visited {text-decoration:none;color: #107cde;}a:hover {text-decoration:underline;color: #e14705;}.body-fauxcolumn-outer .fauxcolumn-inner {background: transparent url(//www.blogblog.com/1kt/simple/body_gradient_tile_light.png) repeat scroll top left;_background-image: none;}.body-fauxcolumn-outer .cap-top {position: absolute;z-index: 1;height: 400px;width: 100%;}.body-fauxcolumn-outer .cap-top .cap-left {width: 100%;background: transparent url(//www.blogblog.com/1kt/simple/gradients_light.png) repeat-x scroll top left;_background-image: none;}.content-outer {-moz-box-shadow: 0 0 40px rgba(0, 0, 0, .15);-webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .15);-goog-ms-box-shadow: 0 0 10px #333333;box-shadow: 0 0 40px rgba(0, 0, 0, .15);margin-bottom: 1px;}.content-inner {padding: 10px 10px;}.content-inner {background-color: #ffffff;}/* Header----------------------------------------------- */.header-outer {background: transparent none repeat-x scroll 0 -400px;_background-image: none;}.Header h1 {font: normal normal 50px Arial, Tahoma, Helvetica, FreeSans, sans-serif;color: #0b5394;text-shadow: -1px -1px 1px rgba(0, 0, 0, .2);}.Header h1 a {color: #0b5394;}.Header .description {font-size: 140%;color: #787878;}.header-inner .Header .titlewrapper {padding: 22px 30px;}.header-inner .Header .descriptionwrapper {padding: 0 30px;}/* Tabs----------------------------------------------- */.tabs-inner .section:first-child {border-top: 1px solid #f2f2f2;}.tabs-inner .section:first-child ul {margin-top: -1px;border-top: 1px solid #f2f2f2;border-left: 0 solid #f2f2f2;border-right: 0 solid #f2f2f2;}.tabs-inner .widget ul {background: #f8f8f8 url(//www.blogblog.com/1kt/simple/gradients_light.png) repeat-x scroll 0 -800px;_background-image: none;border-bottom: 1px solid #f2f2f2;margin-top: 0;margin-left: -30px;margin-right: -30px;}.tabs-inner .widget li a {display: inline-block;padding: .6em 1em;font: normal bold 14px Arial, Tahoma, Helvetica, FreeSans, sans-serif;color: #a2a2a2;border-left: 1px solid #ffffff;border-right: 1px solid #f2f2f2;}.tabs-inner .widget li:first-child a {border-left: none;}.tabs-inner .widget li.selected a, .tabs-inner .widget li a:hover {color: #000000;background-color: #f2f2f2;text-decoration: none;}/* Columns----------------------------------------------- */.main-outer {border-top: 0 solid #f2f2f2;}.fauxcolumn-left-outer .fauxcolumn-inner {border-right: 1px solid #f2f2f2;}.fauxcolumn-right-outer .fauxcolumn-inner {border-left: 1px solid #f2f2f2;}/* Headings----------------------------------------------- */div.widget > h2,div.widget h2.title {margin: 0 0 1em 0;font: normal bold 14px Arial, Tahoma, Helvetica, FreeSans, sans-serif;color: #787878;}/* Widgets----------------------------------------------- */.widget .zippy {color: #a2a2a2;text-shadow: 2px 2px 1px rgba(0, 0, 0, .1);}.widget .popular-posts ul {list-style: none;}/* Posts----------------------------------------------- */h2.date-header {font: normal bold 11px Arial, Tahoma, Helvetica, FreeSans, sans-serif;}.date-header span {background-color: transparent;color: #000000;padding: inherit;letter-spacing: inherit;margin: inherit;}.main-inner {padding-top: 30px;padding-bottom: 30px;}.main-inner .column-center-inner {padding: 0 15px;}.main-inner .column-center-inner .section {margin: 0 15px;}.post {margin: 0 0 25px 0;}h3.post-title, .comments h4 {font: normal normal 22px Arial, Tahoma, Helvetica, FreeSans, sans-serif;margin: .75em 0 0;}.post-body {font-size: 110%;line-height: 1.4;position: relative;}.post-body img, .post-body .tr-caption-container, .Profile img, .Image img,.BlogList .item-thumbnail img {padding: 2px;background: #ffffff;border: 1px solid #f2f2f2;-moz-box-shadow: 1px 1px 5px rgba(0, 0, 0, .1);-webkit-box-shadow: 1px 1px 5px rgba(0, 0, 0, .1);box-shadow: 1px 1px 5px rgba(0, 0, 0, .1);}.post-body img, .post-body .tr-caption-container {padding: 5px;}.post-body .tr-caption-container {color: #000000;}.post-body .tr-caption-container img {padding: 0;background: transparent;border: none;-moz-box-shadow: 0 0 0 rgba(0, 0, 0, .1);-webkit-box-shadow: 0 0 0 rgba(0, 0, 0, .1);box-shadow: 0 0 0 rgba(0, 0, 0, .1);}.post-header {margin: 0 0 1.5em;line-height: 1.6;font-size: 90%;}.post-footer {margin: 20px -2px 0;padding: 5px 10px;color: #787878;background-color: #fcfcfc;border-bottom: 1px solid #f2f2f2;line-height: 1.6;font-size: 90%;}#comments .comment-author {padding-top: 1.5em;border-top: 1px solid #f2f2f2;background-position: 0 1.5em;}#comments .comment-author:first-child {padding-top: 0;border-top: none;}.avatar-image-container {margin: .2em 0 0;}#comments .avatar-image-container img {border: 1px solid #f2f2f2;}/* Comments----------------------------------------------- */.comments .comments-content .icon.blog-author {background-repeat: no-repeat;background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEgAACxIB0t1+/AAAAAd0SU1FB9sLFwMeCjjhcOMAAAD+SURBVDjLtZSvTgNBEIe/WRRnm3U8RC1neQdsm1zSBIU9VVF1FkUguQQsD9ITmD7ECZIJSE4OZo9stoVjC/zc7ky+zH9hXwVwDpTAWWLrgS3QAe8AZgaAJI5zYAmc8r0G4AHYHQKVwII8PZrZFsBFkeRCABYiMh9BRUhnSkPTNCtVXYXURi1FpBDgArj8QU1eVXUzfnjv7yP7kwu1mYrkWlU33vs1QNu2qU8pwN0UpKoqokjWwCztrMuBhEhmh8bD5UDqur75asbcX0BGUB9/HAMB+r32hznJgXy2v0sGLBcyAJ1EK3LFcbo1s91JeLwAbwGYu7TP/3ZGfnXYPgAVNngtqatUNgAAAABJRU5ErkJggg);}.comments .comments-content .loadmore a {border-top: 1px solid #a2a2a2;border-bottom: 1px solid #a2a2a2;}.comments .comment-thread.inline-thread {background-color: #fcfcfc;}.comments .continue {border-top: 2px solid #a2a2a2;}/* Accents---------------------------------------------- */.section-columns td.columns-cell {border-left: 1px solid #f2f2f2;}.blog-pager {background: transparent none no-repeat scroll top center;}.blog-pager-older-link, .home-link,.blog-pager-newer-link {background-color: #ffffff;padding: 5px;}.footer-outer {border-top: 0 dashed #bbbbbb;}/* Mobile----------------------------------------------- */body.mobile {background-size: auto;}.mobile .body-fauxcolumn-outer {background: transparent none repeat scroll top left;}.mobile .body-fauxcolumn-outer .cap-top {background-size: 100% auto;}.mobile .content-outer {-webkit-box-shadow: 0 0 3px rgba(0, 0, 0, .15);box-shadow: 0 0 3px rgba(0, 0, 0, .15);}.mobile .tabs-inner .widget ul {margin-left: 0;margin-right: 0;}.mobile .post {margin: 0;}.mobile .main-inner .column-center-inner .section {margin: 0;}.mobile .date-header span {padding: 0.1em 10px;margin: 0 -10px;}.mobile h3.post-title {margin: 0;}.mobile .blog-pager {background: transparent none no-repeat scroll top center;}.mobile .footer-outer {border-top: none;}.mobile .main-inner, .mobile .footer-inner {background-color: #ffffff;}.mobile-index-contents {color: #000000;}.mobile-link-button {background-color: #107cde;}.mobile-link-button a:link, .mobile-link-button a:visited {color: #ffffff;}.mobile .tabs-inner .section:first-child {border-top: none;}.mobile .tabs-inner .PageList .widget-content {background-color: #f2f2f2;color: #000000;border-top: 1px solid #f2f2f2;border-bottom: 1px solid #f2f2f2;}.mobile .tabs-inner .PageList .widget-content .pagelist-arrow {border-left: 1px solid #f2f2f2;}-->/style>style idtemplate-skin-1 typetext/css>!--body {min-width: 1000px;}.content-outer, .content-fauxcolumn-outer, .region-inner {min-width: 1000px;max-width: 1000px;_width: 1000px;}.main-inner .columns {padding-left: 0;padding-right: 290px;}.main-inner .fauxcolumn-center-outer {left: 0;right: 290px;/* IE6 does not respect left and right together */_width: expression(this.parentNode.offsetWidth -parseInt(0) -parseInt(290px) + px);}.main-inner .fauxcolumn-left-outer {width: 0;}.main-inner .fauxcolumn-right-outer {width: 290px;}.main-inner .column-left-outer {width: 0;right: 100%;margin-left: -0;}.main-inner .column-right-outer {width: 290px;margin-right: -290px;}#layout {min-width: 0;}#layout .content-outer {min-width: 0;width: 800px;}#layout .region-inner {min-width: 0;width: auto;}body#layout div.add_widget {padding: 8px;}body#layout div.add_widget a {margin-left: 32px;}-->/style>link hrefhttps://www.blogger.com/dyn-css/authorization.css?targetBlogID8919443962292874459&zxe957dc9c-7e38-4a93-8d52-2fb0f729ef13 medianone onloadif(media!'all')media'all' relstylesheet/>noscript>link hrefhttps://www.blogger.com/dyn-css/authorization.css?targetBlogID8919443962292874459&zxe957dc9c-7e38-4a93-8d52-2fb0f729ef13 relstylesheet/>/noscript>meta namegoogle-adsense-platform-account contentca-host-pub-1556223355139109/>meta namegoogle-adsense-platform-domain contentblogspot.com/>script typetext/javascript languagejavascript> // Supply ads personalization default for EEA readers // See https://www.blogger.com/go/adspersonalization adsbygoogle window.adsbygoogle || ; if (typeof adsbygoogle.requestNonPersonalizedAds undefined) { adsbygoogle.requestNonPersonalizedAds 1; }/script>/head>body classloading variant-pale>div classnavbar no-items section idnavbar nameNavbar>/div>div itemscopeitemscope itemtypehttp://schema.org/Blog styledisplay: none;>meta contentwxPerl Examples itempropname/>/div>div classbody-fauxcolumns>div classfauxcolumn-outer body-fauxcolumn-outer>div classcap-top>div classcap-left>/div>div classcap-right>/div>/div>div classfauxborder-left>div classfauxborder-right>/div>div classfauxcolumn-inner>/div>/div>div classcap-bottom>div classcap-left>/div>div classcap-right>/div>/div>/div>/div>div classcontent>div classcontent-fauxcolumns>div classfauxcolumn-outer content-fauxcolumn-outer>div classcap-top>div classcap-left>/div>div classcap-right>/div>/div>div classfauxborder-left>div classfauxborder-right>/div>div classfauxcolumn-inner>/div>/div>div classcap-bottom>div classcap-left>/div>div classcap-right>/div>/div>/div>/div>div classcontent-outer>div classcontent-cap-top cap-top>div classcap-left>/div>div classcap-right>/div>/div>div classfauxborder-left content-fauxborder-left>div classfauxborder-right content-fauxborder-right>/div>div classcontent-inner>header>div classheader-outer>div classheader-cap-top cap-top>div classcap-left>/div>div classcap-right>/div>/div>div classfauxborder-left header-fauxborder-left>div classfauxborder-right header-fauxborder-right>/div>div classregion-inner header-inner>div classheader section idheader nameHeader>div classwidget Header data-version1 idHeader1>div idheader-inner>a hrefhttp://examples.wxperl.it/ styledisplay: block>img altwxPerl Examples height200px; idHeader1_headerimg srchttp://4.bp.blogspot.com/-XMZ7p7VpiZM/UT6nzdzCDnI/AAAAAAAAALg/I84XNWPDqYk/s1600/wxheader.png styledisplay: block width1050px; />/a>/div>/div>/div>/div>/div>div classheader-cap-bottom cap-bottom>div classcap-left>/div>div classcap-right>/div>/div>/div>/header>div classtabs-outer>div classtabs-cap-top cap-top>div classcap-left>/div>div classcap-right>/div>/div>div classfauxborder-left tabs-fauxborder-left>div classfauxborder-right tabs-fauxborder-right>/div>div classregion-inner tabs-inner>div classtabs section idcrosscol nameCross-column>div classwidget PageList data-version1 idPageList1>h2>Pages/h2>div classwidget-content>ul>li>a hrefhttp://www.wxperl.it/>wxPerl/a>/li>li>a hrefhttp://www.wxperl.it/p/about.html>About/a>/li>li>a hrefhttp://www.wxperl.it/p/download.html>Installation/a>/li>li>a hrefhttp://www.wxperl.it/p/source-code.html>Code/a>/li>li>a hrefhttp://www.wxperl.it/p/screenshots.html>Screenshots/a>/li>li>a hrefhttp://www.wxperl.it/p/documentation.html>Documentation/a>/li>li>a hrefhttp://www.wxperl.it/p/support.html>Support/a>/li>li classselected>a hrefhttp://examples.wxperl.it/>Examples/a>/li>/ul>div classclear>/div>/div>/div>/div>div classtabs no-items section idcrosscol-overflow nameCross-Column 2>/div>/div>/div>div classtabs-cap-bottom cap-bottom>div classcap-left>/div>div classcap-right>/div>/div>/div>div classmain-outer>div classmain-cap-top cap-top>div classcap-left>/div>div classcap-right>/div>/div>div classfauxborder-left main-fauxborder-left>div classfauxborder-right main-fauxborder-right>/div>div classregion-inner main-inner>div classcolumns fauxcolumns>div classfauxcolumn-outer fauxcolumn-center-outer>div classcap-top>div classcap-left>/div>div classcap-right>/div>/div>div classfauxborder-left>div classfauxborder-right>/div>div classfauxcolumn-inner>/div>/div>div classcap-bottom>div classcap-left>/div>div classcap-right>/div>/div>/div>div classfauxcolumn-outer fauxcolumn-left-outer>div classcap-top>div classcap-left>/div>div classcap-right>/div>/div>div classfauxborder-left>div classfauxborder-right>/div>div classfauxcolumn-inner>/div>/div>div classcap-bottom>div classcap-left>/div>div classcap-right>/div>/div>/div>div classfauxcolumn-outer fauxcolumn-right-outer>div classcap-top>div classcap-left>/div>div classcap-right>/div>/div>div classfauxborder-left>div classfauxborder-right>/div>div classfauxcolumn-inner>/div>/div>div classcap-bottom>div classcap-left>/div>div classcap-right>/div>/div>/div>!-- corrects IE6 width calculation -->div classcolumns-inner>div classcolumn-center-outer>div classcolumn-center-inner>div classmain section idmain nameMain>div classwidget Blog data-version1 idBlog1>div classblog-posts hfeed> div classdate-outer> h2 classdate-header>span>Thursday 7 March 2013/span>/h2> div classdate-posts> div classpost-outer>div classpost hentry itempropblogPost itemscopeitemscope itemtypehttp://schema.org/BlogPosting>meta content8919443962292874459 itempropblogId/>meta content8464561629859647828 itemproppostId/>a name8464561629859647828>/a>h3 classpost-title entry-title itempropname>a hrefhttp://examples.wxperl.it/2013/03/laying-out-controls-using-sizers.html>Laying Out Controls Using Sizers/a>/h3>div classpost-header>div classpost-header-line-1>/div>/div>div classpost-body entry-content idpost-body-8464561629859647828 itempropdescription articleBody>The first in a series of a hrefhttp://www.wxperl.it/p/manual.html>wxPerl Manual/a> topics, a hrefhttp://www.wxperl.it/p/sizers-and-layout.html>Sizers and Layout/a> covers the basics of using sizers to control the layout of your windows in wxPerl.div styleclear: both;>/div>/div>div classpost-footer>div classpost-footer-line post-footer-line-1>span classpost-author vcard>Posted byspan classfn itempropauthor itemscopeitemscope itemtypehttp://schema.org/Person>span itempropname>Wallasey/span>/span>/span>span classpost-timestamp>atmeta contenthttp://examples.wxperl.it/2013/03/laying-out-controls-using-sizers.html itempropurl/>a classtimestamp-link hrefhttp://examples.wxperl.it/2013/03/laying-out-controls-using-sizers.html relbookmark titlepermanent link>abbr classpublished itempropdatePublished title2013-03-07T22:08:00-08:00>22:08/abbr>/a>/span>span classpost-comment-link>a classcomment-link hrefhttp://examples.wxperl.it/2013/03/laying-out-controls-using-sizers.html#comment-form onclick>10 comments: /a>/span>span classpost-icons>span classitem-control blog-admin pid-203120106>a hrefhttps://www.blogger.com/post-edit.g?blogID8919443962292874459&postID8464561629859647828&frompencil titleEdit Post>img alt classicon-action height18 srchttps://resources.blogblog.com/img/icon18_edit_allbkg.gif width18/>/a>/span>/span>div classpost-share-buttons goog-inline-block>a classgoog-inline-block share-button sb-email hrefhttps://www.blogger.com/share-post.g?blogID8919443962292874459&postID8464561629859647828&targetemail target_blank titleEmail This>span classshare-button-link-text>Email This/span>/a>a classgoog-inline-block share-button sb-blog hrefhttps://www.blogger.com/share-post.g?blogID8919443962292874459&postID8464561629859647828&targetblog onclickwindow.open(this.href, _blank, height270,width475); return false; target_blank titleBlogThis!>span classshare-button-link-text>BlogThis!/span>/a>a classgoog-inline-block share-button sb-twitter hrefhttps://www.blogger.com/share-post.g?blogID8919443962292874459&postID8464561629859647828&targettwitter target_blank titleShare to Twitter>span classshare-button-link-text>Share to Twitter/span>/a>a classgoog-inline-block share-button sb-facebook hrefhttps://www.blogger.com/share-post.g?blogID8919443962292874459&postID8464561629859647828&targetfacebook onclickwindow.open(this.href, _blank, height430,width640); return false; target_blank titleShare to Facebook>span classshare-button-link-text>Share to Facebook/span>/a>a classgoog-inline-block share-button sb-pinterest hrefhttps://www.blogger.com/share-post.g?blogID8919443962292874459&postID8464561629859647828&targetpinterest target_blank titleShare to Pinterest>span classshare-button-link-text>Share to Pinterest/span>/a>/div>/div>div classpost-footer-line post-footer-line-2>span classpost-labels>Labels:a hrefhttp://examples.wxperl.it/search/label/basic reltag>basic/a>,a hrefhttp://examples.wxperl.it/search/label/Perl reltag>Perl/a>,a hrefhttp://examples.wxperl.it/search/label/sizers reltag>sizers/a>,a hrefhttp://examples.wxperl.it/search/label/wxPerl reltag>wxPerl/a>/span>/div>div classpost-footer-line post-footer-line-3>span classpost-location>/span>/div>/div>/div>/div>div classpost-outer>div classpost hentry itempropblogPost itemscopeitemscope itemtypehttp://schema.org/BlogPosting>meta contenthttps://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbETEOKF_LNAQGsTRf7CxdERi-UG4wA_MeN6frHuMq_lcX5rw_7_z4UsSssFXivK3L9P58yn-KBnMZEnSh2UuDb3mcr9OCf16UymvfG2myW7wvwMbhoaMgAXFMXE8ugw-eEvgyNEALp9s/s1600/helloworld.png itempropimage_url/>meta content8919443962292874459 itempropblogId/>meta content8000531633534300452 itemproppostId/>a name8000531633534300452>/a>h3 classpost-title entry-title itempropname>a hrefhttp://examples.wxperl.it/2013/03/hello-world.html>Hello World/a>/h3>div classpost-header>div classpost-header-line-1>/div>/div>div classpost-body entry-content idpost-body-8000531633534300452 itempropdescription articleBody>This is the first in a series of basic wxPerl examples showing how to get started with wxPerl. This example simply opens a window with the title Hello World.br />br />The examples are meant to provide a basic guide; they try to assume only a no prior knowledge of wxWidgets API; for a detailed API description you need to refer to the a hrefhttp://www.wxperl.it/p/documentation.html>wxWidgets manuals/a>. The key thing you need to keep in mind while browsing wxWidgets documentation is that, if a wxPerl class is called, say, Wx::Frame, you should search for wxFrame in wxWidgets documentation.br />br />Every Perl script should start by using the strict and warnings pragmas. Here we load the Wx module too.br />br />pre stylewhite-space: pre-wrap; word-wrap: break-word;>i>span stylecolor: #6aa84f;>#!/usr/bin/perl/span>/i>use strict;use warnings;use Wx;/pre>div>br />/div>Every wxPerl program must create an application object: it manages global state and processes events.br />br />pre stylewhite-space: pre-wrap; word-wrap: break-word;>package MyApp;use base Wx::App;/pre>pre stylewhite-space: pre-wrap; word-wrap: break-word;>/pre>When an application object is created, wxPerl calls the OnInit method which is used to initialize global application data and usually creates one or more frames.br />br />pre stylewhite-space: pre-wrap; word-wrap: break-word;>i>span stylecolor: #6aa84f;># The OnInit method is called automatically when an# application object is first constructed.# Application level initialization can be done here./span>/i>sub OnInit { my( $self ) @_; i>span stylecolor: #6aa84f;># create a new frame (a frame is a top level window)/span>/i> my $frame Wx::Frame->new( undef, i stylebackground-color: white;>span stylecolor: #6aa84f;># parent window/span>/i> -1, i>span stylecolor: #6aa84f;># ID -1 means any/span>/i> Hello World, span stylecolor: #6aa84f;>i># title/i>/span> -1, -1, span stylecolor: #6aa84f;>i># default position/i>/span> 250, 150, span stylecolor: #6aa84f;>i># size/i>/span> ); span stylecolor: #6aa84f;>i># show the frame/i>/span> $frame->Show( 1 ); span stylecolor: #6aa84f;>i># The OnInit sub must return a true value or the wxApp # will not start. Although an explicit return is not # necessary as the $frame->Show line will return # a true value, well include an explicit line # in this example./i>/span> return 1;}/pre>br />Note that wxWidgets requires every window to have an ID which is an integer number assigned at window creation time. In wxPerl most of the time you dont care about the value of the ID, so you should pass -1 or the constant wxID_ANY to the window constructor to let wxWidgets generate an unique ID for you.br />br />Top level windows are not automatically shown by wxWidgets, hence you need to do it yourself as in the example with $frame->Show(1);br />br />This following is all the code you may ever need in your main package. It creates a new application instance thus calling OnInit, and starts the main application loop, which is responsible for dispatching GUI events to windows. The loop will not terminate until there are top level windows.br />br />pre stylewhite-space: pre-wrap; word-wrap: break-word;>package main;i>span stylecolor: #6aa84f;># create the application object, this will call OnInit# before the constructor returns./span>/i>my $app MyApp->new;span stylecolor: #6aa84f;>i># process GUI events from the application this function# will not return until the last frame is closed/i>/span>$app->MainLoop;/pre>pre stylewhite-space: pre-wrap; word-wrap: break-word;>/pre>br />And finally here is how this looks on screen.br />br />div classseparator styleclear: both; text-align: center;>a hrefhttps://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbETEOKF_LNAQGsTRf7CxdERi-UG4wA_MeN6frHuMq_lcX5rw_7_z4UsSssFXivK3L9P58yn-KBnMZEnSh2UuDb3mcr9OCf16UymvfG2myW7wvwMbhoaMgAXFMXE8ugw-eEvgyNEALp9s/s1600/helloworld.png imageanchor1 stylemargin-left: 1em; margin-right: 1em;>img border0 srchttps://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbETEOKF_LNAQGsTRf7CxdERi-UG4wA_MeN6frHuMq_lcX5rw_7_z4UsSssFXivK3L9P58yn-KBnMZEnSh2UuDb3mcr9OCf16UymvfG2myW7wvwMbhoaMgAXFMXE8ugw-eEvgyNEALp9s/s1600/helloworld.png />/a>/div>br />br />The full text of the script is contained in a hrefhttp://wxperl.sourceforge.net/examples/helloworld.pl.txt target_blank>helloworld.pl.txt/a> (it is suffixed .pl.txt so your browser will not try to execute it, but from Perls point of view this makes no difference).br />br />br />div styleclear: both;>/div>/div>div classpost-footer>div classpost-footer-line post-footer-line-1>span classpost-author vcard>Posted byspan classfn itempropauthor itemscopeitemscope itemtypehttp://schema.org/Person>span itempropname>Wallasey/span>/span>/span>span classpost-timestamp>atmeta contenthttp://examples.wxperl.it/2013/03/hello-world.html itempropurl/>a classtimestamp-link hrefhttp://examples.wxperl.it/2013/03/hello-world.html relbookmark titlepermanent link>abbr classpublished itempropdatePublished title2013-03-07T14:07:00-08:00>14:07/abbr>/a>/span>span classpost-comment-link>a classcomment-link hrefhttp://examples.wxperl.it/2013/03/hello-world.html#comment-form onclick>9 comments: /a>/span>span classpost-icons>span classitem-control blog-admin pid-203120106>a hrefhttps://www.blogger.com/post-edit.g?blogID8919443962292874459&postID8000531633534300452&frompencil titleEdit Post>img alt classicon-action height18 srchttps://resources.blogblog.com/img/icon18_edit_allbkg.gif width18/>/a>/span>/span>div classpost-share-buttons goog-inline-block>a classgoog-inline-block share-button sb-email hrefhttps://www.blogger.com/share-post.g?blogID8919443962292874459&postID8000531633534300452&targetemail target_blank titleEmail This>span classshare-button-link-text>Email This/span>/a>a classgoog-inline-block share-button sb-blog hrefhttps://www.blogger.com/share-post.g?blogID8919443962292874459&postID8000531633534300452&targetblog onclickwindow.open(this.href, _blank, height270,width475); return false; target_blank titleBlogThis!>span classshare-button-link-text>BlogThis!/span>/a>a classgoog-inline-block share-button sb-twitter hrefhttps://www.blogger.com/share-post.g?blogID8919443962292874459&postID8000531633534300452&targettwitter target_blank titleShare to Twitter>span classshare-button-link-text>Share to Twitter/span>/a>a classgoog-inline-block share-button sb-facebook hrefhttps://www.blogger.com/share-post.g?blogID8919443962292874459&postID8000531633534300452&targetfacebook onclickwindow.open(this.href, _blank, height430,width640); return false; target_blank titleShare to Facebook>span classshare-button-link-text>Share to Facebook/span>/a>a classgoog-inline-block share-button sb-pinterest hrefhttps://www.blogger.com/share-post.g?blogID8919443962292874459&postID8000531633534300452&targetpinterest target_blank titleShare to Pinterest>span classshare-button-link-text>Share to Pinterest/span>/a>/div>/div>div classpost-footer-line post-footer-line-2>span classpost-labels>Labels:a hrefhttp://examples.wxperl.it/search/label/basic reltag>basic/a>,a hrefhttp://examples.wxperl.it/search/label/Perl reltag>Perl/a>,a hrefhttp://examples.wxperl.it/search/label/tutorial reltag>tutorial/a>,a hrefhttp://examples.wxperl.it/search/label/wxPerl reltag>wxPerl/a>/span>/div>div classpost-footer-line post-footer-line-3>span classpost-location>/span>/div>/div>/div>/div> /div>/div> /div>div classblog-pager idblog-pager>a classhome-link hrefhttp://examples.wxperl.it/>Home/a>/div>div classclear>/div>div classblog-feeds>div classfeed-links>Subscribe to:a classfeed-link hrefhttp://examples.wxperl.it/feeds/posts/default target_blank typeapplication/atom+xml>Posts (Atom)/a>/div>/div>/div>/div>/div>/div>div classcolumn-left-outer>div classcolumn-left-inner>aside>/aside>/div>/div>div classcolumn-right-outer>div classcolumn-right-inner>aside>div classsidebar section idsidebar-right-1>div classwidget BlogArchive data-version1 idBlogArchive1>h2>wxPerl Examples Archive/h2>div classwidget-content>div idArchiveList>div idBlogArchive1_ArchiveList>ul classhierarchy>li classarchivedate expanded>a classtoggle hrefjavascript:void(0)>span classzippy toggle-open> ▼ /span>/a>a classpost-count-link hrefhttp://examples.wxperl.it/2013/>2013/a>span classpost-count dirltr>(2)/span>ul classhierarchy>li classarchivedate expanded>a classtoggle hrefjavascript:void(0)>span classzippy toggle-open> ▼ /span>/a>a classpost-count-link hrefhttp://examples.wxperl.it/2013/03/>March/a>span classpost-count dirltr>(2)/span>ul classposts>li>a hrefhttp://examples.wxperl.it/2013/03/laying-out-controls-using-sizers.html>Laying Out Controls Using Sizers/a>/li>li>a hrefhttp://examples.wxperl.it/2013/03/hello-world.html>Hello World/a>/li>/ul>/li>/ul>/li>/ul>/div>/div>div classclear>/div>/div>/div>/div>table border0 cellpadding0 cellspacing0 classsection-columns columns-2>tbody>tr>td classfirst columns-cell>div classsidebar no-items section idsidebar-right-2-1>/div>/td>td classcolumns-cell>div classsidebar no-items section idsidebar-right-2-2>/div>/td>/tr>/tbody>/table>div classsidebar no-items section idsidebar-right-3>/div>/aside>/div>/div>/div>div styleclear: both>/div>!-- columns -->/div>!-- main -->/div>/div>div classmain-cap-bottom cap-bottom>div classcap-left>/div>div classcap-right>/div>/div>/div>footer>div classfooter-outer>div classfooter-cap-top cap-top>div classcap-left>/div>div classcap-right>/div>/div>div classfauxborder-left footer-fauxborder-left>div classfauxborder-right footer-fauxborder-right>/div>div classregion-inner footer-inner>div classfoot no-items section idfooter-1>/div>table border0 cellpadding0 cellspacing0 classsection-columns columns-2>tbody>tr>td classfirst columns-cell>div classfoot no-items section idfooter-2-1>/div>/td>td classcolumns-cell>div classfoot no-items section idfooter-2-2>/div>/td>/tr>/tbody>/table>!-- outside of the include in order to lock Attribution widget -->div classfoot section idfooter-3 nameFooter>div classwidget Attribution data-version1 idAttribution1>div classwidget-content styletext-align: center;>Simple theme. Powered by a hrefhttps://www.blogger.com target_blank>Blogger/a>./div>div classclear>/div>/div>/div>/div>/div>div classfooter-cap-bottom cap-bottom>div classcap-left>/div>div classcap-right>/div>/div>/div>/footer>!-- content -->/div>/div>div classcontent-cap-bottom cap-bottom>div classcap-left>/div>div classcap-right>/div>/div>/div>/div>script typetext/javascript> window.setTimeout(function() { document.body.className document.body.className.replace(loading, ); }, 10); /script>!--It is your responsibility to notify your visitors about cookies used and data collected on your blog. Blogger makes a standard notification available for you to use on your blog, and you can customize it or replace with your own notice. See http://www.blogger.com/go/cookiechoices for more details.-->script defer src/js/cookienotice.js>/script>script> document.addEventListener(DOMContentLoaded, function(event) { window.cookieChoices && cookieChoices.showCookieConsentBar && cookieChoices.showCookieConsentBar( (window.cookieOptions && cookieOptions.msg) || This site uses cookies from Google to deliver its services and to analyze traffic. Your IP address and user-agent are shared with Google along with performance and security metrics to ensure quality of service, generate usage statistics, and to detect and address abuse., (window.cookieOptions && cookieOptions.close) || Got it, (window.cookieOptions && cookieOptions.learn) || Learn More, (window.cookieOptions && cookieOptions.link) || https://www.blogger.com/go/blogspot-cookies); }); /script>script typetext/javascript srchttps://www.blogger.com/static/v1/widgets/4140855455-widgets.js>/script>script typetext/javascript>window__wavt AOuZoY7vceTW0_eDuk0Ten1QDAAvJJ6f-g:1726274679973;_WidgetManager._Init(//www.blogger.com/rearrange?blogID\x3d8919443962292874459,//examples.wxperl.it/,8919443962292874459);_WidgetManager._SetDataContext({name: blog, data: {blogId: 8919443962292874459, title: wxPerl Examples, url: http://examples.wxperl.it/, canonicalUrl: http://examples.wxperl.it/, homepageUrl: http://examples.wxperl.it/, searchUrl: http://examples.wxperl.it/search, canonicalHomepageUrl: http://examples.wxperl.it/, blogspotFaviconUrl: http://examples.wxperl.it/favicon.ico, bloggerUrl: https://www.blogger.com, hasCustomDomain: true, httpsEnabled: false, enabledCommentProfileImages: true, gPlusViewType: FILTERED_POSTMOD, adultContent: false, analyticsAccountNumber: , encoding: UTF-8, locale: en-GB, localeUnderscoreDelimited: en_gb, languageDirection: ltr, isPrivate: false, isMobile: false, isMobileRequest: false, mobileClass: , isPrivateBlog: false, isDynamicViewsAvailable: true, feedLinks: \x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22wxPerl Examples - Atom\x22 href\x3d\x22http://examples.wxperl.it/feeds/posts/default\x22 /\x3e\n\x3clink rel\x3d\x22alternate\x22 type\x3d\x22application/rss+xml\x22 title\x3d\x22wxPerl Examples - RSS\x22 href\x3d\x22http://examples.wxperl.it/feeds/posts/default?alt\x3drss\x22 /\x3e\n\x3clink rel\x3d\x22service.post\x22 type\x3d\x22application/atom+xml\x22 title\x3d\x22wxPerl Examples - Atom\x22 href\x3d\x22https://www.blogger.com/feeds/8919443962292874459/posts/default\x22 /\x3e\n, meTag: , adsenseHostId: ca-host-pub-1556223355139109, adsenseHasAds: false, adsenseAutoAds: false, boqCommentIframeForm: true, loginRedirectParam: , view: , dynamicViewsCommentsSrc: //www.blogblog.com/dynamicviews/4224c15c4e7c9321/js/comments.js, dynamicViewsScriptSrc: //www.blogblog.com/dynamicviews/5702e3d62c3de6e9, plusOneApiSrc: https://apis.google.com/js/platform.js, disableGComments: true, interstitialAccepted: false, sharing: {platforms: {name: Get link, key: link, shareMessage: Get link, target: }, {name: Facebook, key: facebook, shareMessage: Share to Facebook, target: facebook}, {name: BlogThis!, key: blogThis, shareMessage: BlogThis!, target: blog}, {name: Twitter, key: twitter, shareMessage: Share to Twitter, target: twitter}, {name: Pinterest, key: pinterest, shareMessage: Share to Pinterest, target: pinterest}, {name: Email, key: email, shareMessage: Email, target: email}, disableGooglePlus: true, googlePlusShareButtonWidth: 0, googlePlusBootstrap: \x3cscript type\x3d\x22text/javascript\x22\x3ewindow.___gcfg \x3d {\x27lang\x27: \x27en_GB\x27};\x3c/script\x3e}, hasCustomJumpLinkMessage: false, jumpLinkMessage: Read more, pageType: index, pageName: , pageTitle: wxPerl Examples}}, {name: features, data: {}}, {name: messages, data: {edit: Edit, linkCopiedToClipboard: Link copied to clipboard, ok: Ok, postLink: Post link}}, {name: template, data: {name: Simple, localizedName: Simple, isResponsive: false, isAlternateRendering: false, isCustom: false, variant: pale, variantId: pale}}, {name: view, data: {classic: {name: classic, url: ?view\x3dclassic}, flipcard: {name: flipcard, url: ?view\x3dflipcard}, magazine: {name: magazine, url: ?view\x3dmagazine}, mosaic: {name: mosaic, url: ?view\x3dmosaic}, sidebar: {name: sidebar, url: ?view\x3dsidebar}, snapshot: {name: snapshot, url: ?view\x3dsnapshot}, timeslide: {name: timeslide, url: ?view\x3dtimeslide}, isMobile: false, title: wxPerl Examples, description: Tutorials and Examples for wxPerl - the Perl wrapper for the wxWidgets GUI toolkit., url: http://examples.wxperl.it/, type: feed, isSingleItem: false, isMultipleItems: true, isError: false, isPage: false, isPost: false, isHomepage: true, isArchive: false, isLabelSearch: false}});_WidgetManager._RegisterWidget(_HeaderView, new _WidgetInfo(Header1, header, document.getElementById(Header1), {}, displayModeFull));_WidgetManager._RegisterWidget(_PageListView, new _WidgetInfo(PageList1, crosscol, document.getElementById(PageList1), {title: Pages, links: {isCurrentPage: false, href: http://www.wxperl.it/, title: wxPerl}, {isCurrentPage: false, href: http://www.wxperl.it/p/about.html, title: About}, {isCurrentPage: false, href: http://www.wxperl.it/p/download.html, title: Installation}, {isCurrentPage: false, href: http://www.wxperl.it/p/source-code.html, title: Code}, {isCurrentPage: false, href: http://www.wxperl.it/p/screenshots.html, title: Screenshots}, {isCurrentPage: false, href: http://www.wxperl.it/p/documentation.html, title: Documentation}, {isCurrentPage: false, href: http://www.wxperl.it/p/support.html, title: Support}, {isCurrentPage: true, href: http://examples.wxperl.it/, title: Examples}, mobile: false, showPlaceholder: true, hasCurrentPage: true}, displayModeFull));_WidgetManager._RegisterWidget(_BlogView, new _WidgetInfo(Blog1, main, document.getElementById(Blog1), {cmtInteractionsEnabled: false, lightboxEnabled: true, lightboxModuleUrl: https://www.blogger.com/static/v1/jsbin/392203275-lbx__en_gb.js, lightboxCssUrl: https://www.blogger.com/static/v1/v-css/13464135-lightbox_bundle.css}, displayModeFull));_WidgetManager._RegisterWidget(_BlogArchiveView, new _WidgetInfo(BlogArchive1, sidebar-right-1, document.getElementById(BlogArchive1), {languageDirection: ltr, loadingMessage: Loading\x26hellip;}, displayModeFull));_WidgetManager._RegisterWidget(_AttributionView, new _WidgetInfo(Attribution1, footer-3, document.getElementById(Attribution1), {}, displayModeFull));/script>/body>/html>
View on OTX
|
View on ThreatMiner
Please enable JavaScript to view the
comments powered by Disqus.
Data with thanks to
AlienVault OTX
,
VirusTotal
,
Malwr
and
others
. [
Sitemap
]