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 
the widget fits again.

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.


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

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