wxWidgets for php如何实现一个长尾词弹出框?
- 内容介绍
- 文章标签
- 相关推荐
本文共计211个文字,预计阅读时间需要1分钟。
wxWidgets for php 是一个弹出的框架,下载了两个文件:1. wxphp-3.0.2.0-php5.4-x86.exe,2. wxFormBuilder_v3.5.1-rc1.exe。主要功能是使用 wxFormBuilder 图像生成 PHP 代码。例如:?php PHP code generated with wxFormBuilder (version Jun 17 2015)? http://www.
1、wxphp-3.0.2.0-php5.4-x86.exe
2、wxFormBuilder_v3.5.1-rc1.exe 主要根据图像生成php代码
<?php /* * PHP code generated with wxFormBuilder (version Jun 17 2015) * www.wxformbuilder.org/ * * PLEASE DO "NOT" EDIT THIS FILE! */ /* * Class MyFrame1 */ class MyFrame1 extends wxFrame { function __construct( $parent=null ){ parent::__construct ( $parent, wxID_ANY, wxEmptyString, wxDefaultPosition, new wxSize( 500,300 ), wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL ); $this->SetSizeHints( wxDefaultSize, wxDefaultSize ); $this->Centre( wxBOTH ); } function __destruct( ){ } } //Application initialization start point class myApp extends wxApp { function OnInit() { $zs = new MyFrame1(); $zs->Show(); //$zs->Maximize(); $this->frm = $zs; return true; } function OnExit() { return 0; } } wxInitAllImageHandlers(); $gridApp = new myApp(); wxApp::SetInstance($gridApp); wxEntry(); ?>
本文共计211个文字,预计阅读时间需要1分钟。
wxWidgets for php 是一个弹出的框架,下载了两个文件:1. wxphp-3.0.2.0-php5.4-x86.exe,2. wxFormBuilder_v3.5.1-rc1.exe。主要功能是使用 wxFormBuilder 图像生成 PHP 代码。例如:?php PHP code generated with wxFormBuilder (version Jun 17 2015)? http://www.
1、wxphp-3.0.2.0-php5.4-x86.exe
2、wxFormBuilder_v3.5.1-rc1.exe 主要根据图像生成php代码
<?php /* * PHP code generated with wxFormBuilder (version Jun 17 2015) * www.wxformbuilder.org/ * * PLEASE DO "NOT" EDIT THIS FILE! */ /* * Class MyFrame1 */ class MyFrame1 extends wxFrame { function __construct( $parent=null ){ parent::__construct ( $parent, wxID_ANY, wxEmptyString, wxDefaultPosition, new wxSize( 500,300 ), wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL ); $this->SetSizeHints( wxDefaultSize, wxDefaultSize ); $this->Centre( wxBOTH ); } function __destruct( ){ } } //Application initialization start point class myApp extends wxApp { function OnInit() { $zs = new MyFrame1(); $zs->Show(); //$zs->Maximize(); $this->frm = $zs; return true; } function OnExit() { return 0; } } wxInitAllImageHandlers(); $gridApp = new myApp(); wxApp::SetInstance($gridApp); wxEntry(); ?>

