For Programmers: Free Programming Magazines  


Home > Archive > Tcl > May 2004 > embeding question ?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author embeding question ?
Mel

2004-05-14, 2:32 pm

i need to embed a IE browser inside a tk application and keep track of user
navigations from tcl

i am open to any tools, currently i am using optcl with the following code:

set ::htm [optcl::new -window $w_(fr0).htm Shell.Explorer.2]
pack $w_(fr0).htm -fill both -expand yes
$::htm navigate http://www.tcltk.com

but i have no idea how to get a callback from $::htm object when the url
changes

can you please help me !!!!


Mel

2004-05-19, 11:32 am

optcl::bind $::htm StatusTextChange linkchanged
optcl::bind $::htm BeforeNavigate2 startLoading
optcl::bind $::htm NavigateComplete2 "survey callback moved"

How about that...

"Mel" <mehra.heravi@ssa.gov> wrote in message
news:c82vn3$27f$1@s0b1a68.ssa.gov...
> i need to embed a IE browser inside a tk application and keep track of

user
> navigations from tcl
>
> i am open to any tools, currently i am using optcl with the following

code:
>
> set ::htm [optcl::new -window $w_(fr0).htm Shell.Explorer.2]
> pack $w_(fr0).htm -fill both -expand yes
> $::htm navigate http://www.tcltk.com
>
> but i have no idea how to get a callback from $::htm object when the url
> changes
>
> can you please help me !!!!
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com