RE: [gtkmm] how to get MenuItem text ?



> cast MenuItem to Bin,

This should not be necessary in C++. MenuItem derives from Bin, so the cast
is implicit.

> then get the child, which is a Label, 
> which has a get_text() method. its works at the GTK+ level (C) anyway.

Murray Cumming
www.murrayc.com
murrayc usa net



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