The creation functions are similar to those of the normal button.
GtkWidget CheckButton1 = new CheckButton(); GtkWidget CheckButton1 = new CheckButtonWithLabel(string label); GtkWidget CheckButton1 = new CheckButtonWithMnemonic(string label);The CheckButtonWithLabel() function creates a check button with a label beside it.
Checking the state of the check button is identical to that of the toggle button.