[gtk+] GtkCellRendererToggle: update documentation of 'toggled' signal
- From: Dan Williams <dcbw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkCellRendererToggle: update documentation of 'toggled' signal
- Date: Thu, 10 Oct 2013 20:34:58 +0000 (UTC)
commit e869399369f6a411a31f44a8a50041bba27273e9
Author: Dan Williams <dcbw redhat com>
Date: Thu Oct 10 15:33:36 2013 -0500
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.
gtk/gtkcellrenderertoggle.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcellrenderertoggle.c b/gtk/gtkcellrenderertoggle.c
index bee988e..77174c8 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"),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]