[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: KWord keyboard accessibility enhancements
From:       David Faure <faure () kde ! org>
Date:       2005-10-23 15:24:42
Message-ID: 200510231724.43829.faure () kde ! org
[Download RAW message or body]

On Saturday 22 October 2005 00:52, Thomas Zander wrote:> On Friday 21 October 2005 23:56, Gary \
Cramblitt wrote:> > Since you sound like you are familiar with the code...  I've been> > trying \
to figure out a way to select the frame border with the> > keyboard.  In some places I see code \
like this> >> >    frameSet->frame(0)->setSelected(true)> >> > but I assume this selects the \
*first* frame of a frameset; not> > necessarily the frame that the caret is in.  Is there a way \
to know> > which frame the caret is in?> > KWFrameSetEdit is your friend :)  it has a \
currentFrame() method.> > > Also, as long as I'm fishing for code hints... I'm also trying to \
get> > the screen position (in pixels), of the text caret.  It looks like I> > need to get the \
KoTextCursor object and use its x() and y() properties, Not directly; x and y are in a \
different coordinate system.You want to use  KWTextFrameSet::cursorPos( cursor, canvas, \
                currentFrame ).
-- David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,Konqueror \
(http://www.konqueror.org), and KOffice (http://www.koffice.org). \
_______________________________________________koffice-devel mailing \
listkoffice-devel@kde.orghttps://mail.kde.org/mailman/listinfo/koffice-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic