// SetStartupID is a wrapper around gtk_window_set_startup_id(). func (v *Window) SetStartupID(sid string) { cstr := (*C.gchar)(C.CString(sid)) defer C.free(unsafe.Pointer(cstr)) C.gtk_window_set_startup_id(v.native(), cstr) }
func (w *Window) SetStartupId(role string) { s0 := _GString(role) defer _GFree(unsafe.Pointer(s0)) C.gtk_window_set_startup_id(w.c, s0) }