(no subject)



Hi,

I have a question about the resizing of GtkDrawingArea.
I'm building a program in which I have a GtkDrawingArea inside
a viewport, inside a GtkScrolledWindow. Now, dependent on some
input, the size of the DrawingArea needs to change. If I just
do a gtk_widget_set_usize(), then things go wrong (program
does not respond anymore and has to be killed). How do I
do this?

I was thinking of gtk_widget_size_request (after looking through
the API ref) but I can't seem to tackle the way things work when
issueing that command.

any help on this is greatly appreciated.

greetings,
Ilja Booij





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