Re: copying strings from gdome2 to external code

Luca Padovani <[email protected]> Fri, 26 Aug 2011 13:38:01 +0200
Newsgroups gmane.comp.gnome.gdome
Message-ID <[email protected]>
Hi Isidor,

On 25/ago/2011, at 01:51, Isidor Zeuner wrote:
> What is the intended way to copy a complete string from gdome2 into an
> external format (e.g. std::string in C++)?

You can access the str field within the GdomeString structure:

GdomeString* s;

strcpy(mystring, s->str);

Cheers,
Luca