GtkWindow and how to subclass it



Hi all.

I have a question about how GtkWindow determines its own size.

My guess is:
- if it is not user-resizable, it will change its size according to 
the contained widgets' size, shrinking or enlarging accordingly
- if it is user-resizable, it will stay of the size chosen by the 
user, eventually enlarging the contained widget. But if the widget is 
enlarged, and becomes too large for the window, the window enlarges 
so 
the widget fits again.

Questions:
1. Is the above description correct?
2. In which source file is the behaviour implemented? I would like to 
create a subclass with a different behaviour.

Regards,
Fabrizio


Naviga e telefona senza limiti con Tiscali     
Scopri le promozioni Tiscali adsl: navighi e telefoni senza canone Telecom

http://abbonati.tiscali.it/adsl/




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