01 May 2013 - After the site upgrade, all passwords were reset and you will need to ask the site for a login reset on your first connection.
<?php
// Definition of widgets
$scrolled_win = new GtkScrolledWindow();
$textview = new GtkTextview();
$buffer = new GtkTextBuffer();
$win = new GtkWindow();
// Modify widgets
$scrolled_win->set_policy(1,1);
$textview->modify_font(new PangoFontDescription('Courier New 14'));
$win->maximize();
$win->connect_simple('destroy', array('Gtk', 'main_quit'));
// Pack widgets
$scrolled_win->add($textview);
$textview->set_buffer($buffer);
$win->add($scrolled_win);
/*** Get tags table ***/
$tag_table = $buffer->get_tag_table();
/*** Create and add tag ***/
// underline
This script displays a 2D array inside a textview. All elements on the same row and coloumn are underlined and colored blue.
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.
The previous page defined the geo-nick API of the PHP-GTK.eu 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.
Neueste Kommentare
vor 42 Wochen 6 Tage
vor 43 Wochen 5 Tage
vor 44 Wochen 2 Tage
vor 46 Wochen 5 Tage
vor 1 Jahr 15 Wochen
vor 1 Jahr 18 Wochen
vor 1 Jahr 22 Wochen
vor 1 Jahr 22 Wochen
vor 1 Jahr 22 Wochen
vor 1 Jahr 39 Wochen