[GtkGLExt] Reduce the size of Drawing Area. Is it possible?



Hello,

I was wondering if drawing GtkGLext and native( like buttons ) is possible. I was searching all over the web and tried to get help on gamedev.net.
My problem is that I want GtkGLext widget to cover only part of the window.

code:

    gtk_drawing_area_size( (GtkDrawingArea *)da, 100, 100 );
    gtk_widget_set_usize( da, 100, 100 );
    gtk_window_set_default_size( GTK_WINDOW(da),100, 200 );
    da = gtk_drawing_area_new();

I've messed up, but have no idea how to achieve what I want... anyway stuff over doesn't work.


Greets,
Slawomir Zborowski


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