Two quick questions...



1. When creating menus the manual way, how do I insert a separator?

2. How is the memory/widget managment designed in GTK? Let's say that I
create a window, attach a menu and then destroys the window without
exiting the full application. Will the menu be destroyed at the same time,
or do I have to destroy it specifally to avoid memoryleaks?

-Stefan

/-----------------------------------------------------------------------------\
| Stefan Mars              |Student, Applied physics & Electrical engineering |
| Bjoernkaerrsgatan 15B:30 |Linkoping Institute of Technology                 |
| S-584 36 Linkoping       |                                                  |
| Sweden                   |Email: mars@lysator.liu.se Phone: +46 (0)13175384 |
|-----------------------------------------------------------------------------|
|         Maintainer of The THX Home Cinema Buyers Guide, located at          |
|               http://www.lysator.liu.se/%7Emars/thxguide.html               |
\--------------------- PGP key available through finger ----------------------/




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