Giter VIP home page Giter VIP logo

winc's People

Contributors

leaanthony avatar tadq avatar tadvi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

winc's Issues

Using/changing fonts

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

Printing

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

gui not responding for long time job

Hi 3 questions,in case others meet the same question,open an issue

  • for a long time job,such as network diagnose,gui will be not responding,I know there must exist a method to resolve it,maybe another thread or gorourine
  • I wanna something like static text to display output from some job,maybe a Rect or Canvas?
  • I wanna fix the window size,it cannot be scaled or maximum

Project Status

Hi. Just wondering what the status is of this project as there hasn't been any activity for a while. Thanks.

OnDropFiles how to get filenames?

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 )?

Context menu button, auto scrolling

This is a cool library, but I can't figure out how to do it:

  • context menu in the form of a button anywhere in the window.
    (In the examples, there is only if you right-click on a certain area, or only at the top of the window - File, Edit, etc.)
  • add scrolling for the context menu, for long lists;
  • automatically scroll down when adding a new line in NewMultiEdit (or other).

Typo in w32/user32.go

There’s a typo in line 934 of w32/user32.go where it should be EndPaint instead of BeginPaint

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.