Liststore and editing cancelled event

2018-11-26 Thread Mike Martin via gtk-app-devel-list
Is there any way to disable the editing-cancelled event on cellrenderertext. Background When I have a liststore contained within a treestore I want the value to be be saved if I click on a button not contained within the treeview, so that it does not just dissapear Focus events dont seem to work

Re: Issue using the "gtk_widget_get_allocated_height" instruction

2018-11-26 Thread Luca Bacci via gtk-app-devel-list
Hi Sébastien! It's not simple, but you may try with combinations of GtkStyleContext *style = gtk_widget_get_style_context(widget); GValue value = G_VALUE_INIT; gtk_style_context_get_style_property(style, "prop-name", ); //or gtk_style_context_get_property(style, "prop-name", ); /* ... */