Пример #1
0
func GetDialogChild(ih *Ihandle, name string) *Ihandle {
	cName := C.CString(name)
	defer C.free(unsafe.Pointer(cName))

	return (*Ihandle)(C.IupGetDialogChild(ih.C(), cName))
}
Пример #2
0
func (h *Handle) GetDialogChild(name string) IHandle {
	cname := NewCS(name)
	defer FreeCS(cname)
	return toHandle(C.IupGetDialogChild(h.p, cname))
}