Re: [glade--]text entry on glademm
Vladislav Grinchenko <[email protected]>
| Newsgroups | gmane.comp.gnome.glademm |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Apr 27, 2002 at 06:27:31AM +0300, friman wrote:
> Hello.
> if someone cand send me an example of code: how to take text from entry
> text on gtk-- it will be fine
> Moti
string user = GMM_USERENTRY->get_text ();
given that you have
class MainWindow_glade : public Gnome::App
{
public:
// ...
class Gtk::Entry *UserEntry;
// ...
};
and
#define GMM_USERENTRY (glademm_get<Gtk::Entry >("UserEntry"))
hope this helps,
--VLG
_____________________________________________________________
Vladislav Grinchenko (work): [email protected]
Software Engineer (home): [email protected]
Integral Systems, Inc. http: www.integ.com
_____________________________________________________________