From the example 13.1.1. (Event Box)



Hello,

...Only for better gtkmm understanding.

Taking the example 13.1.1, from the official documentation, I'd like to know,
How could I do for resetting the label text once clicked up, having the text entry widget into another (container) widget.

I mean,

Now, there is a window derived widget with an event box and a label widgets in. When, the label is clicked, the programm ends.

My question is: I'd like to have a default label string. When the string is clicked, a second container widget (like a window or dialog) could appear with an entry widget for editing that label string. An OK button in that second container will confirm the change, and ends in order to see the only one window widget with the label string modified.

Could you do this for me or explain me with details how to do it ?

Thanks a lot in advance...

S.


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