Problem with splash screen

2008-01-30 Thread Johan Vromans
Hi, When running the demo program splash.pl (included in Wx-Demo) I norice the following behaviour: - the window of the splash image is placed on the screen, but stays empty - the program does a sleep for 5 seconds - simultaneously, the CONTENT of the splash window appears AND the

Problem building Wx 0.81: LogChain::Flush

2008-01-31 Thread Johan Vromans
Hi, When building Wx 0.81, make completes normally (albeit with lots of warnings). make test fails with: # Error: Can't load '/home/jv/.cpan/build/Wx-0.81/blib/arch/auto/Wx/Wx.so' for module Wx: /home/jv/.cpan/build/Wx-0.81/blib/arch/auto/Wx/Wx.so: undefined symbol:

Re: Problem building Wx 0.81: LogChain::Flush

2008-01-31 Thread Johan Vromans
Johan Vromans [EMAIL PROTECTED] writes: What am I doing wrong? Multiple incompatible versions installed, of course ... -- Johan

What's wrong with Wx::Media?

2008-02-03 Thread Johan Vromans
Hi, When building perl-Wx on Fedora 8 everything seems to work fine. However, when I try use Wx ':allclasses'; I get an error that it cannot find Wx::Media. Inspecting the build process, 'perl Makefile.PL' generates a cpp/setup.h, which contains #define wxPERL_USE_MEDIA 1 However, the

Re: Stupid question on shotcut keys

2008-03-27 Thread Johan Vromans
[Quoting bungsuputra linan, on March 27 2008, 08:44, in Re: Stupid question ] Perhaps you could try using ord('Z'), Good suggestion. However, it still doesn't work. -- Johan

Re: How to start with wxperl and wxwidgets?

2008-04-12 Thread Johan Vromans
Waldemar Biernacki [EMAIL PROTECTED] writes: I cannot find examples of working wxperl scripts. There is nothing better than good example! Please checkout Wx::Demo on CPAN http://search.cpan.org/author/MBARBON/Wx-Demo-0.09/lib/Wx/Demo.pm Also, checkout wxGlade as it will allow you to design

Re: menu shortcuts don't work on Windows?

2008-07-16 Thread Johan Vromans
Gabor Szabo [EMAIL PROTECTED] writes: I have code like this: my $bar = Wx::MenuBar-new; my $file = Wx::Menu-new; EVT_MENU( $self, $file-Append( wxID_OPEN, Open ), \on_open ); You can leave out Open (make it an empty string) and Wx will choose the right icon, text and

Re: EVT_KEY_UP on linux and on windows

2008-07-17 Thread Johan Vromans
Gabor Szabo [EMAIL PROTECTED] writes: EVT_KEY_UP( $self, \on_key ); On Linux it works on Windows it does not. What am I doing wrong ? My guess is that on Windows the window associated with $self is not eligible to receive key events. Did you try running Wx::Demo? It has some demo code to

Re: CRITICAL **: clearlooks_style_draw_box_gap: assertion `height = -1

2008-07-31 Thread Johan Vromans
Gabor Szabo [EMAIL PROTECTED] writes: ** (02-wx.t:3685): CRITICAL **: clearlooks_style_draw_box_gap: assertion `height Many GTK based apps issue warnings like this. AFAIK, it comes from code that is not strict enough. Unfortunately it is not due to something we did wrong, it's all deep in the

Re: Wx::Locale

2008-08-21 Thread Johan Vromans
Octavian Rasnita [EMAIL PROTECTED] writes: Hi, I've seen that WxPerl uses gettext as the base for Wx::Locale, just like Catalyst framework uses gettext in Catalyst::Plugin::I18N. In Catalyst I can do: t(The name of the city is [_1], $city); or t(The cities are [_1], [_2] and [_3],

Re: Kephra 0.4 release

2008-11-30 Thread Johan Vromans
herbert breunung [EMAIL PROTECTED] writes: I'm very pleased to announce Kephra 0.4 No need for repetition, everything is already said under Thanks. I'll wait for the non-Windows version... -- Johan

Re: Locale Issue

2009-01-13 Thread Johan Vromans
breno oainikus...@gmail.com writes: ./locale_poc.pl 01:29:59: Error: Cannot set locale to 'pt_BR'. 01:29:59: Error: Cannot set locale to 'zh_CN'. I do not get any problems. Do you have the data for these locales installed? -- Johan

Re: font error

2009-02-28 Thread Johan Vromans
ademmler n...@ademmler.com writes: I am trying to place static text with a custom Font (Arial Bold Size 36pt). I use an XRC file for building the GUI. When I load the perl script I get an error. No problems here. Fedora 8, Wx Version: 0.74 wxWidgets 2.8.3. -- Johan

wxKeyring doesn't run on Mac OSX -- why?

2009-03-02 Thread Johan Vromans
Hi, Someone informed me that my wxperl application wxKeyring misbehaves on Mac OSX. According to the report, the app does not show a title and menu bar and doesn't get focus. Could anyone with some Mac OSX knowledge and a couple of minutes spare time please take a look?

wxPerl for Nokia 770

2009-06-22 Thread Johan Vromans
The subject says it all. Does there exists a wxPerl for the Nokia 770 webtablet? -- Johan

Fedora 11 breaks Wx 0.91

2009-07-05 Thread Johan Vromans
[Forwarded from #wxperl] Fedora 11 has moved Wx-0.91 to stable, but apparently without first doing any tests. Now it's just broken. Perhaps someone knowledgeable from here can take a look at the issue Fedora's maintainer has reported? Bug @ https://rt.cpan.org/Public/Bug/Display.html?id=47488

Re: Fedora 11 breaks Wx 0.91

2009-07-05 Thread Johan Vromans
Mattia Barbon mattia.bar...@libero.it writes: Maybe the Perl RPM was built with -DPERL_USE_SAFE_PUTENV but the flag was not passed to wxPerl? Exactly. I think it ia an issue with the way the RPM was built and not with wxPerl. Maybe. But manually keeping build options in sync is asking for

Re: Documentation?

2009-07-30 Thread Johan Vromans
Roode, Eric ero...@barrack.com writes: Thank you very much for your advice, Johan. That will help me get started on attacking the problem. But can you clarify what you mean by API docs reflect wxPerl current status in your point (b)? The standard Wx API documentation contains several notes

Re: Documentation?

2009-07-30 Thread Johan Vromans
Roode, Eric ero...@barrack.com writes: Yes, why is it considered normal to write a GUI app in python, but people look at you weird when you suggest doing a GUI app in Perl? I have no idea. I write GUI apps in Perl all the time ;) Did you have a look at wxGlade? -- Johan

Re: wxGlade Generated Code

2009-08-14 Thread Johan Vromans
Steve Cookson steve.cook...@sca-uk.com writes: However on the Glade code, while I wrote my whole prototype In Glade, and I wouldn't have progressed as fast as I have without it, I don't like its programmatic structure. [...] This makes the code much more maintainable. I think there's a

Re: wxGlade Generated Code

2009-08-16 Thread Johan Vromans
Steve Cookson steve.cook...@sca-uk.com writes: I have looked at them, but I didn't totally understand how they work. I'm using them for integer entry and time entry, but field lookup, I'm not clear what I should do. Do you think I can use the validators for lookup? The validator's Validate

Re: Perl Validators

2009-08-16 Thread Johan Vromans
Hi Steve, [Quoting Steve Cookson, on August 16 2009, 09:25, in Perl Validators] I have used the default one for simple one character validation for numeric and for time input ('\d|\:'): [...] But I don't think I can extend this to whole strings like a time string

Re: Any way of returning the actual individual control name

2009-08-17 Thread Johan Vromans
James McDonald ja...@jamesmcdonald.id.au writes: $self-{button_1} = Wx::Button-new($self, $KEY1, 1); OK I have figured out how to: get hold of the button object using $event-GetEventObject() define a constant and return it using $event-GetEventObject()-GetId Is there any way

Re: Any way of returning the actual individual control name

2009-08-18 Thread Johan Vromans
James McDonald ja...@jamesmcdonald.id.au writes: My ownly reason now is: Just like Mount Everest - Because it's there. I assume you write programs in Intercal and Brainfuck as well :) No real reason now I know how to identify my controls through GetId and GetLabel. GetID is preferred since

Re: Events, again.

2009-08-19 Thread Johan Vromans
Steve Cookson steve.cook...@sca-uk.com writes: http://wxperl.pvoice.org/w/index.php/Event_Handlers Good job, Steve! A couple of remarks. For a 2-arg event handler, you can pass the full $self object with a wrapper: Wx::Event::EVT_KILL_FOCUS($self-{field_1}, sub { event_handler_sub(

Re: Data dictionaries.

2009-08-23 Thread Johan Vromans
Steve Cookson steve.cook...@sca-uk.com writes: What do you think? What do you want to achieve? -- Johan

Re: WxWizard questions

2009-10-26 Thread Johan Vromans
Erez David int...@gmail.com writes: My question was more regarding the Wx::ProgressDialog isn't there a way to make it a part of the Wizard pages and not a pop-up window? wxGauge? -- Johan

Re: Stealing events

2009-11-08 Thread Johan Vromans
Mattia Barbon mattia.bar...@libero.it writes: ... while events that derive from Wx::Event (like mouse move, button down, button up, double click, keyboard events, ...) can only be handled by the window that produces them; Okay, I'll try an alternative approach. Thanks, -- Johan

Re: Column widths in GridBagSizer

2009-11-20 Thread Johan Vromans
[Quoting Mattia Barbon, on November 20 2009, 21:19, in Re: Column widths in] For example, in http:/www.squirrel.nl/pub/xfer/nov2009.png I would like to have all columns of equal width. Have you already looked at the methods inherited from FilexGridSizer? From the description,

Re: Column widths in GridBagSizer

2009-11-21 Thread Johan Vromans
Mattia Barbon mattia.bar...@libero.it writes: Have you already looked at the methods inherited from FilexGridSizer? From the description, SetFlexibleDirection and SetNonFlexibleGrowMode should do what you need (but I haven't tried them). Seems that setting the proportion argument to

Line height

2009-12-13 Thread Johan Vromans
Hi, I have a Wx::TextCtrl that contains a series of words. Its contents are wrapped if too long. I want it to always show two lines of text, and a scrollbar if there's more than two lines to show. Piece of cake? Yes, except that I cannot find the right value for the height of the TextCtrl. I

Re: Wx::ConfigBase

2009-12-23 Thread Johan Vromans
Mark Dootson mark.doot...@znix.com writes: I do this all the time as I don't want to use registry on windows. Works fine on 'nix too. Nice. Thanks. -- Johan

Re: ButtonPress generates Scroll Event?

2009-12-30 Thread Johan Vromans
Mattia Barbon mattia.bar...@libero.it writes: Maybe the bug has been introduced between 2.8.7 and 2.8.10, or it doesn't trigger on Linux. AFAIR all the patches are build-related. I can reproduce it using the example program on Fedora 10, wxGTK 2.8.10, perl-Wx 0.89. Same on Fedora 11,

Re: wx::MessageBox hang

2009-12-31 Thread Johan Vromans
Daniell Freed winter...@gmail.com writes: I have a window that is marked with the wxSTAY_ON_TOP. As soon as that window is displayed, wxMessageBox stops working. If I remove the wxSTAY_ON_TOP flag, then the wxMessageBox calls function correctly again. Interesting. Sounds like two windows

Wx::XmlDocument

2010-02-15 Thread Johan Vromans
Hi, Is Wx::XmlDocument usable? I cannot get it going... -- Johan

Re: Strange appearance (MS Windows)

2010-02-23 Thread Johan Vromans
[Quoting Mark Dootson, on February 23 2010, 14:37, in Re: Strange appearan] I don't recall if I read it in an instruction somewhere or not, but I have always regarded drawing controls directly onto a Wx::Frame as not working. I always just assumed that you need a container class (Wx::Panel

Re: Strange appearance (MS Windows)

2010-02-23 Thread Johan Vromans
jvrom...@squirrel.nl (Johan Vromans) writes: Frame - Sizer - Panel - Sizer - Controls looks better, Except that most of my controls no longer get their clicks... (Windows only, works perfectly on Linux.) Any suggestions? -- Johan

Re: Strange appearance (MS Windows)

2010-02-23 Thread Johan Vromans
[Quoting Mark Dootson, on February 23 2010, 15:52, in Re: Strange appearan] Something else going on. Crude change to x.pl attached - clicking on 'Hi' text gets a mouse event? Yes. BTW: The problem with the controls is a different application (as you may expect). Frame Controls (that

Re: Strange appearance (MS Windows)

2010-02-23 Thread Johan Vromans
[Quoting Mark Dootson, on February 23 2010, 16:13, in Re: Strange appearan] I would guess wxTAB_TRAVERSAL as a panel style is the answer? Nah, that would be much too easy... Panel 0 Controls (that work) Panel 1 TextCtrl Panel 2

Re: warning when no DISPLAY

2010-04-03 Thread Johan Vromans
Mattia Barbon mattia.bar...@libero.it writes: On the one hand it would be nice if use Wx wouldn't require a display. On the other hand, creating a Wx::App will always require a display, and I'm not sure which wxWidgets classes can be used without a Wx::App instance. I'm reasonably successful

Problem with wxHTML rendering on Ubuntu LTS 10.4

2010-05-04 Thread Johan Vromans
Hi, On Ubuntu LTS 10.4 I experience problems with wxHTML rendering. perl-Wx version 0.96 (as distributed) Wx version 2.8.1 (as distributed) Using Wx::Demo 0.11, the Windows wxHtmlWindow Simple demo shows a window with HTML tags unprocessed: html head titleA simple HTML document/title

Re: Problem with wxHTML rendering on Ubuntu LTS 10.4

2010-05-04 Thread Johan Vromans
Mark Dootson mark.doot...@znix.com writes: use Wx; if(($Wx::VERSION =~ /^(0\.95|0\.96)$/) (not exists($ENV{PAR_0}))) { *Wx::load_dll = sub { return if $^O =~ /^darwin/i; goto $Wx::load_fun; }; } Thanks for the speedy answer. Unfortunately, it generates some errors:

Re: Problem with wxHTML rendering on Ubuntu LTS 10.4

2010-05-04 Thread Johan Vromans
[Quoting Mark Dootson, on May 4 2010, 15:11, in Re: Problem with wxH] Perhaps the following will work by just calling Wx::_load_dll directly. use Wx; if(($Wx::VERSION =~ /^(0\.95|0\.96)$/) (not exists($ENV{PAR_0}))) { no warnings; *Wx::load_dll = sub { use warnings;

Re: WxPerl best practices

2010-07-14 Thread Johan Vromans
herbert breunung deirdre_s...@web.de writes: for beginners its oftern easier to create the GUI by vlick and point and use wxformbuilder, create XRC and load that later by the program to get a gui. its also a nice abstraction layer customers can play with. Why not use wxGlade and generate

wxGlade (Was: WxPerl best practices)

2010-07-15 Thread Johan Vromans
herbert breunung deirdre_s...@web.de writes: Am 14.07.2010 22:01, schrieb Johan Vromans: Why not use wxGlade and generate wxPerl directly? because that code isn't perfect and you have to touch it anyway. TIMTOWTDI You can have wxGlade generate the code and then modify it manually. If you

Re: WxPerl best practices

2010-07-15 Thread Johan Vromans
herbert breunung deirdre_s...@web.de writes: i think another on is to use Wx::Event::EVT_BUTTON Yes, it is very clarifying to use explicit package names, Wx::wxSTAY_ON_TOP advantages: no fuzz with importing or not importing - portable code I must object. What you call 'no fuzz with

Re: WxPerl best practices

2010-07-16 Thread Johan Vromans
herbert breunung deirdre_s...@web.de writes: Am 15.07.2010 11:15, schrieb Johan Vromans: Calling subroutines with is explictly advised against, and with reason. which reason? You already hint at parameters... Calling a subroutine with bypasses context coercion and also passes

Re: WxPerl best practices

2010-07-17 Thread Johan Vromans
herbert breunung deirdre_s...@web.de writes: Am 16.07.2010 22:33, schrieb Johan Vromans: You pass the caller's @_ to the subroutine so it possibly *does* get arguments. i was aware of that. i mean that the sub doesnt fetch any arguments, and because that you get no effects. The point

Re: AW: Distributing wxPerl applications

2010-08-02 Thread Johan Vromans
Daniel Carrera dcarr...@gmail.com writes: Does Cava work better than PAR? How would you compare them? What's the ETA for Cava to be cross-platform? I don't have any urgency. I am not a commercial developer with a deadline. Then I suggest you repeat this question in a couple of weeks when (I

Re: Unicode problems - euro characters not displaying in widgets ???

2010-08-05 Thread Johan Vromans
perltk per...@maine.rr.com writes: I have an app that is reading from a database. What database? How does the app read fom the db? I use wxPerl witl DBI with PostgreSQL and SQLite backends. To have the database return real UTF-8 encoded stings, for PostgreSQL I need to do: $dbh-do(SET

Re: Documentation?

2010-08-05 Thread Johan Vromans
Daniel Carrera dcarr...@gmail.com writes: 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 kicking, under full development

Re: Documentation?

2010-08-05 Thread Johan Vromans
Daniel Carrera dcarr...@gmail.com writes: 1) Explain that you are supposed to read the C++ docs = DONE. Website does this already. 2) Give some guidance to how to do that = TODO. This is missing. 3) Give a short guide to get you started = INCOMPLETE. Mattia's tutorial is exactly what we

Re: List of wxPerl applications

2010-08-07 Thread Johan Vromans
Daniel Carrera dcarr...@gmail.com writes: I don't think that this will make the slightest difference. I appreciate your encouragement. 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

Re: List of wxPerl applications

2010-08-07 Thread Johan Vromans
Daniel Carrera dcarr...@gmail.com writes: If you are trying to promote wxPerl, then, by definition, you are looking for users who are not currently well informed. Your target audience is not existing users who already found your wiki. Promoting wxPerl means targeting users who have not

Re: List of wxPerl applications

2010-08-07 Thread Johan Vromans
perltk per...@maine.rr.com writes: I have thought a bit about this and.heres my proposal: -- What would be very useful and very little effort would be to allow users to post example code with - and this is VERY important - a direct

WxPerl on AIX and HP-UX?

2010-08-18 Thread Johan Vromans
A relation of mine wants to run some WxPerl apps, but his platforms are HP-UX and AIX. Does anyone know the status of WxPerl on these platforms? -- Johan

Re: WxPerl and Moose

2010-09-13 Thread Johan Vromans
Octavian Rasnita orasn...@gmail.com writes: package WxTrial; use Moose; use Wx; extends 'Wx::SimpleApp'; I assume this means that WxTrial is a derived class from Wx::SimpleApp. Wx::SimpleApp is derived (straightforward) from Wx::App. You do not supply a new method, so the new method that

Wx;:Event::GetTimestamp

2010-10-05 Thread Johan Vromans
It seems that Wx;:Event::GetTimestamp always returns zero. Isn't it supposed to return some value? -- Johan

Re: Passing object to constructor

2010-10-23 Thread Johan Vromans
Laslo Forro getfo...@gmail.com writes: my $app=myApp-new($obj) So you pass an object arg to your derived class. sub new { my ($ref,$obj)=...@_; This is the constructor os your derived class. my $self=$ref-SUPER::new($obj); Here you pass the object to the super class constructor.

Re: Passing object to constructor

2010-10-24 Thread Johan Vromans
Laslo Forro getfo...@gmail.com writes: http://pastebin.com/RDYzgwhs As I see it your problem is that OnInit initialises the frame, and you cannot pass a parameter to OnInit. The solution is easy: don't use OnInit... sub new { my $ref=shift; my $obj=shift; my

Re: Can't subclass Wx::Frame using parent.pm?

2010-11-13 Thread Johan Vromans
Octavian Rasnita orasn...@gmail.com writes: use parent 'Wx::Frame'; It gives the following error: Can't locate Wx/Frame.pm in @INC (@INC contains: E:/usr/site/lib E:/usr/lib .) at E:/usr/lib/parent.pm line 20. BEGIN failed--compilation aborted at E:\work\lib\Package\Name.pm line 7. ...

Re: WxWiki.

2010-11-23 Thread Johan Vromans
Eric J. Roode wxperl.d...@gmail.com writes: - Move the wiki to another site, and make at least two or three people administrators. I'm trying to arrange a site. Do we have volunteerd for administrator? -- Johan

Re: WxWiki.

2010-11-24 Thread Johan Vromans
Johan Vromans jvrom...@squirrel.nl writes: Eric J. Roode wxperl.d...@gmail.com writes: - Move the wiki to another site, and make at least two or three people administrators. I'm trying to arrange a site. Do we have volunteerd for administrator? It seems we have a site already... It's

Re: wxPerl crash on Ubuntu 10.10

2010-11-24 Thread Johan Vromans
Zeno Gantner zeno.gant...@gmail.com writes: Known issue. https://bugs.launchpad.net/ubuntu/+source/libwx-perl/+bug/516157 https://bugs.launchpad.net/ubuntu/+source/padre/+bug/485012 https://bugs.launchpad.net/ubuntu/+source/padre/+bug/663611 So this has been known since februari 2010 and

Re: wxPerl crash on Ubuntu 10.10

2010-11-26 Thread Johan Vromans
Johan Vromans jvrom...@squirrel.nl writes: Zeno Gantner zeno.gant...@gmail.com writes: Known issue. https://bugs.launchpad.net/ubuntu/+source/libwx-perl/+bug/516157 https://bugs.launchpad.net/ubuntu/+source/padre/+bug/485012 https://bugs.launchpad.net/ubuntu/+source/padre/+bug/663611 So

Re: Distributing wxPerl applications

2010-12-21 Thread Johan Vromans
Huub Peters i...@huubpeters.com writes: That kinda takes my enthusiasm down a notch although I fully understand why you would be charging for support. Yes, I can understand as well. But my wxPerl applications are free so it feels awkward (and certainly not motivating) that I'd have to pay a

Re: Distributing wxPerl applications

2010-12-22 Thread Johan Vromans
Mark Dootson mark.doot...@znix.com writes: A non-commercial usage option is now available for individuals distributing non-commercial apps (required download version 2.0.16). Free as in beer. Mark, you're breaking my heart. Your work for the wxPerl community is invaluable and I very much

MouseDown

2011-02-08 Thread Johan Vromans
Hi, I have an application that displays a panel, and the panel contains a widget (bitmap). It's a touchscreen application, so the whole panel is sensitive to being clicked (touched). Apparently command events are not propagated from a widget to its parent, so I force propagation explicitly. This

Re: MouseDown

2011-02-08 Thread Johan Vromans
mattia.bar...@libero.it mattia.bar...@libero.it writes: Wx::StaticBitmap and Wx::StaticText are not meant to be active; actually, I'm surprised that on Windows you get the mouse up events; When playing with Mark's suggestions I noticed that StaticText and StaticBitmap get both the mouse up

Re: MouseDown

2011-02-08 Thread Johan Vromans
[Quoting Mark Dootson, on February 8 2011, 13:37, in Re: MouseDown] does changing the event subroutines to $_[0]-SetBackgroundColour(...); $_[0]-Refresh; $_[0]-Update; fix things? YES! In fact, the Refresh is sufficient. Thanks a lot! -- Johan

Packaging

2011-02-14 Thread Johan Vromans
Currently, I know of three packagers that can handle wxPerl applications: Cava, PAR and PerlApp. Each have pros and cons. I have some biggish applications that share a collection of modules. In fact, each application only differs in the Main module. The applications call each other when

Re: Packaging

2011-02-15 Thread Johan Vromans
Mark Dootson mark.doot...@znix.com writes: It just means you don't have to keep coding .. If (somepackager::is_packed) { do this; } else { do that; } With PerlApp and PAR, I can write: # If we're a PerlApp, try if it's a bound file. if ( $PerlApp::VERSION ) { my $found

Re: Packaging

2011-02-15 Thread Johan Vromans
Mark Dootson mark.doot...@znix.com writes: So, if you have no 'use' statement if ( $Cava::Packager::VERSION ) { my $found = Cava::Packager::GetResource( $file ); return $found if -f $found; } I must be doing something wrong, then... My main script, when executed, claims

Acelerators for Wx::HtmlHelp

2011-03-04 Thread Johan Vromans
I have a help browser using wxHtml: my $h = Wx::HtmlHelpController-new( wxHF_FLATTOOLBAR|wxHF_DEFAULTSTYLE ); $h-AddBook( $htb_file, 1 ); $h-DisplayContents; I want the help window to be closable with Ctrl-W and Esc. $h-SetAcceleratorTable (Wx::AcceleratorTable-new

Re: Acelerators for Wx::HtmlHelp

2011-03-05 Thread Johan Vromans
Mark Dootson mark.doot...@znix.com writes: my $h = Wx::HtmlHelpController-new( wxHF_FLATTOOLBAR|wxHF_DEFAULTSTYLE ); $h-AddBook( $htb_file, 1 ); $h-DisplayContents; if(my $hframe = Wx::Window::FindWindowByName('wxHtmlHelp')) { $hframe is now an instance of Wx::HtmlHelpFrame.

Re: Acelerators for Wx::HtmlHelp

2011-03-05 Thread Johan Vromans
[Quoting Mark Dootson, on March 5 2011, 15:34, in Re: Acelerators for ] I forgot the following to setup inheritance (appears elsewhere in my code) package Wx::HtmlHelpFrame; @ISA = qw( Wx::Frame ); That get's rid of the error. But it still doesn't work. I seem to recall something about

no sense in registering a non-reference

2011-03-08 Thread Johan Vromans
Calling Wx::Locale::FindLanguageInfo with a unknown language name gives PANIC: no sense in registering a non-reference instead of an undef result. This is Wx 0.92 on Fedora 14. $ perl -wle 'use Wx; warn Wx::Locale::FindLanguageInfo(nl_NL)' Wx::LanguageInfo=SCALAR(0x900ca00) at -e line 1 $ perl

Re: Wx::AcceleratorTable doesn't work

2011-03-17 Thread Johan Vromans
Octavian Rasnita orasn...@gmail.com writes: Hi, I have tried to define an accelerator for a button, then I've seen that the accelerator for menu items work on more platforms so I've tried to define an accelerator for a menu item, but it still doesn't work. I've defined the menu item:

Re: Wx::AcceleratorTable doesn't work

2011-03-17 Thread Johan Vromans
Octavian Rasnita orasn...@gmail.com writes: Please tell me how to get the ID of the command that should execute a certain function. I've seen only examples when Escape is used for closing a window, but I need it for executing a certain function. Something like this: use constant

Standard dialog

2011-03-21 Thread Johan Vromans
I must be overlooking something... Is this a standard dialog? http://www.squirrel.nl/pub/xfer/dialog.png -- Johan

Re: mouse event question

2011-03-23 Thread Johan Vromans
Mark Dootson mark.doot...@znix.com writes: If you want to catch events from a 'Container', the simplest case is to use a Wx::Panel. Funny, this is much like the problem I ran into lately. In the example program, when you comment out # EVT_RIGHT_DOWN($st, sub{print I clicked the

Re: Address

2011-06-14 Thread Johan Vromans
Steve Cookson steve.cook...@sca-uk.com writes: The real issue with this information is how other bulletin boards replicate it, so even if I took it off wxperl-users, it would still be on nabble, marks-mail (what's that?), mail-archive.com and half a dozen others. I did a search just to see

Re: The Perl password safe Challenge

2011-07-10 Thread Johan Vromans
Gabor Szabo szab...@gmail.com writes: - I could not find it with the CPAN client which is unfortunate IMHO. What searches did you try? - If I click on Categories/All it crashes with this message: Can't call method Check on an undefined value at /home/gabor/perl5/bin/wxkeyring line 441. You

Re: The Perl password safe Challenge

2011-07-10 Thread Johan Vromans
[Quoting Gabor Szabo, on July 10 2011, 11:39, in Re: The Perl passwor] Sorry, I should have been more specific. In the cpan client I typed: i /wxkeyring/ The point is that i'd prefer to install it using CPAN.pm What should I type to do that? I have no idea why wxKeyring doesn't show

Escaping in widget titles

2011-07-31 Thread Johan Vromans
Given: my $title = Foo Bar; my $widget = Wx::StaticText-new($pn, -1, $title, wxDefaultPosition, wxDefaultSize, wxALIGN_CENTER, ); Apparently, an has a special meaning when used as $title in a

Re: wxPerl on Honeycomb?

2011-07-31 Thread Johan Vromans
Johan Vromans jvrom...@squirrel.nl writes: The subject says it all. Can I run wxPerl on Honeycomb? Does really noone see the importance of this? -- Johan

Re: wxPerl on Honeycomb?

2011-08-01 Thread Johan Vromans
Steve Cookson steve.cook...@sca-uk.com writes: So, I think the answer is no, but it's moving slowly in the right direction. Thanks for the clear answer. I'll have to advice to buy Windows tablets which is quite opposite to what I'd want :( . -- Johan

Re: wxPerl on Honeycomb?

2011-08-11 Thread Johan Vromans
Steve Cookson steve.cook...@sca-uk.com writes: Actually, I forgot to say. There is an Ubuntu Tablet too if you shop around. Thanks for the info! -- Johan

Re: wxPerl on Honeycomb?

2011-08-13 Thread Johan Vromans
Johan Vromans jvrom...@squirrel.nl writes: Steve Cookson steve.cook...@sca-uk.com writes: Actually, I forgot to say. There is an Ubuntu Tablet too if you shop around. After having studied the info... It seems that the Linux tablets are still not sufficiently mature. Especially the power

wxPerl on iPad (Was: Has the list moved?)

2011-08-16 Thread Johan Vromans
Cosimo Streppone cos...@streppone.it writes: BTW, I found the tablet discussion very interesting :) Let's continue, then. It seems that wxPerl on Honeycomb is still a rather far future. Linux on tablets is still immature. I can't currently comment on Windows tablets. How about iPad? Is it

Re: wxPerl on iPad

2011-08-17 Thread Johan Vromans
John Ralls jra...@ceridwen.us writes: Anyway, that's kind of irrelevant for Johan's question, because interpreted languages aren't allowed on iOS, except for Javascript in WebApps. All installable apps must be written in C, C++, or Objective-C. I might argue that when I pack my wxPerl app

Re: wxPerl on iPad

2011-08-17 Thread Johan Vromans
Jan Dubois j...@activestate.com writes: That is no longer true (I think it was changed around September 2010 or so). You can use whatever you want, as long as *all* code is included in your application; you are just not allowed to download additional code from the net at runtime. This would,

Re: wxPerl on iPad

2011-08-18 Thread Johan Vromans
[Quoting Jan Dubois, on August 17 2011, 13:51, in RE: wxPerl on iPad] And of course there are countless other policies that you all have to adhere to if you want to publish you app on Apple's store. My primary (and, for the time being, only) goal is to run some wxPerl applications I developed

wxPerl on Ångström Linux

2011-10-20 Thread Johan Vromans
Any experiences anyone? Background is that Ångström Linux can run on the Archos 101 tablet, which would make it possible to run wxPerl applications on a real tablet. -- Johan

Re: wxPerl on Ångström Linux

2011-10-20 Thread Johan Vromans
Steve Cookson steve.cook...@sca-uk.com writes: I still don't have a tablet. ... Is this distro proving popular? How would it deal with touchscreen gestures like momentum scroll etc? I has been brought under my attention that the Archos 101 tablet comes with Andoid 2.2, but is also capable

Re: Wx, inheritance and the demo print module.

2012-03-30 Thread Johan Vromans
Steve Cookson steve.cook...@sca-uk.com writes: Hi Guys, I realise I probably don't understand enough about inheritance, because I don't understand the difference between: * use Wx; This 'use's Wx, importing default semantics. * use Wx 0.15 qw[:allclasses]; This 'use's Wx,

Windows 8

2012-08-18 Thread Johan Vromans
Hi, Does anybody know if wxPerl, preferrably CitrusPerl. can/will run on Windows-8 and Windows-8R? -- Johan

Displaying images

2012-08-18 Thread Johan Vromans
Hi, Usually I use Wx::StaticBitmap to display images, but now I decided to give the 'official' way a try. So I have something similar to: sub draw { ... my $img = Wx::Image-new( ... ); ... some image manipulations ... my $bm = Wx::Bitmap-new( $img ); my $dc =

Re: Displaying images

2012-08-18 Thread Johan Vromans
Mark Dootson mark.doot...@znix.com writes: Within an EVT_PAINT handler you should always use Wx::PaintDC. Wx::ClientDC is only for drawing outside the PAINT event handler. Yes, I found this very confusing since I use the same routine to draw from outside and within. It also probably makes

Re: Windows 8

2012-08-18 Thread Johan Vromans
Mark Dootson mark.doot...@znix.com writes: I have not tested out Windows 8 personally, but I have not seen any issues reported with Perl and wxWidgets separately so would not anticipate and problems with a binary Perl distribution. That sounds promising, but AFAIK there's no wxPerl /

  1   2   3   >