// SetTitle is a wrapper around gtk_status_icon_set_title()
func (v *StatusIcon) SetTitle(title string) {
	cstr := (*C.gchar)(C.CString(title))
	defer C.free(unsafe.Pointer(cstr))
	C.gtk_status_icon_set_title(v.native(), cstr)
}
Esempio n. 2
0
func gtk_status_icon_set_title(icon GtkWidget, title string) {
	n := C.CString(title)
	defer C.free(unsafe.Pointer(n))
	C.gtk_status_icon_set_title(Arg(icon), n)
}