How to get the label's height?



Hi,

I need to know the height of a GtkLabel, I have used
label->allocation.height but it returns always '1', I also tried
puting the label into a EventBox and then using eb->allocation.height,
but it also not work. Using "size requisition" I get '0'.

Is there another way to get the label's height?
Thanks



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