failed manual note query

[email protected] (Unprivileged user)
Newsgroups php.gtk.webmaster
Message-ID <[email protected]>
INSERT INTO note (user, note, sect, ts, lang) VALUES ('[email protected]','Progress Bar Example

<?php
function quit_routine($dialog)
	{
  $dialog->destroy();
  }
function test_progress() {
	$window1 = new GtkWindow();
	$window1->set_title(\"Progress\");
	$window1->set_size_request(200, 35);
	$progress_bar = new GtkProgressBar();
	$progress_bar->set_orientation(Gtk::PROGRESS_LEFT_TO_RIGHT);
	$window1->add($progress_bar);
	$window1->connect(\"destroy\", \"quit_routine\");
	$window1->show_all();

	for($i=0;$i<100;$i++) {
		$progress_bar->set_fraction((float)($i/100.0));
		$progress_bar->set_text($i.\'% Complete\'); 
		sleep(1);
		while (Gtk::events_pending()) {
  		Gtk::main_iteration();
    	}
		}
	quit_routine($window1);		
	}
$window = new GtkWindow();
$window->set_title(\"Progress Bar Test\");
$window->set_size_request(200, 100);
$button = &new GtkButton(\'Click for Progress Bar\');
$button->connect_simple(\'clicked\', \'test_progress\');
$button->show();
$window->add($button);
$window->connect_simple(\"destroy\", array(\"gtk\", \"main_quit\"));
$window->show_all();
Gtk::main();
?>','gtk.gtkprogressbar.constructor.php','2006-04-25 03:48:09','')
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.