+class Gtk:Button:Count from Gtk:Button {
+ public int count = 0;
+ property INT count
+ (nick = _("Count of clicks"),
+ blurb = _("How many times was the button clicked"),
+ minimum = 0,
+ maximum = INT_MAX,
+ /* initially set to 0, even though we have already
+ * set the default above */
+ default_value = 0,
+ /* links the count property to the count data member */
+ link);