The focus-out event on the CellRendererCombo do not emit the `remove-widget` signal

While fixing a bug on Tryton’s GTK client (using GTK3) I noticed that while the CellRendererText focus-out handling do trigger the remove-widget signal this is not the case for the CellRendererCombo (AFAICT from reading the source).

So I ended up emitting the signal myself so that the cleaning up that Tryton does also occurs for the ComboBox. But I wonder if this workaround is correct as I suspect that there’s probably a very good reason not to trigger this signal to begin with.

So I would be very happy if anybody can explain to me if it’s a good solution or if I did something horrible :slight_smile:.

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.