GtkCellRendererToggle: update documentation of 'toggled' signal
Clarify that applications are expected to handle updating the model from the 'active' property, like GtkCellRendererText does for the 'edited' property.
This commit is contained in:
@@ -181,6 +181,9 @@ gtk_cell_renderer_toggle_class_init (GtkCellRendererToggleClass *class)
|
||||
* event location
|
||||
*
|
||||
* The ::toggled signal is emitted when the cell is toggled.
|
||||
*
|
||||
* It is the responsibility of the application to update the model
|
||||
* and store the "active" property at the position indicated by @path.
|
||||
**/
|
||||
toggle_cell_signals[TOGGLED] =
|
||||
g_signal_new (I_("toggled"),
|
||||
|
||||
Reference in New Issue
Block a user