Esempio n. 1
0
func (w *Window) GetRole() string {
	s0 := C.gtk_window_get_role(w.c)
	if s0 == nil {
		return ""
	}
	s := C.GoString((*C.char)(s0))

	return s
}
Esempio n. 2
0
// GetRole is a wrapper around gtk_window_get_role().
func (v *Window) GetRole() (string, error) {
	return stringReturn(C.gtk_window_get_role(v.native()))
}