Re: Ellipsizing

...and thank you for that! I found is_ellipsized() because I was looking high and low for a reference to get_layout() that I just *knew* I'd seen somewhere…

On 01/29/2018 03:58 PM, Daniel Boles wrote:
It would be nice to have proper API for this; I'd support a feature request on the GTK+ side, if one doesn't already exist (I don't recall finding one).

That said, it should be a general thing for text widgets. That is: including GtkLabel and co. And there's something I only just realised, because you hinted at it: Label has a get_layout() method, so for that, I can probably simplify what I'm currently doing considerably. Thanks for the indirect help! :P

Let me know if you get the trick working for CellRendererText, and I'll try to remember to post back if I stop using that same trick, haha.

gtkmm-list mailing list
gtkmm-list gnome org

”Wait, what if these quote marks are inside out, so everything in the rest of the document is the quotation and /this/ part isn't? Duuuuude.“
   — Randall Munroe

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