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
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
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
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.
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
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
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.
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
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
&
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 -
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
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
> my( $self, $event ) = @_;
> my( $oldSelection ) = $event->GetOldSelection;
> my $notebook = $event->GetEventObject;
> my ($nbitem, $flags ) = $notebook->HitTest($notebook->{last_pos});
> if($nbitem != -1) {
>
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
;
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
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
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
== 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
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 -&
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..
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
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
22 matches
Mail list logo