hello Waldemar,
most effectivly im working with the wxwidgets doku you get on
wxwidgets.org in download section.
all there applies to wxperl as well and exceptions are marked there too.
1. sizer give a window size. if you wont you have to masure the pic and
set size manually
2. thats sounds impossible to me
cheers
herbert
kephra.sf.net
Hello everybody.
I am using Win32::GUI, but it is only for Windows. I would like to try
wxperl because it works on Windows and Linux.
Additionally question to those of you who used Win32::GUI and Wxperl:
which of the systems is faster in creation (and displaying) objects on
screens?
For Win32::GUI there are quite good documentation and many useful
examples to start (all working!).
It seems that wxperl documentation is poor and they say I should use
wxwidgets documentation instead. I cannot find examples of working
wxperl scripts.
There is nothing better than good example!
Maybe someone could be so nice and give me a simple (I hope!) show of
using wxwidgets on the following example:
At the end there is the known wxperl example. I would be very happy I
someone could give me show how to add two features to the window:
1. background image which give its size as a windows size
2. How to remove title bar.
and in what way I should use wxwidgets library to perform all that staff.
Maybe there is more complete documantation? Anyway any help in the
direction how to effectively use wxperl would be appriciate!
Waldemar
########################################
#!/usr/bin/perl -w
use strict;
use Wx;
package MyApp;
use base 'Wx::App';
sub OnInit {
my $frame = Wx::Frame->new( undef,
-1,
'wxPerl rules',
[-1, -1],
[250, 150],
);
$frame->Show( 1 );
}
package main;
my $app = MyApp->new;
$app->MainLoop;
########################################