PHP-GTK.eu End of Life and GDPR

If you're reading the PHP-GTK.eu community site these days, you certainly noticed that not a single piece of significant content was created since 2015, and not much since 2013.

Whatever this may mean for PHP-GTK itself is another issue, but for the site itself, it means it ceased to be relevant about 5 years ago, and it's time to move on for the site members. Since the site contains non-anonymous user, it will fall under the new EU GDPR regulations entering into force on 2018-05-25, and there is no point for me to spend time on evolving the site towards compliance when no one is actually using it.

So here is the EOL announcement: the site will be shutting down on 2018-05-24 and its data will taken offline.

A static version of the articles may be published again at some point here or elsewhere, but I wouldn't hold my breath on it. So if you have even some interest in the site content, be sure to copy/paste the pages of interest before it goes dark on 2018-05-24. Or contact me if you want a copy of the files and content, or check my blog for newer content.

Thanks all for participating, it's been a pleasure while it lasted.

FGM

Drag and Drop: watch out for the GtkSelectionData::set_text() contents

Hello,

A few days ago I was confronted with a weird trouble. That my string that I used which has some typical french characters in it changed to ugly thing like \u009 instead of é. I also discovered that other people who used the serialize() function on GtkSelectionData also encountered some weird things.

So today I found the solution the GtkSelectiondata object works with URI strings. All you have to do is encode your string with the function urlencode($your_string);.

You don't have to decode it : when you do gtkselectiondata::get_text(), it converts back to a normal string.

This is done because of the compability with other programs if you drag and drop outside your program or from outside to inside your program everything is also in uri.

I hope this will help other people who encountered this problem.

Kind regards
Wim Stockman