I think the GTK+ OpenGL Extension should help you:
http://projects.gnome.org/gtkglext/

For examples of usage, search Google Code and other FOSS hosting sites for
any of the function names on this page:
http://developer.gnome.org/gtkglext/stable/gtkglext-gtkglwidget.html

Example:
https://www.google.com/search?q=gtk_widget_set_gl_capability+site%3Acode.google.com

I hope that helps.

-- Agnel

---------------------------------------------
Engineering is done with numbers. Analysis without numbers is only an
opinion. -- Akin's Laws of
Spacecraft Design



On Fri, Oct 26, 2012 at 5:30 PM, <[email protected]> wrote:

> Send gtk-list mailing list submissions to
>         [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://mail.gnome.org/mailman/listinfo/gtk-list
> or, via email, send a message with subject or body 'help' to
>         [email protected]
>
> You can reach the person managing the list at
>         [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of gtk-list digest..."
>
> Today's Topics:
>
>    1. question on opengl with gtk+ (belal medhat)
>    2. gtk 3.6 Css Selector broblem (Denis Linvinus)
>
>
> ---------- Forwarded message ----------
> From: belal medhat <[email protected]>
> To: [email protected]
> Cc:
> Date: Wed, 24 Oct 2012 01:34:43 +0200
> Subject: question on opengl with gtk+
> i want to make scientific software on proteins and molecular cell biology
> i choose to use gtk+ because it is a beautiful GUI and cross platform on
> mac unix linux windows platforms
> and i will use with it CUDA gpu programming  but i need to setup opengl 4
> on gtk+ panel or canvas
> how to make it manualyy by myself
> how to setup opengl 4.2 on gtk+ canvas or panel and write pure opengl code
> ?
> thank you for your reply to my last questions and thank for effort and
> time
>
>
> ---------- Forwarded message ----------
> From: Denis Linvinus <[email protected]>
> To: [email protected]
> Cc:
> Date: Fri, 26 Oct 2012 14:38:47 +0400
> Subject: gtk 3.6 Css Selector broblem
> Hi!
> I'm writing theme for gtk3.6 and found that "css selector" select
> incorrect style for far right button.
> I made a video recording with demonstration (
> http://www.youtube.com/watch?v=9DIy_pAxf1g&feature=youtu.be), can anyone
> confirm this bug?
> css code for this demo available here http://pastebin.com/S3ukqxVu
> color of far right button should always be green, but this is not true.
> Thanks.
> _______________________________________________
> gtk-list mailing list
> [email protected]
> https://mail.gnome.org/mailman/listinfo/gtk-list
>
>
_______________________________________________
gtk-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to