func NewFrame(label string) *Frame { f := &Frame{} s := gobject.GString(label) defer s.Free() o := C.gtk_frame_new((*C.gchar)(s.GetPtr())) f.Container = NewContainer(unsafe.Pointer(o)) f.object = C.to_GtkFrame(unsafe.Pointer(o)) return f }
// Conversion function for gobject registration map func newFrameFromNative(obj unsafe.Pointer) interface{} { var f Frame f.object = C.to_GtkFrame(obj) f.Container = NewContainer(unsafe.Pointer(f.object)) return &f }