tadvi / winc Goto Github PK
View Code? Open in Web Editor NEWCommon library for Go GUI apps on Windows
License: MIT License
Common library for Go GUI apps on Windows
License: MIT License
Hi I am new to GO and windows programing. I like you examples. Could you add some font examples how to change and modify attuites. Thank you
Awesome library !
I want to add the ability to Output to a PDF for all your Windows Controls.
This would require making a Window which is alot like the Chrome Print Preview Page, where you have the Printer options on the left and a PDF view of the output like a a4 landscape or portrait, Colour or Black and white.
Like this:
https://techdows.com/wp-content/uploads/2011/04/enable-print-preview-in-google-chrome.png
The first bit is to be able to query for all printers and their options.
The 2nd bit it to just make your controls be able to output as a PDF. I think i can do that myself.
The 3rd bit is to then just display the PDF in the right side of the pane as a raster. that is easy as its easy to convert a PDF to raster image using golang.
SO the main bit of to get all printer and their options.
I think maybe we can use the google Printer lib ?
https://github.com/google/cloud-print-connector/blob/master/winspool/win32.go
Hi 3 questions,in case others meet the same question,open an issue
Hi. Just wondering what the status is of this project as there hasn't been any activity for a while. Thanks.
I enabled parameter for mainWindow to mainWindow.EnableDragAcceptFiles(true)
and was listening event
mainWindow.OnDropFiles().Bind(func(e *winc.Event) {
fmt.Println(mainWindow)
})
how can I get filenames droped to form ( get DropFilesEventData )?
If someone else uses this library, please help implement the play-pause buttons to pause the program.
I tried this implementation - https://stackoverflow.com/questions/38798863/golang-pause-a-loop-in-a-goroutine-with-channels
but either it doesn't work as it should, or it freezes.
This is a cool library, but I can't figure out how to do it:
There’s a typo in line 934 of w32/user32.go where it should be EndPaint instead of BeginPaint
Hello, I need OnKeyDown() for Form.
I have implemented and will open a Pull Request
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.