Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

signal 'render' is invalid for instance GtkGLArea #385

Open
MauriceGit opened this issue Aug 16, 2018 · 0 comments
Open

signal 'render' is invalid for instance GtkGLArea #385

MauriceGit opened this issue Aug 16, 2018 · 0 comments

Comments

@MauriceGit
Copy link

Hello,

when trying to connect a GtkGLArea widget to the 'render' signal I get the below warning:

(gtkAction:5142): GLib-GObject-WARNING **: /build/glib2.0-b4FPyK/glib2.0-2.48.2/./gobject/gsignal.c:2517: signal 'render' is invalid for instance '0x1ffc8a0' of type 'GtkGLArea'

My code is fairly simple for this. Can someone help me out here?

drawArea := gtkgl.NewGLArea([]int{gtkgl.ATTR_RGBA})
drawArea.Connect("render", func() {
	fmt.Println("render")
})

Thanks
Maurice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant