Re: Ellipsizing

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.

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