Re: Wx::TreeCtrl tool tips

2016-07-25 Thread Bruce Ravel
On 07/25/2016 01:46 PM, Bruce Ravel wrote: Also an example of how to disable the posting of the tool tip altogether, would be great. Wx::ToolTip::Enable(0) does this globally. But I still don't see how to do so for an individual window, nor do I see how to change the text for the Tre

Wx::TreeCtrl tool tips

2016-07-25 Thread Bruce Ravel
don't work in a way I understand. I would be grateful to be shown a snippet of code that demonstrates how the text of the tool tip is set. Also an example of how to disable the posting of the tool tip altogether, would be great. Thanks! Bruce -- B

Re: Button Color

2016-04-04 Thread Bruce Ravel
James On Sun, Apr 3, 2016 at 7:29 PM, James Lynes mailto:jmlyne...@gmail.com>> wrote: Hello All: Is there any way to change the background and/or foreground color of a Wx::Button? Thanks, James -- Bruce Ravel bra...@bnl.gov

Re: Button Color

2016-04-04 Thread Bruce Ravel
r around each button: https://raw.githubusercontent.com/bruceravel/demeter/master/documentation/_images/athena_mac.png I have never figured out how to fix this on the Mac. (In fairness, I haven't tried very hard.) Cheers, Bruce -- Bruce Ravel bra.

Re: Wx-0.9923 fails to install on OSX with perl 5.20.0

2014-09-11 Thread Bruce Ravel
The maintainer, mojca, in my experience is very knowledgeable and helpful. B -- Bruce Ravel bra...@bnl.gov National Institute of Standards and Technology Synchrotron Science Group at NSLS --- Beamlines U7A, X24A, X23A2 Building 535A Upton NY, 11973 Home

Re: Wx::DirPickerCtrl on linux

2014-04-22 Thread Bruce Ravel
On 04/22/2014 11:46 AM, Steve Cookson - gmail wrote: Hi Bruce, On 18/04/14 19:17, Bruce Ravel wrote: Any advice on how this can be made to work? I tried your code and actually it crashed nicely for me (by nicely, I mean with an error message). Steve, I'm sorry. My example runs wi

Wx::DirPickerCtrl on linux

2014-04-18 Thread Bruce Ravel
rCtrl works as advertised on Windows (which makes this a particularly vexing problem for me!), I am guessing that this is exposing a problem in wxperl's interaction with GTK. Any advice on how this can be made to work? Thank you! Bruce -- Bruce Ravel bra.

wxPerl on the Mac

2014-01-10 Thread Bruce Ravel
ut only 32 bit.) So, a few questions: * What versions of wxWidgets are supported or known to work? * What versions of wxWidgets have people had success using with perl on a Mac? * Beyond the contents of the gist, is there anything else we can do to help troubleshoot? Thanks! Bruce

Re: question about Wx::FileDialog

2012-08-28 Thread Bruce Ravel
achines. Thanks, as always, for your help, Mark. You're a really generous fellow! B On Tuesday, August 28, 2012 09:24:06 PM Mark Dootson wrote: > Hi, > > On 28/08/2012 20:40, Bruce Ravel wrote: > > Suppose that you want to follow a Windows shortcut file that points to &

question about Wx::FileDialog

2012-08-28 Thread Bruce Ravel
wxDefaultPosition); if ($fd->ShowModal == wxID_CANCEL) { print "Data import cancelled\n"; return; }; print $fd->GetPath, $/; }; package main; use Wx qw(:everything); my $app = MyApp->new->MainLoop; -- Bruce Ravel -

Re: Drag and drop problem

2012-05-15 Thread Bruce Ravel
On Tuesday, May 15, 2012 04:05:49 PM Bruce Ravel wrote: > On a computer recently upgraded to Ubuntu 12.04, I am seeing a rather > crippling problem that seems related to drag and drop. The easiest > way that I have found to demonstrate the problem is ... This turned out to have noth

Drag and drop problem

2012-05-15 Thread Bruce Ravel
my own program when I initiate a drag. I am uncertain how to continue diagnosing and solving this problem. My google-fu has not yet been mighty enough to yield a solution. Any hint to point me in the right direction would be *very* welcome. Thanks, Bruce -- Bruce Ravel

Re: EVT_NOTEBOOK_PAGE_CHANGING on Windows

2011-12-01 Thread Bruce Ravel
> my( $self, $event ) = @_; > my( $oldSelection ) = $event->GetOldSelection; > my $notebook = $event->GetEventObject; > my ($nbitem, $flags ) = $notebook->HitTest($notebook->{last_pos}); > if($nbitem != -1) { >

EVT_NOTEBOOK_PAGE_CHANGING on Windows

2011-12-01 Thread Bruce Ravel
ion; printf("old selection = %d, new selection = %d\n", $oldselection, $selection); $event->Veto() if ($selection == 0); return; }); $frame->SetSizer($sizer); $frame -> Show(1); 1; }; package ma

surprising statusbar behavior

2011-08-24 Thread Bruce Ravel
; package main; use Wx qw(:everything); my $app = MyApp->new->MainLoop; -- Bruce Ravel bra...@bnl.gov National Institute of Standards and Technology Synchrotron Methods Group at NSLS --- Beamlines U7A, X24A, X23A2 Building 535A Upton NY, 1197

Re: mouse event question

2011-04-09 Thread Bruce Ravel
StaticText extensively in my work and it is fine on Windows. That is why I was surprised by the behavior of StaticBox. Note that the docs also say that StaticBox inherits from wxEvtHandler. B -- Bruce Ravel bra...@bnl.gov National Institut

Re: StatusBar

2011-04-05 Thread Bruce Ravel
gt; > $frame->{statusbar}->Update; > > > > btw , you can call > > > > $frame->GetStatusBar->Refresh; > > rather than hanging on to a ref to the status bar. > > > > Personally, I always do an explicit 'Refresh' after changing t

StatusBar

2011-04-04 Thread Bruce Ravel
== 2) ? Wx::Colour->new(255, 0, 0) : wxNullColour; $frame->{statusbar} -> SetBackgroundColour($color); }; package main; use Wx qw(:everything); my $app = MyApp->new->MainLoop; -- Bruce Ravel bra...@bnl.gov National Institute

Re: mouse event question

2011-03-23 Thread Bruce Ravel
gt; -1, 'Blah blah'), wxVERTICAL ); > > $boxsizer -> Add($st, 0, wxEXPAND|wxALL, 10); > > $panel->SetSizer($boxsizer); > $sizer -> Add($panel, 1, wxALL|wxEXPAND, 0); > > $frame -> SetSizer($sizer); > $frame -&

mouse event question

2011-03-22 Thread Bruce Ravel
cking on the StaticText happens, but the one of right-clicking on the StaticBox does not. Is there a reason for this? Is there something I can do to make sure that the event gets issued for the StaticBox? Thanks a mmillion, B -- Bruce Ravel bra..

Wx::CheckListBox

2011-03-15 Thread Bruce Ravel
ce code for wxWidgets 2.8.10 seems to have that defined as 1 in the include/wx/msw/ directory. Any suggestions for how to work around or fix this problem with client data on the CheckListBox? Thanks! B -- Bruce Ravel bra...@bnl.gov National Institute of

Labels on ToolBar tools

2009-02-11 Thread Bruce Ravel
uot;fresh and new"); $tb -> Realize; #$tb -> Update; ## what goes here??? print $second->GetLabel, $/; }; package main; use Wx qw(:everything); Wx::InitAllImageHandlers(); my $app = MyApp->new; $app->MainLoop; -- Bruce Ravel bra