// Sets the title of the indicator, or how it should be referred in a human readable form. func (indicator *AppIndicator) SetTitle(title string) { titleString := (*C.gchar)(unsafe.Pointer(C.CString(title))) defer C.free(unsafe.Pointer(titleString)) C.app_indicator_set_title((*C.AppIndicator)(indicator.IndicatorPtr), titleString) }
func app_indicator_set_title(app AppIndicator, title string) { n := C.CString(title) defer C.free(unsafe.Pointer(n)) C.app_indicator_set_title(Arg(app), n) }