Search found 2409 matches
- Thu Mar 28, 2024 3:11 pm
- Forum: General Development
- Topic: Porting wxWidgets to Rust?
- Replies: 5
- Views: 12691
Re: Porting wxWidgets to Rust?
Hi, Because there aren't any native UI frameworks for Rust at the moment. This limits what I (can) do with it severely. And interop (calling C++ wxWidgets from Rust) doesn't work comfortably since the two languages are subtly different. I suggest you make a case on wx-dev list. There core developers...
- Mon Oct 30, 2023 4:47 pm
- Forum: C++ Development
- Topic: How close my program using keyboard?
- Replies: 13
- Views: 6394
Re: How close my program using keyboard?
I suggest you take time to learn the basics of wxWidgets as it seems you miss a lot of basic stuffs
- Fri Oct 27, 2023 4:19 am
- Forum: wxDev-C++
- Topic: This IDE is quite nice!
- Replies: 3
- Views: 17735
Re: This IDE is quite nice!
Never used it, but its demise was a sad thing!
- Thu Oct 26, 2023 4:05 pm
- Forum: C++ Development
- Topic: How close my program using keyboard?
- Replies: 13
- Views: 6394
Re: How close my program using keyboard?
Unrelated to app not working it is better to use common keys for platform.
For example *nix uses Ctrl/Cmd + Q instead of Alt+X
For example *nix uses Ctrl/Cmd + Q instead of Alt+X
- Fri Oct 20, 2023 5:29 am
- Forum: wxCode
- Topic: wxPDFDocument Auto-height
- Replies: 10
- Views: 21586
Re: wxPDFDocument Auto-height
Thanks Urlich.
The library makes life easier.
I will find time to add CMake as well as an example for this scenario
The library makes life easier.
I will find time to add CMake as well as an example for this scenario
- Thu Oct 19, 2023 4:03 pm
- Forum: wxCode
- Topic: wxPDFDocument Auto-height
- Replies: 10
- Views: 21586
Re: wxPDFDocument Auto-height
Your suggestion worked quiet well but I cannot disable page break on the PDF
Am trying to print and see
Am trying to print and see
- Thu Oct 19, 2023 3:36 pm
- Forum: wxCode
- Topic: wxPDFDocument Auto-height
- Replies: 10
- Views: 21586
Re: wxPDFDocument Auto-height
Hi Ulrich, Thanks for the help and corrections. Am going to incorporate those and may be when successful make a sample demonstrating that. While am adjusting things as you suggested, I though I would put more details in what I do I do a receipt which is basically three tables 1. Header table with bu...
- Thu Oct 19, 2023 5:43 am
- Forum: wxCode
- Topic: wxPDFDocument Auto-height
- Replies: 10
- Views: 21586
Re: wxPDFDocument Auto-height
This is what am working with now and gives height of 0. I'm still debugging but If I misunderstood anything please correct me wxString html = "<p>THE THEXT HERE</p>"; wxPdfDocument pdf; pdf.SetFont(wxS("Courier"), wxS("N"), 8); pdf.SetTextColour(*wxBLACK); float sizeInM...
- Thu Oct 19, 2023 5:25 am
- Forum: wxCode
- Topic: wxPDFDocument Auto-height
- Replies: 10
- Views: 21586
Re: wxPDFDocument Auto-height
I see, it seems to be complex than I thought. Since you have experience with this how do you deal with this? I'm generating PDF for Receipts to be printed on thermal printer. I have hard time dealing with this since it can have as few items as one or as many as 20. Is it possible to have a sample th...
- Wed Oct 18, 2023 3:23 pm
- Forum: wxCode
- Topic: wxPDFDocument Auto-height
- Replies: 10
- Views: 21586
Re: wxPDFDocument Auto-height
Thank you.
I will try to find a way forward using this information as guide.
One more question, how do I know line length so that I can calculate number of lines needed? Especially for non-fixed width fonts?
I will try to find a way forward using this information as guide.
One more question, how do I know line length so that I can calculate number of lines needed? Especially for non-fixed width fonts?
- Wed Oct 18, 2023 8:32 am
- Forum: wxCode
- Topic: wxPDFDocument Auto-height
- Replies: 10
- Views: 21586
wxPDFDocument Auto-height
Is there a way to specify only width and let wxPdfDocument calculate height based on text size?
I want to create PDF with 80mm/Portrait width but let the library determine the height. Right now I do not know how and cannot find a sample or documentation.
Any help is apprecuated
I want to create PDF with 80mm/Portrait width but let the library determine the height. Right now I do not know how and cannot find a sample or documentation.
Any help is apprecuated
- Tue Sep 12, 2023 4:26 pm
- Forum: The Code Dump
- Topic: wxVLC - a wxWidgets VLC Media Player
- Replies: 22
- Views: 30212
Re: wxVLC - a wxWidgets VLC Media Player
Can you post full error stack?newbierajk wrote: ↑Tue Sep 12, 2023 2:36 pm Hi Dmax/evstevemd,
I tried the 32bit build in VS 2022 but it gives error as unresolved references for wxwindow and libvlc_new.
- Mon Sep 11, 2023 6:29 pm
- Forum: The Code Dump
- Topic: wxVLC - a wxWidgets VLC Media Player
- Replies: 22
- Views: 30212
Re: wxVLC - a wxWidgets VLC Media Player
Hi, Hi evstevemd, Sorry for my late response. Current it just gives one error as shown below when building in code blocks: ||=== Build: Debug in wxVLC (compiler: GNU GCC Compiler) ===| ld.exe||cannot find -lvlc.lib| ||error: ld returned 1 exit status| ||=== Build failed: 2 error(s), 0 warning(s) (0 ...
- Wed Aug 30, 2023 8:13 am
- Forum: The Code Dump
- Topic: wxVLC - a wxWidgets VLC Media Player
- Replies: 22
- Views: 30212
Re: wxVLC - a wxWidgets VLC Media Player
Thank you for all the response. I will check the PB guide. I also tried linking the directory for the libraries and also passing the path for the header files in the compiler search directories, still faced the issue. Is the user Tomay3000 available to answer my query? may be he can shed more light...
- Thu Aug 03, 2023 1:43 pm
- Forum: Announcements and Discoveries
- Topic: ANN: First release of wxSimpleJSON
- Replies: 8
- Views: 5710
Re: ANN: First release of wxSimpleJSON
Good work! I have used the nlohmann/json: JSON for Modern C++ library before, but nlohmann/json library builds slow, because it has many C++ template code as I guess. Thank you. Used that before but I didn't like it for preferential reasons. Fell in love with CJSON when developing for embeded devic...