Re: Can't set item tooltip



В Wed, 04 May 2011 22:25:14 +0100
Damon Chaplin <damon karuna eclipse co uk> пишет:

> On Wed, 2011-05-04 at 23:26 +0600, Mike Cookson wrote: 
> > Trying to set tooltip for path, but can't get it working even for
> > rectangle. First i tried g_object_set() as most universal way. No
> > warnings and... dry :S
> > 
> > Also i tried goo_canvas_item_set_child_property (), but it seems,
> > it is rather for GooCanvasItem-based things, like same
> > GooCanvasRect, which, as warnd, don't have "tooltip" property.
> 
> Make sure you set the "has-tooltip" property of the GooCanvas to TRUE,
> to turn on tooltips.
> 
Indeed :)) Now works.

> > P.S. imho, it is strange, that using of string in svg format is
> > alternative-less way to initialize items.
> 
> I'm not sure what you mean here. Do you mean there should be other
> ways to initialize items? Can you give an example?
> 
> Damon
> 
o_O Polyline stores data in special points structure. What is
difference between it and path? Instead of to write one / three
integers to known or easy to calculate addresses, i need to create
string, which is parsed then back to integers.


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