diff options
author | Dan Williams <dcbw@redhat.com> | 2013-10-10 15:33:36 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2013-10-10 15:33:36 -0500 |
commit | e869399369f6a411a31f44a8a50041bba27273e9 (patch) | |
tree | f49efdeeb5a9537f87dca75ee53877945cfb9c66 /gtk/gtkcellrenderertoggle.c | |
parent | 2e53f90e077830301d0153dd1bfeec89de102704 (diff) | |
download | gtk+-e869399369f6a411a31f44a8a50041bba27273e9.tar.gz |
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.
Diffstat (limited to 'gtk/gtkcellrenderertoggle.c')
-rw-r--r-- | gtk/gtkcellrenderertoggle.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkcellrenderertoggle.c b/gtk/gtkcellrenderertoggle.c index bee988e39d..77174c8774 100644 --- a/gtk/gtkcellrenderertoggle.c +++ b/gtk/gtkcellrenderertoggle.c @@ -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"), |