string interpolation

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

string interpolation

Lutz Lümken
Hello,

does GTK have some kind of string interpolation or can I safely display
user input strings in the widgets without anything unexpected (code
injection, formatting etc.) to happen?

Best regards,
Lutz Lümken
--
Lutz Lümken                                [hidden email]
PRESENSE Technologies GmbH            Sachsenstr. 5, D-20097 HH
Geschäftsführer/Managing Directors       AG Hamburg, HRB 107844
Till Dörges, Jürgen Sander               USt-IdNr.: DE263765024


_______________________________________________
gtk-app-devel-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Reply | Threaded
Open this post in threaded view
|

Re: string interpolation

Gtk+ - Apps Dev mailing list
Hi,
As you set a string property of a Gtk+ widget, the string is usually
duplicated. However don't call any Gtk+ function outside the main loop,
i.e. from a different thread.

Bests,
Joël

On Fri, Dec 21, 2018 at 9:49 AM Lutz Lümken <[hidden email]> wrote:

>
> Hello,
>
> does GTK have some kind of string interpolation or can I safely display
> user input strings in the widgets without anything unexpected (code
> injection, formatting etc.) to happen?
>
> Best regards,
> Lutz Lümken
> --
> Lutz Lümken                                [hidden email]
> PRESENSE Technologies GmbH            Sachsenstr. 5, D-20097 HH
> Geschäftsführer/Managing Directors       AG Hamburg, HRB 107844
> Till Dörges, Jürgen Sander               USt-IdNr.: DE263765024
>
> _______________________________________________
> gtk-app-devel-list mailing list
> [hidden email]
> https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
_______________________________________________
gtk-app-devel-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list