wxWidget
wxWidget
RealSource.de presents:
wxWidget wrapper for x86 windows and linux
documents can you find: http://docs.wxwidgets.org/2.6/
info: http://en.wikipedia.org/wiki/WxWidgets
some PB examples for win and lin in the package.
wxWidget for PB
wxWidget wrapper for x86 windows and linux
documents can you find: http://docs.wxwidgets.org/2.6/
info: http://en.wikipedia.org/wiki/WxWidgets
some PB examples for win and lin in the package.
wxWidget for PB
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Nice work! I did a little poking around in the source code and it looks like there are pretty minor differences between the linux and windows ports. That makes me think that it might not be overly hard to also port to Mac. I might have a poke at it over the next little while if I can find some time.
WxWidgets has always interested me. I wonder if it would be possible to get one of the RAD tools to dump out PB WxWdgets code also? Or at least a converter...
WxWidgets has always interested me. I wonder if it would be possible to get one of the RAD tools to dump out PB WxWdgets code also? Or at least a converter...
Dimension of controls the same on win and lin, other like pb.USCode wrote:But I have to ask, what in particular does wxWidgets offer that PB doesn't have that motivated you to do this?
More Controls
Flickerfree Tab
Better Eventhandling
and, and ...
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Great job ...
However the author of Purebasic should consider QT 4.5 (instead of GTK) which will soon become LGPL :
http://linuxfr.org/2009/01/14/24882.html
However the author of Purebasic should consider QT 4.5 (instead of GTK) which will soon become LGPL :
http://linuxfr.org/2009/01/14/24882.html
*** Excuse my bad English, I uses has translating program ***
any usefull docs? i´m totaly new to wxwidget and my first attempt with checkboxes was a complete flop...
a few samples with standardclasses (button, checkbox, treeview, ...) would also come very handy
but anyway... thx for the wrapper! as far as i can rate its a powerfull extension for pb
cheers, chi
a few samples with standardclasses (button, checkbox, treeview, ...) would also come very handy
but anyway... thx for the wrapper! as far as i can rate its a powerfull extension for pb
cheers, chi
please, bitte bitteKiffi wrote:if you want, i can write more.
Greetings ... Kiffi
simple checkbox:
Code: Select all
XIncludeFile #PB_Compiler_Home + "Include\inc.wx.pbi"
Enumeration
#CONTROL
EndEnumeration
Enumeration
#WINDOW_TEST
EndEnumeration
Global APP.i
Procedure OnInit()
Protected frame
Protected control
; fenster erstellen
frame = wxFrame()
control = wxCheckBox( )
wxFrame_Create(frame, #WINDOW_TEST, 1, "Test", wxSize(-1,-1), wxSize(-1,-1), #wxDEFAULT_FRAME_STYLE, "frame")
wxCheckBox_Create (control, frame , #CONTROL, "I'm a checkbox" , wxSize(-1, -1), wxSize(-1, -1), 0, 0, "checkBox")
wxCheckBox_SetValue(control, #True)
; Frame anzeigen
wxWindow_Show(frame,#True)
ProcedureReturn wxApp_OnInit(APP)
EndProcedure
Procedure OnExit()
ProcedureReturn wxApp_OnExit(APP)
EndProcedure
Procedure Main()
APP = wxApp()
wxApp_RegisterVirtual(app,@OnInit(),@OnExit())
wxApp_Run(0,0)
EndProcedure:Main()
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.