Re: [patch] gtknotebook.c, gtknotebook.h



On 14-Dec-97 Owen Taylor wrote:
> 
> Interesting. Can you say a bit more about why you think this
> is needed? (You should be able to simulate this, if crudely,
> by connecting to the "map" and "unmap" signals for the pages).
> Not saying it is a bad idea - I just would like to see some more
> justification for it.

Well, I think it's just a natural signal a notebook should have
(as seen in some other widget libraries). I personally needed
a comfortable way of stepping in when a page is switched, because
in my notebook each page represents the contents of a file on
disk, and instead of loading all files on startup, I wanted to 
do a "load on demand".

It would certainly be possible to use "map" and "unmap" somehow,
but I think this is a cleaner and nicer solution. (Hope I did
everything right !? ;)

Regards,
   Stefan



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