From: Net W. <MN...@Ja...> - 2002-05-04 17:25:38
|
I am willing to write and host the wxPerl Cookbook on my web site as well as contribute. Another perhaps better idea (and location) is to contact ASPN and see if they can create a new cookbook category for wxPerl-- I like this one because of it's existing presence in the Perl community. Ideas? Michael ----- Original Message ----- From: <wxp...@li...> To: <wxp...@li...> Sent: Friday, May 03, 2002 7:07 PM Subject: wxperl-users digest, Vol 1 #156 - 4 msgs > Send wxperl-users mailing list submissions to > wxp...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/wxperl-users > or, via email, send a message with subject or body 'help' to > wxp...@li... > > You can reach the person managing the list at > wxp...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of wxperl-users digest..." > > > Today's Topics: > > 1. Re: Re: What people find confusing in > wxWindows docs (Marcus) > 2. Re: Re: What people find confusing in wxWindows docs (Boo Radley) > 3. Re: Wx::Icon appears broken (Graciliano M. P. (Virtua Sites)) > > --__--__-- > > Message: 1 > Date: Thu, 02 May 2002 23:00:26 +0200 > From: "Marcus" <li...@wo...> > To: wxp...@li... > Subject: Re: [wxperl-users] Re: What people find confusing in > wxWindows docs > > On 24.04.02 at 13:35 Michael Nino wrote: > >IMHO at least one example is sorely needed for each class > >> *or* at least 80% of them. > > How about creating a "wxPerl Cookbook"? > For example yesterday, I needed a yes/no dialog, so I pulled one out of > the demo. Luckily it was there, but it would be nice to have such > things handier. > > How about making a list of controls and snippets which need examples, > then index them in Cookbook style, i.e. "Q: How do I ....?". A1: > code.... A2: code .... > > Anybody else willing to contribute? > > > >The reason being is that as a Perl programmer > >> trying to make the leap to GUI programming (vs. CGI/HTML) I need to > get > >> started quickly! > > I'm just transferring a CGI app to wxPerl. In fact, the basics are > running. wxHTML is the way to go, and/or with the VirtualFileSystem > "thingy" Mattia has implemented for vers. 0.11. It runs at normal > Windows app speed and you can't tell the difference. > > In my opinion, this is something to advertise, since Perl programmers > could easily port CGI apps to the desktop, and have the best of both > worlds. You can keep your old CGI code, except for the param passing. > The web and desktop versions could communicate and swap data. Another > niche for Perl to jump into :-) Or to create web-like apps, like yours. > > > >I > >> am writing it in DHTML and Win32::OLE instead. : ( > > If you have time, think again. I don't know what you need, but my guess > at this point is that wxPerl can probably do it, and you remain > cross-platform. > > Btw, have you tried wxDesigner? > > Marcus > > > > > --__--__-- > > Message: 2 > Date: Thu, 02 May 2002 15:00:56 -0600 > From: Boo Radley <boo...@wo...> > To: wxp...@li... > Subject: Re: [wxperl-users] Re: What people find confusing in wxWindows docs > > Marcus wrote: > > > > > How about creating a "wxPerl Cookbook"? > > For example yesterday, I needed a yes/no dialog, so I pulled one out of > > the demo. Luckily it was there, but it would be nice to have such > > things handier. > > > > How about making a list of controls and snippets which need examples, > > then index them in Cookbook style, i.e. "Q: How do I ....?". A1: > > code.... A2: code .... > > > > Anybody else willing to contribute? > > > > > > > The demos and tutorials I've written have all been on perlmonks; I'd > suggest using them as a starting point for any tutorials you write as > there's a budding community of wx developers there. > > > > > --__--__-- > > Message: 3 > From: "Graciliano M. P. \(Virtua Sites\)" <gm...@vi...> > To: <wxp...@li...> > Date: Fri, 3 May 2002 14:31:25 -0300 > Organization: Virtua Sites > Subject: [wxperl-users] Re: Wx::Icon appears broken > > > Initial Comment: > > Wx::Icon is appears broken. > > I do not Believe it to be a user-error. > > FOr example, if i have a Wx::Frame, and try to load > > and set an icon with the following code > > (which should work) > > ## > > use Wx::Icon; > > # $frame->{wxMorseIcon} = Wx::GetWxPerlIcon(); > > $frame->{wxMorseIcon} = new Wx::Icon; > > $frame->{wxMorseIcon}->LoadFile > > ('wxMorse.xbm',wxBITMAP_TYPE_XBM); > > $frame->SetIcon($frame->{wxMorseIcon}); > > > > nothing happens. > > if this is something i'm doing wrong on my part, I > > deeply apologize, and I request that yo delete this > > post ASAP, but if not, it'd be nice if you'd look into > > getting this working in the next release (i'd be real > > glad, and probably a few others too ;) > > > > I attached a sample file, with the .xbm contained > > after __DATA__ > > > > Try this code. It was testd with wxPerl 0.10 and Win32. > > ------------------------------------------------- > use Wx qw(wxBITMAP_TYPE_ICO wxBITMAP_TYPE_XPM); > > Wx::InitAllImageHandlers(); > > if( $Wx::_platform == $Wx::_msw ) { > $icon = Wx::Icon->new( $file , wxBITMAP_TYPE_ICO , -1 , -1 ); > } else { > $icon = Wx::Icon->new( $file , wxBITMAP_TYPE_XPM ); > } > > $frame->SetIcon( $icon ); > ------------------------------------------------- > > Graciliano M. P. > > > > > > > > --__--__-- > > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users > > > End of wxperl-users Digest > |