Re: problem: Automatic size changes of group-based items, are not notified by gobject's "notify" signal



В Fri, 13 May 2011 22:30:35 +0600
Nikita Zlobin <cook60020tmp mail ru> пишет:

> В Fri, 13 May 2011 20:00:56 +0600
> Nikita Zlobin <nick87720z gmail com> пишет:
> 
> > g_object_get () showes, that property is changed also if group/table
> > size is changed automatically, to fit exactly to children.
> > I setup callback to "notify::width" signal, and it is not called in
> > such cases. But if i change property manually, by g_object_set(), it
> > works.
> 
> he... It seems, that properties really are not updated. They are -1,
> which, as said in doc, means automatic sizing. What is best way to get
> actual size of such group/table (with automatic sizing)?

Fortunaly, goo_canvas_item_get_bounds() works as expected.

P.S. Sorry, i have two emails, one of them btw is not subscribed to
this list, afaik :S


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