RE: [Inkscape-devel] shift+click to select broken
20 Dec
2003
20 Dec
'03
4:16 a.m.
On Fri, 2003-12-19 at 22:19, bulia byak wrote:
So, to keep this programmer-friendly, I think basically what you need is an sp_desktop_item_at_point() that figures out what NRArena to use, and calls sp_document_item_at_point().
To get the NRArena for a desktop, you can use ((SPCanvasArena *)SP_DT_ACETATE (desktop))->arena.
doesn't work too. Printing
(NRArena *) (((SPCanvasArena *) SP_DT_ACETATE (desktop))->arena)
and
child->display->arenaitem->arena
gives:
arenas 0x315, 0x8453b38
Actually... I think it's SPDesktop::drawing, not SPDesktop::acetate; sorry...
But use the dkey method anyhow -- that's the "correct" way.
-mental
7673
Age (days ago)
7673
Last active (days ago)
0 comments
1 participants
participants (1)
-
MenTaLguY