Stereo On Gdk::Window
- From: Xavier Larrodé <xlarrode gmail com>
- To: gtkmm-list <gtkmm-list gnome org>
- Subject: Stereo On Gdk::Window
- Date: Fri, 3 Jul 2009 15:50:07 +0200
Hi all,
I would like to add the GLX_STEREO, 1, attribute to my Gtk::Window, in order to display active stereo on my window.
But i don't know how to do it.
Right now i initalised my window like this :
//Create the GdkWindow:
GdkWindowAttr attributes;
memset(&attributes, 0, sizeof(attributes));
Gtk::Allocation allocation = get_allocation();
//Set initial position and size of the Gdk::Window:
attributes.x = allocation.get_x();
attributes.y = allocation.get_y();
attributes.width = allocation.get_width();
attributes.height = allocation.get_height();
attributes.event_mask = GDK_EXPOSURE_MASK | GDK_POINTER_MOTION_MASK;
attributes.window_type = GDK_WINDOW_CHILD;
attributes.wclass = GDK_INPUT_OUTPUT;
m_refGdkWindow = Gdk::Window::create(get_window(), &attributes, GDK_WA_X | GDK_WA_Y);
Any ideas ?
Thanks
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]