Reduce the size of Drawing Area. Is it possible?

View: New views
1 Messages — Rating Filter:   Alert me  

Reduce the size of Drawing Area. Is it possible?

by Sławomir Zborowski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

_______________________________________________
gtkglext-list mailing list
gtkglext-list@...
http://mail.gnome.org/mailman/listinfo/gtkglext-list