wxLuaLua的GUI框架
wxLua是一个把wxWidgets库和lua绑定的项目,可以方便的使用lua写GUI。
实例代码
frame = wx.wxFrame(wx.NULL, wx.wxID_ANY, "wxLua Minimal Demo", wx.wxDefaultPosition, wx.wxSize(450, 450), wx.wxDEFAULT_FRAME_STYLE) -- create a simple file menu local fileMenu = wx.wxMenu() fileMenu:Append(wx.wxID_EXIT, "E&xit", "Quit the program") -- create a simple help menu local helpMenu = wx.wxMenu() helpMenu:Append(wx.wxID_ABOUT, "&About", "About the wxLua Minimal Application") -- create a menu bar and append the file and help menus local menuBar = wx.wxMenuBar() menuBar:Append(fileMenu, "&File") menuBar:Append(helpMenu, "&Help") -- attach the menu bar into the frame frame:SetMenuBar(menuBar) -- create a simple status bar frame:CreateStatusBar(1) frame:SetStatusText("Welcome to wxLua.") -- connect the selection event of the exit menu item to an -- event handler that closes the window frame:Connect(wx.wxID_EXIT, wx.wxEVT_COMMAND_MENU_SELECTED, function (event) frame:Close(true) end ) -- connect the selection event of the about menu item frame:Connect(wx.wxID_ABOUT, wx.wxEVT_COMMAND_MENU_SELECTED, function (event) wx.wxMessageBox('This is the "About" dialog of the Minimal wxLua sample.', "About wxLua", wx.wxOK + wx.wxICON_INFORMATION, frame) end ) -- finally, show the frame window frame:Show(true)
评论
wxErlangErLang的GUI框架
wxErlang不仅是一个跨平台ErLang的GUI框架。它不像其他许多现有的GUI库,采用了本地的外观和感觉的基本平台。也就是说,如果一个应用程序的执行在MacOSX的应用程序会看起来像一个真正**
wxErlangErLang的GUI框架
0
x11dockerDocker 的 GUI 框架
X11docker是一个可在Docker容器中运行GUI应用或者Linux、macOS桌面的工具库。特性:安全低依赖性可选功能,如支持GPU、声音、网络摄像头和打印机。可用SSH、VNC或HTML5进
x11dockerDocker 的 GUI 框架
0
qooxdooJavaScript的GUI框架
qooxdoo是一个用于开发Ajax应用程序的GUI框架,使用它可以开发出类似于Window桌面风格的Web应用程序。使用Qooxdoo并不需要你具备HTML,CSS和DOM的知识。
qooxdooJavaScript的GUI框架
0