gtk/gtk.go
func FrameNew(label string) (*Frame, error) {
	var cstr *C.char
	if label != "" {
		cstr = C.CString(label)
		defer C.free(unsafe.Pointer(cstr))
	}
	c := C.gtk_frame_new((*C.gchar)(cstr))
	if c == nil {
		return nil, nilPtrErr
	}
	obj := glib.Take(unsafe.Pointer(c))
	return wrapFrame(obj), nil
}
func FrameNew(label string) (*Frame, error) {
	var cstr *C.char
	if label != "" {
		cstr = C.CString(label)
		defer C.free(unsafe.Pointer(cstr))
	}
	c := C.gtk_frame_new((*C.gchar)(cstr))
	if c == nil {
		return nil, nilPtrErr
	}
	obj := glib.Take(unsafe.Pointer(c))
	return wrapFrame(obj), nil
}
func FrameNew ( label string ) ( * Frame , error ) { var cstr * C . char if label != " " { cstr = C . CString ( label ) defer C . free ( unsafe . Pointer ( cstr ) ) } c := C . gtk_frame_new ( ( * C . gchar ) ( cstr ) ) if c == nil { return nil , nilPtrErr } obj := glib . Take ( unsafe . Pointer ( c ) ) return wrapFrame ( obj ) , nil }
// FrameNew is a wrapper around gtk_frame_new().
FrameNew is a wrapper around gtk_frame_new () .