On Thu, Apr 30, 2009 at 9:55 AM, lostgallifreyan
<lostgallifre...@gmail.com> wrote:
> Any advice about this one?

Sorry, no. I have only used the wxWindow function SetToolTip("Some string tip")

> First, I tried making a tooltip as specified on the wx.chm page for wxToolTip 
> as follows, and played with that a bit...
>
> function Main()
>  local XX=wx.wxToolTip("xcv")
>  XX:SetTip("Zoodle\nWurdle")
>  print(XX:GetTip())     --prints "Zoodle" and on new line, "Wurdle"
>  print(XX:GetWindow())  --prints 'nil'.
> end
>
> Main()
>
> I'm not sure that there is a way to attach a preconstructed tootltip to a 
> window. I couldn't find one. Setting XX:Enable(true) (or false) and 
> XX:SetDelay(5) failed, with some confusion about what arguments were passed.

I assume that you would call the wxWindow function
SetToolTip(wxToolTip* tip) and that function would attach the tip to
the window so that wxToolTip::GetWindow() would work.

> PS. John, I posted that earlier reply to your reply via Gmane because I was 
> still not getting any emails from the list, Gmane (and similar archives 
> sites) is my only way to see, or respond, to the list, and I think Gmail was 
> the main culprit judging by losses and delays of other stuff. I'm not sure if 
> you saw my response. (It basically said thanks for the for loop to traverse a 
> table of user data objects (very useful test flag I since added to my 
> collection), and ended with a longish query about Windows' apparent delayed 
> clearup of large image loads, with a query about whether wxLua, like Paint 
> Shop, can be set to somehow allow any number of such loads without the image 
> failing to render after just one or two attempts).
>

I don't have a problem with GMail, I was however away from my computer
for the weekend so I couldn't respond.

Regards,
    John

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to