Re: [glade--]text entry on glademm



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): vgrinche integ com
Software Engineer                  (home):    vladg erols com
Integral Systems, Inc.               http:      www.integ.com
_____________________________________________________________



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