summaryrefslogtreecommitdiff
path: root/gtk/gtkswitch.h
diff options
context:
space:
mode:
authorWilliam Jon McCann <william.jon.mccann@gmail.com>2014-01-17 15:17:45 -0500
committerWilliam Jon McCann <william.jon.mccann@gmail.com>2014-01-20 12:31:21 -0500
commitadd1ca00f4cc1517b233f3a2ae2afd0230d3de38 (patch)
treecc5222d06ef81f9cf46b1a1e4d62fd3767213ef9 /gtk/gtkswitch.h
parentf3f7c385d924ef2d22a804b2dca5190c1f8590d4 (diff)
downloadgtk+-add1ca00f4cc1517b233f3a2ae2afd0230d3de38.tar.gz
docs: add Gtk*Class docs
https://bugzilla.gnome.org/show_bug.cgi?id=81006
Diffstat (limited to 'gtk/gtkswitch.h')
-rw-r--r--gtk/gtkswitch.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/gtk/gtkswitch.h b/gtk/gtkswitch.h
index 539d9e82da..9804f4f474 100644
--- a/gtk/gtkswitch.h
+++ b/gtk/gtkswitch.h
@@ -61,17 +61,19 @@ struct _GtkSwitch
/**
* GtkSwitchClass:
- *
- * The <structname>GtkSwitchClass</structname> structure contains only
- * private data.
+ * @parent_class: The parent class.
+ * @activate: An action signal and emitting it causes the switch to animate.
*/
struct _GtkSwitchClass
{
- /*< private >*/
GtkWidgetClass parent_class;
+ /*< public >*/
+
void (* activate) (GtkSwitch *sw);
+ /*< private >*/
+
void (* _switch_padding_1) (void);
void (* _switch_padding_2) (void);
void (* _switch_padding_3) (void);