Re: What is the official way to get an icon coordinates from a NautilusFile ?

On Wed, 2005-06-01 at 17:47 -0400, Vincent Noel wrote:
> Hey all,
> I'm trying to come up with a patch for bug #147994 - visual
> notification when you double-click on something on your desktop (e.g.
> the "zooming boxes" you get when you click a launcher on your panel).
> In order to do this, I need to find the screen coordinates of the
> selected icon in the active window - I've tried to get them using
>    position_string = nautilus_file_get_metadata (file,
> But it does not work (I get nonsense as a result).

Yeah, the metadata is only used for manual placement mode, and its about
the positioning in the icon container, not on the screen.

> What is the good, official way to do this ?

There is none at the moment. You'd have to create some.

 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a witless native American jungle king from the Mississippi delta. She's a 
vivacious tomboy Valkyrie from a secret island of warrior women. They fight 

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]