Re: OpenGL and overlapping widget

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jul 17, 2010 at 9:23 PM, Tristan Van Berkom <tvb@xxxxxxxxx> wrote:
>> I'm trying to use OpenGL with regular GTK+ widgets within the same
>> window and I want to make the widgets (buttons, text fields...) to
>> overlap the OpenGL area and appears in front of it. I tried with GtkGLArea
>> and GtkGLExt, but all my tests were unsuccessful so far. In all cases,
>> the OpenGL area will always appear in front, overlapping any GTK+ widget.
>
> I'm not sure off the top of my head what the exact combination is, but
> you can do this by combining Clutter with GTK+ (maybe by using
> a specialized ClutterActor, or by rendering your widgets to a GtkOffscreenWindow
> and blitting that to an actor or such).

(Thanks for the quick answer)
I don't know much about clutter, but at this point, I'm not sure this is
an option. All the raw OpenGL rendering code already exists in the
main app (whose my app is just a plugin to provide the OpenGL context
for rendering).

Michael.
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux