End of Life and GDPR

If you're reading the 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.



Colored Table, Row and Column Headers In Textview.

// Definition of widgets
$scrolled_win = new GtkScrolledWindow();
$textview = new GtkTextview();
$buffer = new GtkTextBuffer();
$win = new GtkWindow();

// Modify widgets
$textview->modify_font(new PangoFontDescription('Courier New 14'));
$win->connect_simple('destroy', array('Gtk', 'main_quit'));

// Pack widgets

/*** Get tags table ***/
$tag_table = $buffer->get_tag_table();

/*** Create and add tag ***/
// underline

Apply style to Textview: Underline and Blue Color on specific parts of the text.

This script displays a 2D array inside a textview. All elements on the same row and coloumn are underlined and colored blue.

CommandWidget - a terminal like widget for php-gtk

Command widget demo The CommandWidget is nearly like a terminal and allows the user to issue commands to a shell and view the result in a GtkTextView widget.

Accessing geo-nick from a php-gtk2 application

The previous page defined the geo-nick API of the site. Here is a small example of how to use it from a client application, using either the CURL library, or native PHP coding to send the request and retrieve the XML-RPC results from the site.

Syndikovat obsah