Re: Customising expander icons in treeview



On 20/07/16 01:03 PM, Kjell Ahlstedt wrote:
I don't think it's possible. I looked at the gtk+ source code. As far as
I can see, those triangles are hard-coded. They are drawn with a few
cairo functions (cairo_move_to(), cairo_line_to(), cairo_fill(), etc.)

Aren't they rendered with gtk_render_expander () ? Which mean they are
dependent on a GtkStyleContext, so changing the styles should *in
theory* make this feasible.


Hub


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