Removed some debugging spiel.
This commit is contained in:
parent
76c518b3e2
commit
3ea1e09780
|
@ -111,7 +111,6 @@ func (a *area) Repaint(r image.Rectangle) {
|
|||
if r.Empty() {
|
||||
return
|
||||
}
|
||||
println(a._widget, C.gint(r.Min.X), C.gint(r.Min.Y), C.gint(r.Dx()), C.gint(r.Dy()))
|
||||
C.gtk_widget_queue_draw_area(a._widget, C.gint(r.Min.X), C.gint(r.Min.Y), C.gint(r.Dx()), C.gint(r.Dy()))
|
||||
}
|
||||
|
||||
|
|
|
@ -44,7 +44,6 @@ func (b *button) SetText(text string) {
|
|||
func buttonClicked(xb unsafe.Pointer) {
|
||||
b := (*button)(unsafe.Pointer(xb))
|
||||
b.clicked.fire()
|
||||
println("button clicked")
|
||||
}
|
||||
|
||||
func (b *button) id() C.id {
|
||||
|
|
|
@ -54,7 +54,6 @@ func (b *button) SetText(text string) {
|
|||
func buttonClicked(bwid *C.GtkButton, data C.gpointer) {
|
||||
b := (*button)(unsafe.Pointer(data))
|
||||
b.clicked.fire()
|
||||
println("button clicked")
|
||||
}
|
||||
|
||||
func (b *button) widget() *C.GtkWidget {
|
||||
|
|
|
@ -47,7 +47,6 @@ func (b *button) SetText(text string) {
|
|||
func buttonClicked(data unsafe.Pointer) {
|
||||
b := (*button)(data)
|
||||
b.clicked.fire()
|
||||
println("button clicked")
|
||||
}
|
||||
|
||||
func (b *button) hwnd() C.HWND {
|
||||
|
|
|
@ -59,7 +59,6 @@ func (c *checkbox) SetChecked(checked bool) {
|
|||
func checkboxToggled(data unsafe.Pointer) {
|
||||
c := (*checkbox)(data)
|
||||
c.toggled.fire()
|
||||
println("checkbox toggled")
|
||||
}
|
||||
|
||||
func (c *checkbox) hwnd() C.HWND {
|
||||
|
|
|
@ -62,7 +62,6 @@ func (t *textfield) Invalid(reason string) {
|
|||
//export textfieldChanged
|
||||
func textfieldChanged(data unsafe.Pointer) {
|
||||
t := (*textfield)(data)
|
||||
println("changed")
|
||||
t.changed.fire()
|
||||
}
|
||||
|
||||
|
|
|
@ -77,7 +77,6 @@ func (t *textfield) Invalid(reason string) {
|
|||
//export textfieldChanged
|
||||
func textfieldChanged(editable *C.GtkEditable, data C.gpointer) {
|
||||
t := (*textfield)(unsafe.Pointer(data))
|
||||
println("changed")
|
||||
t.changed.fire()
|
||||
}
|
||||
|
||||
|
|
|
@ -61,7 +61,6 @@ func (t *textfield) Invalid(reason string) {
|
|||
//export textfieldChanged
|
||||
func textfieldChanged(data unsafe.Pointer) {
|
||||
t := (*textfield)(data)
|
||||
println("changed")
|
||||
t.changed.fire()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue