Exemple #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
}
Exemple #2
0
func (self *Widget) Hide() {
	C.gtk_widget_hide(self.object)
}
Exemple #3
0
func (w *Widget) Hide() {
	C.gtk_widget_hide(w.g())
}
Exemple #4
0
func gtk_widget_hide(widget *C.GtkWidget) {
	C.gtk_widget_hide(widget)
}
Exemple #5
0
// Hide is a wrapper around gtk_widget_hide().
func (v *Widget) Hide() {
	C.gtk_widget_hide(v.native())
}
Exemple #6
0
func (w *window) Hide() {
	C.gtk_widget_hide(w.widget)
}
Exemple #7
0
func gtk_widget_hide(p GtkWidget) {
	C.gtk_widget_hide(Arg(p))
}