Well, GtkEntry (Gtk+-3.0) accesses any UTF input included escapes in your
case is a new line. Sometime the string has a new line at the end that you
maybe copied from somewhere, you should catch the new line code (0x0A - 1
byte), and set the index of the new line is '\0'.
unsigned int length;
leng
On 04/05/18 21:32, Karan Ahuja wrote:
Hi friend
You could use g_str_split ?
Cheers,
Karan
That doesn't help, that's working around the issue.
On Thu, 5 Apr 2018 20:23 arkkimede, wrote:
Hi!
In my GTK3 applications, there are some GtkEntry used to input strings
like, e.g., the output dir
Hi friend
You could use g_str_split ?
Cheers,
Karan
On Thu, 5 Apr 2018 20:23 arkkimede, wrote:
> Hi!
> In my GTK3 applications, there are some GtkEntry used to input strings
> like, e.g., the output directory.
>
> I write a string in the Entry and using the function gtk_entry_get_text() i
> r
Hi!
In my GTK3 applications, there are some GtkEntry used to input strings
like, e.g., the output directory.
I write a string in the Entry and using the function gtk_entry_get_text() i
read the string insert in the GUI.
Printing on screen this string, <> a "new line" is present at
the end of the