Re: Install fails on Ubuntu: cannot find -lwx_gtk2u_media-2.8

2010-08-09 Thread Daniel Carrera
On Mon, Aug 9, 2010 at 5:51 PM, Eric J. Roode wrote: >> Finally, installing the wxPerl package from Ubuntu does not constitute >> "mucking about" with the Perl that came with Ubuntu. That makes no >> sense. > > Oh, definitely, I agree there.  Any modules installed or updated by the > package manag

Re: Install fails on Ubuntu: cannot find -lwx_gtk2u_media-2.8

2010-08-09 Thread Daniel Carrera
Hi Adam, On Mon, Aug 9, 2010 at 5:16 PM, Adam Witney wrote: > I have to agree with Eric here. Anything that involves installing new modules > or upgrading older modules in the system perl install constitutes "mucking > about with perl". It is always advisable to leave the system perl alone and

Re: Install fails on Ubuntu: cannot find -lwx_gtk2u_media-2.8

2010-08-09 Thread Daniel Carrera
On Mon, Aug 9, 2010 at 4:37 PM, Eric J. Roode wrote: > That's actually a good reason *not* to use the package manager. > > Lots of system packages depend on perl, so most modern *nix distros > come with a basic perl set up with predictable settings.  But if > you're doing development, you don't wa

Re: Install fails on Ubuntu: cannot find -lwx_gtk2u_media-2.8

2010-08-09 Thread Daniel Carrera
Hi Eric, On Mon, Aug 9, 2010 at 12:02 PM, Eric J. Roode wrote: >> sudo apt-get install libwx-perl > > Didn't think of it.  I'm old-school, I'm used to building stuff myself :) :-) I started with Linux back when Slackware was the #1 distribution, but since then I've learned the beauty of APT.

Re: Install fails on Ubuntu: cannot find -lwx_gtk2u_media-2.8

2010-08-09 Thread Daniel Carrera
On Mon, Aug 9, 2010 at 4:28 AM, Eric J. Roode wrote: >    I am attempting to install WxPerl on a new Ubuntu 10.04 (32-bit, > desktop) system > Does anyone have any suggestions for getting past this error?  TIA. Is there a reason why you can't use the Ubuntu package? sudo apt-get install libwx

Re: List of wxPerl applications

2010-08-07 Thread Daniel Carrera
Hi Johan, On Sat, Aug 7, 2010 at 5:31 PM, Johan Vromans wrote: >> I didn't even know that the wiki had a page with a list of wxPerl >> applications. > > For someone with such strong opinions, you don't seem well-informed. If you are trying to promote wxPerl, then, by definition, you are looking

Re: List of wxPerl applications

2010-08-07 Thread Daniel Carrera
I don't think that this will make the slightest difference. I didn't even know that the wiki had a page with a list of wxPerl applications. If you want to promote wxPerl I think you should start by having documentation that is reasonably updated (not 6 years old), reasonably complete (more than 1 w

Re: Documentation?

2010-08-05 Thread Daniel Carrera
Hi Johan, On Thu, Aug 5, 2010 at 12:40 PM, Johan Vromans wrote: >>  A year ago I wanted to experiment with wx and I first went to wxPerl. >> But the website gave me the impression that the project was largely >> unmaintained (e.g. most recent docs were many years old). > > wxPerl is alive and kic

Re: Documentation?

2010-08-05 Thread Daniel Carrera
Hi Peter, On Thu, Aug 5, 2010 at 12:59 AM, Peter Lavender wrote: > I too found the going painful and difficult with Wx perl, for the most part > all the intros are just that.  There doesn't appear to be a cook book of > sorts out there, and you often end up stuck between knowing what you want to

Re: Wx::StyledTextCtrl

2010-08-04 Thread Daniel Carrera
-1, "Hello World"); >        my $ctrl = Wx::StyledTextCtrl->new($frame); >        $frame->Show( 1 ); > } > package main; > MyApp->new()->MainLoop(); > --------- > Have fun, > Ahmad > On Wed, Aug 4, 2010 at 3:44 PM, Dan

Re: Wx::StyledTextCtrl

2010-08-04 Thread Daniel Carrera
html>Hope this helps you, >> Ahmad >> >> >> On Wed, Aug 4, 2010 at 12:23 PM, Alessandro < >> alessandro.scanfe...@gmail.com> wrote: >> >>> http://docs.wxwidgets.org/trunk/classwx_styled_text_ctrl.html >>> >>> >>> >>>

Wx::StyledTextCtrl

2010-08-04 Thread Daniel Carrera
Hello, I just learned about a possibly-cool widget: wxStyledTextCtrl. Apparently it is the Scintilla editor. I'm trying to figure out how to add it to my program: 1) I cannot find it on the wxWidgets reference: http://docs.wxwidgets.org/stable/wx_classref.html#classref 2) But I'm pretty sure it

Re: ToolBar help

2010-08-03 Thread Daniel Carrera
rst. On Wed, Aug 4, 2010 at 12:34 AM, herbert breunung wrote: > because it dont work on values in second parameter. > chenge "saved" with "" and put a rel bitmap in next parameter, nullmitmap > comes after that. > > > -Ursprüngliche Nachricht- >

Re: ToolBar help

2010-08-03 Thread Daniel Carrera
Hi Herbert, On Tue, Aug 3, 2010 at 11:47 PM, herbert breunung wrote: > after anz change zou have to $bar->Realize; Doesn't seem to work: my $toolbar = $myFrame->CreateToolBar(); $toolbar->AddTool(wxID_SAVE, "Save", wxNullBitmap); $toolbar->Realize(); :-( Daniel. -- Intolerant people should be

ToolBar help

2010-08-03 Thread Daniel Carrera
Hi guys, Sorry to bother you again. I've tried to figure out how to make a toolbar based on the C++ docs: http://docs.wxwidgets.org/stable/wx_wxtoolbar.html http://docs.wxwidgets.org/stable/wx_wxframe.html#wxframecreatetoolbar This is what I have: my $toolbar = $myFrame->CreateToolBar(); $tool

Re: TextCtrl question.

2010-08-03 Thread Daniel Carrera
nt; > # Set font > if ( $font->SetFaceName('Courier') ) > { >    $myTextCtrl->SetFont($font); > } > > > > > 2010/8/3 Daniel Carrera >> >> Hi, >> >> Is there a space to make Wx::TextCtrl use *monospace* font? This is >> impo

TextCtrl question.

2010-08-03 Thread Daniel Carrera
Hi, Is there a space to make Wx::TextCtrl use *monospace* font? This is important to display source code and ASCII art for example. I've looked here: http://docs.wxwidgets.org/stable/wx_wxtextctrl.html I don't see anything for "mono" :-( But I'm sure there is a solution. I can't imagine that I

Re: How to import all constants?

2010-08-03 Thread Daniel Carrera
Ah, thanks! On Tue, Aug 3, 2010 at 4:38 PM, Eric J. Roode wrote: > On Tue, Aug 3, 2010 at 10:30 AM, Daniel Carrera wrote: >> Is there an easy way to just import *all* constant from Wx? You know, >> something like: >> >> use Wx qw(:all); > > > Yes -- the

How to import all constants?

2010-08-03 Thread Daniel Carrera
Hello, This is a generic Perl OOP question, not something wx-specific. My current program has something like this: use Wx qw( wxOK wxCANCEL wxVERTICAL wxHORIZONTAL wxEXPAND

Re: Documentation?

2010-08-03 Thread Daniel Carrera
For example, this is from the wxPython doc: ---%<--- import wx class MyFrame(wx.Frame): """ We simply derive a new class of Frame. """ def __init__(self, parent, title): wx.Frame.__init__(self, parent, title=title, size=(200,100)) self.control = wx.TextCtrl(

Re: Documentation?

2010-08-03 Thread Daniel Carrera
Hi Eric, Thank you for your work. On Tue, Aug 3, 2010 at 2:42 PM, Eric J. Roode wrote: > I am working to document what I can about WxPerl for the wiki.  So > far, I have mostly been translating API documentation from the C++ > wxWidgets site, but I plan on writing some tutorials in the near > fu

Re: Signed up in error.

2010-08-03 Thread Daniel Carrera
Send an empty email to wxperl-users-unsubscr...@perl.org You'll probably get a confirmation email with a link that you have to click on to confirm. Daniel. On Tue, Aug 3, 2010 at 10:46 AM, Colin Robertson wrote: > Hello, > > I appear to be signed up to this mailing list in error, how do I remo

Documentation?

2010-08-03 Thread Daniel Carrera
Hello, What is the best documentation resource to learn wxPerl? Everything I can find is hugely out of date, and often poorly written: * The best tutorials are those from Mattia Barbon and Jouke Visser. Together they cover only a small set of features, and they were last updated 6 and 9 years ag

Help with wxID_FILE

2010-08-02 Thread Daniel Carrera
Hello, I am trying to guess my way through wxPerl, since there is not much documentation. It looks like the constants wxID_FILE and wxID_EXIT are not defined, even though they are listed here: http://docs.wxwidgets.org/trunk/page_stockitems.html I there something special I need to do to get thes

Re: AW: Distributing wxPerl applications

2010-08-02 Thread Daniel Carrera
Hi Alexander, Excellent information. Thanks! The comment about ActiveState PerlApp is very important. I don't want to make a program that only work with Active Perl. >From what you say, it seems like the best option might be: (1) Standard .deb or .rpm on Linux, (2) PAR on Mac, and (3) Cava on Wi

Re: AW: Distributing wxPerl applications

2010-08-02 Thread Daniel Carrera
On Mon, Aug 2, 2010 at 8:03 PM, Johan Vromans wrote: > Cava will be multi-platform soon. > > ActiveState PDK ('perlapp') already works nice on all platforms but is a > commercial product. If you have seral apps to ship is may be worth > considering. > > Perl 'PAR' works nice in many cases as well.

Re: Distributing wxPerl applications

2010-08-02 Thread Daniel Carrera
y well. Unfortunately there is no tool like Cava for Linux or > Mac OS (or I don't know it). > > Regards > Daniel > > > ________ > Von: Daniel Carrera > An: Alessandro > CC: wxperl-users@perl.org > Gesendet: Montag, den 2. August 2010, 16:

Re: Distributing wxPerl applications

2010-08-02 Thread Daniel Carrera
On Mon, Aug 2, 2010 at 3:49 PM, Alessandro wrote: > Hello, > isn't http://www.cava.co.uk/ what you're looking for? Possibly. Have you tried it? Does it work well? I am not familiar any of these tools. I'm only beginning to learn about PerlApp, PAR and Cava. I'm sure that there are people here wh

Re: Distributing wxPerl applications

2010-08-02 Thread Daniel Carrera
On Mon, Aug 2, 2010 at 1:24 PM, perltk wrote: > Yes, from my personal use/experimenting.  Theres Perlapp or PAR or make an > '.app" on OSX. The trick is including & using the wx binary libs you pacakge > up.  But it isn't going to be write once , run everywhere. Thanks. It looks like PerlApp is p

Distributing wxPerl applications

2010-08-01 Thread Daniel Carrera
Hello, Is it difficult to package and distribute a wxPerl application? I am thinking, for example, how Windows and Mac OS don't have a package manager with wxPerl, wxWidgets and so on, so you have to package all the dependencies with you. And for Linux the situation isn't much better. Yes Linux di