wxHtmlWindow - handling clicks on links?
rtg at rochester.rr.com
rtg at rochester.rr.com
Tue Jun 28 11:09:24 UTC 2005
Cees,
This requires a VM callback that I haven't implemented yet. You need to be
able to subclass WxHtmlWindow and define the method #onLinkClicked:
with something like:
onLinkClicked: linkInfo
"do something with linkInfo getHref"
I'll work up a patch for this and the other callbacks in WxHtmlWindow.
.. Rob
---------------------------------
From: Cees De Groot <cdegroot at gmail.com>
Date: June 28, 2005 5:43:39 AM EDT
To: wxsqueak at discuss.squeakfoundation.org
Subject: wxHtmlWindow - handling clicks on links?
Reply-To: Cees De Groot <cdegroot at gmail.com>
Hi,
We display HTML in our interface at various places, and what we'd like
is that anchors, when clicked, are sent off to the OS to be handled
(so http:// will open the user's browser, mailto: the user's mail
program, etcetera).
I can't see how to do this - any hints?
TIA,
Cees
More information about the Wxsqueak
mailing list