Re: Fwd: gtkmm

It should.  What's your code?  Something like this?

Glib::ustring Editor::Extract_Text(Gtk::TextView* viewer)
    Glib::RefPtr< Gtk::TextBuffer > vBuf = viewer->get_buffer();
    Glib::ustring myview = vBuf->get_text();
    return myview;

Have a look in the book- (although the example doesn't show how to extract text).


From: Ugur Arpaci <ugurarpaci gmail com>
To: gtkmm-list gnome org
Sent: Sun, 22 August, 2010 8:20:48 AM
Subject: Fwd: gtkmm

---------- Forwarded message ----------
From: Ugur Arpaci <ugurarpaci gmail com>
Date: Fri, Aug 20, 2010 at 2:22 PM
Subject: gtkmm
To: "Ubuntu user technical support, not for general discussions" <ubuntu-users lists ubuntu com>

Hello fellas;

I got a question about gnome's gtkmm interface for C++. I got a TextBuffer object, and i want to transfer this text into a character array, let's say after a button is clicked. There are some functions but i cannot make it work. 

Thanks for your attention.




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