bonobo questions ??



hi,

here my small nifty questions today:

1) i cannot figure out what the GNOME::ClientSite::queue_resize and the 
GNOME::View::activate functions are used for. request_resize is allready 
present in GNOME::ViewFrame to allow a view to request a resize from the 
parent and View::activate is just equivalent to do_verb (primary_activate ) ? 
no ?

2) if we could get rid of GNOME::ViewFrame::request_resize, clients would 
just need to call GNOME::ClientSite::queue_resize which would loop through 
its Views and execute GNOME::View::size_request then 
GNOME::View::size_allocate (or allocate_size, i don't remember). I understand 
that this may introduce some overhead for little interface simplification. 
but i guess the ClientSite could maintain for each View its size and compare 
these sizes with those returned frmo GNOME::View::request_size. That way, 
only one View would be really resized.
Is this grossly wrong ?

Still delving into bonobo interfaces...

BTW: i am happy to anounce that DDJ (Dr Dobbs Journal: http://www.ddj.com) 
accepted the idea of an upcomming article on Bonobo. It should be published 
for the July issue if everything happens well.

Best regards, 
Mathieu



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