1. I need make the functionality of increase and decrease the font size
(equal than ctrl + and ctrl - work),
2. The find function (equal than ctrl f )
I need do this two functions,to a embedded browser im my project with
Gtk-- 1.2.8 and glade 0.6.4
Please help...
tia
mauro
> Hi all, I'm in trouble with the following:
>
> 1. I need make the functionality of increase and decrease the font size
> (equal than ctrl + and ctrl - work),
I'd like to know how to do that one.
> 2. The find function (equal than ctrl f )
>
> I need do this two functions,to a embedded browser im my project with
> Gtk-- 1.2.8 and glade 0.6.4
I do this in webclient. Check out
http://lxr.mozilla.org/mozilla/source/java/webclient/src_moz/CurrentPageActionEvents.cpp#98
--
Remove REMOVE_THIS from email address before replying.
These are my views, and may not be the same as Sun Microsystems Inc.
Ed Burns wrote:
> Mauro <mvel...@gcintl.com> writes:
>
>
>>Hi all, I'm in trouble with the following:
>>
>>1. I need make the functionality of increase and decrease the font size
>>(equal than ctrl + and ctrl - work),
>
>
> I'd like to know how to do that one.
See
http://lxr.mozilla.org/seamonkey/source/xpfe/communicator/resources/content/viewZoomOverlay.js
it has the JS for all this - it looks like all you need to do is call
nsIMarkupDocumentViewer.SetTextZoom()/GetTextZoom()
Thanks friends, this functions maybe resolve the trouble, but can I use
this on mozilla embedded (Christopher Blizzard gtkmozembed.h library) or
need make this implementation by my self???
thanks in advanced
mauro