Does anyone have an example of tooltips being used wth a toolbar (not a
notify Icon)?
even an example of a valid tooltips constructor would be great... the
documentation is almost blank on the subject.
Cheers!
Mark
Hiya all,
I'm having trouble getting a multiline text field to display multiple lines
when setting the text with the -text option. If my string contains any of the
following:
\n
\r\n (as indicated in the documentation)
\n\r
I just get black boxes instead of newlines.
Has anyone got this figur
"Piske, Harald" wrote:
> Guys ... it's Christmas :-) This group has always been a tremendous source
> for solutions.
indeed it has!
> I understand there is a solution to the problem that was
> posted. I fail to see the point in going back and forth about what might
> have been a better idea som
ct must be maintained as references outside of the object for them to remain
in scope)
M
Johan Lindstrom wrote:
> At 09:48 2001-12-22 -0600, Mark Wilkinson wrote:
> >The solution, apparently, is that the reference to the Menu object must be
> >passed back to the main script; appar
The solution, apparently, is that the reference to the Menu object must be
passed back to the main script; apparently the menu-ref is NOT encapsulated
inside of the Window object that contains it... which is counter-intuitive, and
unlike any other perl module I have ever seen...
--
Hi group!
I'm stumped. I have a bit of code that I designed on my W2000 machine.
Perfect. But when I moved it to my Win98 machine it didn't work. I have
narrowed it down to the Win32GUI part, and attach the trimmed-down relevant
(simple) sections of code to this message. The script and module
Marcus wrote:
> I have seen something like that when I experimented with using both
> GUIs together. Did you create an executable and try it outside of your
> development environment?
no, but that is the next thing on my list.
> I think what I did was to place the call to Tk in the BEGIN routi
Hi Group,
This is a weird one! I have an app that runs just perfectly on both of my
machines (98/2000). I sent it to my client the other day and when he starts it
up all menu buttons are greyed out and inoperative right from the start... so
he can't do anything.
I have never seen anything like
Hi group!
I know this is only tangentally Win32GUI related, but I suspect it comes up
more often among GUI users than any other Perl group, so here goes:
I want my Win32::GUI (or any Perl app for that matter) to respond more like a
native Windows program, and allow me to drop files from explorer
Hi Faraz,
This list is really not the forum for Tk-related questions. The Win32 GUI list
is for users of the module Win32::GUI (a native Windows GUI, rather than a Tk
GUI). You should look at the newsgroup comp.lang.perl.tk and direct your
questions there.
http://www.faqs.org/faqs/by-newsgroup/
> I need some introductory book or online documentation with the description
> of methods and properties associated with the different objects (Buttons,
> Check boxes etc) with good examples, defined in the Tk package.
O'Reily has two books - Perl/Tk and Perl/Tk pocket reference. Once you have th
> Example of creating a Click event handler that passes a certain object
> ($objControl) for each control to a single sub:
> #Create the event handler
> my $perlEvent = qq{
> {
> my \$obj = \$objControl;#Nice little closure
> sub ::${name}_Click {
Johan Lindstrom wrote:
> > I say this because there appears to be **nothing** passed
> This isn't so.
well... an examination of @_ at the beginning of the event handling subroutines
says it is so... nothing is *passed*
> No, but it's very impractical. I felt the same thing when I started using
>
> I had a look at the AmphetaDesk code that Morbus
> suggested but that doesn't seem to use
> strict in all of its modules, so that doesn't count.
in fact, it explicitly declares them as globals in the use vars statement...
I am trying to *avoid* declaring all of my variables as globals...
M
Hey Peter! Wie geht's? :-)
Hey Morbus!
> I had no problems with "use strict" (you can have a look at my source code
> http://sourceforge.net/projects/auctioneer/)
The real question is this: how do you get your variables into your widget event
control subroutines? e.g. the code below:
use stric
Someone please... save me before I choke! Please say it isn't so!!
Tonight I really started to build a serious heavy-duty Win32::GUI
application, and I immediately hit a wall:
Is it really not possible to (usefully) program in Win32::GUI while under
"use strict"?!? I say this because there appea
Before I spend a lot of time banging my head... Does Win32GUI support
Drag-n-drop?
any examples?
Cheers!
M
Johan Lindstrom wrote:
> It sounds like a... dubious idea to me :)
yeah, it did to me too :-) I haven't had a chance to test the solution that was
posted here. I'll post my experiences to the group when I have played with it a
bit.
> But try this: in the main event loop in Tk (if there is one)
ActiveState has a package (not free though) in their Perl development
kit called PerlApp (also PerlCtrl for making custom controls, and
PerlSrvc for making services). I use it all the time and I *love* it!
It is well worth the money IMHO. I tried Perl2Exe a few times but had
some problems... pos
> I placed the Tk code in a package without calling MainLoop. Then called
> the Tk widget from the Win32::GUI script:
that is awesome!! I have some way-cool Tk widgets that I didn't want to
have to re-write from scratch to maek them work in the Win32 world... now I
dont' have to :-)
Cheers!
M
Hi group,
I have never tried, but I am pondering the possibilities of having Win32GUI and
PerlTK run simultaneously. The problem, of course, is in the event looping -
both need to have their event loops executed, and yet the call to execute the
event loop is "blocking" as far as I can tell. Has
> If you would like to write a section for the HOW-TO for menus, that would be
> great!
It seems to me that it is more sensible to put documentation where it belongs -
in
the documentation - rather than dispersing the fundamental knowledge around
various tutorials. The existing HTML documentatio
Ami Bar-Yadin wrote:
> I think 10 people having their hand in the oven is enough for a project this
> size, but that's just my opinion.
well... the evidence suggests otherwise. If that were the case, then the
documentation would already be up-to-date. However, since I have been on this
list I
this is wonderful!
Y'know... given that Win32::GUI is on Source-forge, these kinds of bug-fixes
and upgrades really should be committed directly into the distributed code,
rather than (or as well as) sent out to the group. I see a lot of interesting
ideas and bits and pieces of documentation etc.
I can't find anywhere in the documentation that describes how to create/use
Menu's... it just says "TBA" everywhere.
How are you finding this information?? Please send me the URL. I checked
all of the URL's from the "Documentation" thread and they didn't help. I
have also read the source code,
25 matches
Mail list logo