Пример #1
0
// GetTitle is a wrapper around gtk_status_icon_get_title()
func (v *StatusIcon) GetTitle() string {
	cstr := (*C.char)(C.gtk_status_icon_get_title(v.native()))
	defer C.free(unsafe.Pointer(cstr))
	return C.GoString(cstr)
}
Пример #2
0
func gtk_status_icon_get_title(icon GtkWidget) string {
	return C.GoString(C.gtk_status_icon_get_title(Arg(icon)))
}