Exemple #1
0
func (win *Window) GetTitle() string {
	ret := C.gtk_window_get_title(win.c)
	if ret == nil {
		return ""
	}
	s := C.GoString((*C.char)(ret))

	return s
}
Exemple #2
0
func gtk_window_get_title(window *C.GtkWidget) string {
	return fromgstr(C.gtk_window_get_title(togtkwindow(window)))
}
Exemple #3
0
// GetTitle is a wrapper around gtk_window_get_title().
func (v *Window) GetTitle() (string, error) {
	return stringReturn(C.gtk_window_get_title(v.native()))
}
Exemple #4
0
func (w *window) Title() string {
	return fromgstr(C.gtk_window_get_title(w.window))
}