Re: Some questions I\




Freddie Unpenstein wrote:

I've attached small sample that shows how to do this with
GdkPixbufLoader
As for question 4) - when you get "size-prepared" signal, the image
dimensions are known, so you can use gtk_widget_size_request to
resize your widgets.

I hadn't yet looked very closely at GdkPixbufLoader...  I wonder why such facilities aren't present on 
regular pixbuf loads?  Or is it just that the loader keeps the relevant module available, while the regular 
loaders dump it before handing back control?

At any rate, thats pretty much what I need for that task.  Your solution was very similar to what I had in 
mind.  It's good to know I was on the right track.  :)

Thanks for the responce, though I do seem to be having trouble gettings gtk_widget_size_request to work.  Are 
there any gotcha's; like certain times when you shouldn't call it?

I'm still not sure how to figure out how big is too big though...  I have a few constraints on window size, 
and finding a reliable way to figure out the difference between the widgets region and the windows, is 
driving me batty.


fredderic

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!



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