Re: Ellipsizing

For my purposes, using TreeViewColumn->get_width() works well enough.

Which brings up a related question: Absent a writable TreeViewColumn->property_width(), is there any way to tell GTK exactly where between the min/max values you want the column width to be initialized? I could probably accomplish that by artfully manipulating the column header, but that's not very elegant…

On 01/29/2018 04:19 PM, Phil Wolff wrote:
CellRendererText has no get_allocated_width() (or get_allocation()). I'll have to pursue this tomorrow…

On 01/29/2018 12:48 PM, Daniel Boles wrote:
erm, of course that should be

set_has_tooltip( natural > get_allocated_width() );

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]