Hi,

Can you share for what purposes? games or any 2D graphics project?
Not to help with sdl, but have you hear about clutter?
http://clutter-project.org

It has good relationship with GTK+ and also based on GObject system.
It's integrated well with GTK+ application and actively maintained.

Regards

On Mon, Aug 6, 2012 at 1:52 AM, Jim Norton <jimnor...@jimnorton.org> wrote:
> I'm attempting to learn SDL and would like to use GTK2 as the GUI framework
> under Centos 5.8. I've looked at some sample code, but so far I've not able
> to get any to compile.
>
> For example, I tried this sdl-gtk-demo but it appears to require an older
> version of GTK?
>
> What is required for an SDL application to draw onto a GTK2 widget or
> window? My set up is the following:
>
> 1-Centos 5.8
> 2-GTK2
> 3-The standard GCC that comes with Centos 5.8
>
> Because this is targeted for an embedded system, I don't have the liberty to
> use a newer Centos distribution.
>
> Perhaps a solution may be to write a standalone SDL application that uses
> OpenGL to do my image animation and write to the X11 window ID of a GTK2
> widget. Does this seem like a reasonable approach? And if so, can anybody
> point me to some code samples?
>
> Thank you,
> Jim
>
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to