Dynamic menus



Hello !

I would like to make a dynamic menu : I have two radio buttons, and the windows content is depending on which button is clicked. What is the better way of doing this ?

I thought about drawing a box, and when a button is clicked, I destroy every widget in this box and I put some new... Is that a good idea ?

And how can I destroy a widget in a box, or a table ?? there's the gtk_widget_destroy() function, but how to get one particular widget from the table or the box ?

Thanks in advance !

Sam

_________________________________________________________________
Gérez la réception de vos mails d'après votre mobile: vous êtes libre de filtrer http://www.fr.msn.ch/mobile/




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