Re: Howto discover when GtkLabel is elipsized.



I realized that pango_layout_get_width (GTK_LABEL (label)->layout)) return
-1 when the label's text is not elipsized. I think it suffices. :)

On 5/22/07, Alexander Semyonov <bohtvaroh gmail com> wrote:

Hello. I have an elipsized GtkLabel. What I need is to correctly discover
when the ellipsis "..." is displayed (I think i must discover it in some
resize or paint event). Can you help me?

Thanx.




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