func NewButton() *Button { bt := C.gtk_button_new() if bt == nil { return nil } return ToButton(unsafe.Pointer(bt)) }
//Create and return new button Structure func NewButton() *Button { b := &Button{} o := C.gtk_button_new() b.Container = NewContainer(unsafe.Pointer(o)) b.object = C.to_GtkButton(unsafe.Pointer(o)) return b }
func NewButton() *Button { b := new(Button) b.SetPtr(glib.Pointer(C.gtk_button_new())) return b }
func gtk_button_new() *C.GtkWidget { return C.gtk_button_new() }