summaryrefslogtreecommitdiff
path: root/gtkcalls_unix.go
diff options
context:
space:
mode:
Diffstat (limited to 'gtkcalls_unix.go')
-rw-r--r--gtkcalls_unix.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtkcalls_unix.go b/gtkcalls_unix.go
index 2934c7c..ca5c08e 100644
--- a/gtkcalls_unix.go
+++ b/gtkcalls_unix.go
@@ -153,6 +153,10 @@ func gtk_toggle_button_get_active(widget *C.GtkWidget) bool {
return fromgbool(C.gtk_toggle_button_get_active(togtktogglebutton(widget)))
}
+func gtk_toggle_button_set_active(widget *C.GtkWidget, checked bool) {
+ C.gtk_toggle_button_set_active(togtktogglebutton(widget), togbool(checked))
+}
+
func gtk_combo_box_text_new() *C.GtkWidget {
w := C.gtk_combo_box_text_new()
C.gtkSetComboBoxArbitrarilyResizeable(w)