Beispiel #1
0
echo $menu->GetPiwiXML();
echo "\n\n\n";
$toolbar = new Toolbar();
$toolbar->Add($button);
$toolbar->Add($entry);
$toolbar->Add($comboimage);
$toolbar->SetStyle("background-color: #331");
echo $toolbar->GetPiwiXML();
echo "\n\n\n";
$vbox = new VBox();
$vbox->PackStart($comboimage);
$vbox->PackEnd($entry);
$vbox->PackStart($check);
$hbox = new HBox();
$hbox->PackStart($button);
$hbox->PackStart($radio);
$hbox->PackEnd($vbox);
echo $hbox->GetPiwiXML();
echo "\n\n\n";
$editor = new VBox();
$editor->PackStart($toolbar);
$editor->PackStart($textarea);
echo $editor->GetPiwiXML();
echo "\n\n\n";
$viewport = new ViewPort("viewport", 600, 180);
$viewport->Add($editor);
echo $viewport->GetPiwiXML();
echo "\n\n\n";
$hidden_field = new HiddenEntry("nombre", "valor");
echo $hidden_field->GetPiwiXML();
echo "\n\n\n";