On Fri, 2006-01-13 at 14:47 +0000, John Cupitt wrote: > On 1/13/06, Gravis Zero <[EMAIL PROTECTED]> wrote: > > not exposed until after you load the file. needless to say i would like > > to be able to load the image into the drawing area when loaded instead > > of when it is exposed as it make the app look slugish or frozen. i have > > I would load the image in chunks (perhaps 100 scan lines?). For each > chunk, gtk_widget_queue_draw_area() then let the mainloop run for a > few iterations so the expose is processed.
John, i appreciate the suggestion but there are various technical reasons not to do this, including this must be done for other smaller drawing areas. this is one of the reasons why i insist it be done at loading a file. additionally, this would make my code look not messy in one place but like i barfed on the whole project. this is for a portfolio so it cant look as such. --------------------------------------------------------------------- Everyone, as i pointed out before i had tried to manually execute the callback but the memory was not allocated for the window. im wondering if there is a way to allocate the memory and tell the program it has been allocated so that it wont do it again. however, maybe it just checks if it's NULL and then allocates... who knows. i have a screen shot of debug data of two instances of my application running with info pointed out: http://adaptivetime.com/debug_shot.png Gravis _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list