Example #1
0
//export our_area_textfield_focus_out_event_callback
func our_area_textfield_focus_out_event_callback(widget *C.GtkWidget, event *C.GdkEvent, data C.gpointer) C.gboolean {
	a := (*area)(unsafe.Pointer(data))
	if !a.inmenu {
		C.gtk_widget_hide(a.textfieldw)
		a.textfielddone.fire()
	}
	a.inmenu = false // for next time
	return continueEventChain
}
Example #2
0
func (self *Widget) Hide() {
	C.gtk_widget_hide(self.object)
}
Example #3
0
File: widget.go Project: ziutek/gtk
func (w *Widget) Hide() {
	C.gtk_widget_hide(w.g())
}
Example #4
0
func gtk_widget_hide(widget *C.GtkWidget) {
	C.gtk_widget_hide(widget)
}
Example #5
0
// Hide is a wrapper around gtk_widget_hide().
func (v *Widget) Hide() {
	C.gtk_widget_hide(v.native())
}
Example #6
0
func (w *window) Hide() {
	C.gtk_widget_hide(w.widget)
}
Example #7
0
func gtk_widget_hide(p GtkWidget) {
	C.gtk_widget_hide(Arg(p))
}