2 * This is an example button widget which counts the number of clicks
4 * It is also showing how you can use inline gtk-doc like documentation
5 * which will be correctly translated and put into the resulting source
8 class Gtk:Button:Count from Gtk:Button {
27 * Makes a new #GtkButtonCount widget
29 * Returns: a new widget
35 return GTK_WIDGET(GET_NEW);
40 * @label: the label text
42 * Makes a new #GtkButtonCount widget with a label
44 * Returns: a new widget
48 new_with_label(char *label (check null)) onerror NULL
50 return GTK_WIDGET(GET_NEW);
55 clicked(Gtk:Button *self (check null type))
57 GtkButtonCount *bc = GTK_BUTTON_COUNT(self);