![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Guest
Posts: n/a
|
wxWidgets vs Windows API
I've been waiting to try a GUI toolkit since I learned Windows API. For those that have used it: How is it? What can you do with it? What can't it do that API can? Is it worth abandoning API to learn? Since I found a GUI designer for it, I've been thinking about trying it. My major problem with tring it is: Will I not be able to do something in wxWidgets that I can do in API? Also, does it make programs too big? Because I also want to keep my programs as small as possible.
Last edited by Zap; Jul 11th, 2006 at 3:37 PM. |
|
|
|
#2 |
|
Game engine designer
Join Date: May 2005
Location: Sweden
Posts: 301
Rep Power: 4
![]() |
I can not answear your question; but I think you should learn what an API is. It might not be what you think it is, as I interpreted it when I read your post.
Take a look here: http://en.wikipedia.org/wiki/API
__________________
http://www.klarre.se |
|
|
|
|
|
#3 |
|
Guest
Posts: n/a
|
I'm talking about windows API (Application Programming Interface) I know what it is. I have programmed in Assembly for Several platforms. API is a compilation of calls that an operating system provides. For instance a restart call on a TI-83 Plus would qualify as an API call. Or the B_CALL macro(a restart call at 0028 followed by a double word) on the 83+.
Last edited by Zap; Jul 11th, 2006 at 3:51 PM. |
|
|
|
#4 |
|
Game engine designer
Join Date: May 2005
Location: Sweden
Posts: 301
Rep Power: 4
![]() |
I understood that you was talking about the Windows API, and I also know what an API is. There is a lot of beginners on this forum, and the post was written as you thought that API has something to do with the Windows API. Never mind then.
![]() /Klarre
__________________
http://www.klarre.se |
|
|
|
|
|
#5 |
|
Guest
Posts: n/a
|
I can see why. I'm just asking how good this tool kit is. I heard it's cross platform which is very nice. But the problem with Toolkits vs any API is that they lack some things. My major concern is that wxWidgets would be lacking something important. That and the hard disk space it will consume.
|
|
|
|
#6 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
If your API wrapper doesn't cover what you need, just use the unwrapped stuff. Have you browsed or searched the forum for "wxWidgets"? Have you visited the site?
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#7 |
|
Guest
Posts: n/a
|
Yes... I have. It looks good. Says it's cross platform, uses object oriented code. But I can't find too much in depth documentation, besides I would really have to go in-depth with it to find out what's missing. I need a toolkit and fast. Currently, I use the api and am able to quickly create great and small apps quickly with the templates I created. I was just wondering if this would be any quicker. I do like api, but it's not the quickest thing.
EDIT: I just read the wxWidgets wiki. It says that MFC has smaller exe size then it does. That's not good. MFC exes are bigger compared to exes made with Windows API... That just leaves one question, how much bigger are wxWidgets exes? |
|
|
|
#8 | |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
Quote:
As with most things, it's a tradeoff. I personally subscribe to the notion that developers should laden as much work as possible upon the computer, as developer time is frequently more expensive than CPU cycles, RAM or disk space. You may have different views on this, though, and that's fine. As an aside, APIs are not proper nouns, so it's "the Windows API" or "a device API", rather than just "Windows API". Also, the term API is more general than you seem think it is. When you access wxWidgets, for example, you'll be accessing it through an API. |
|
|
|
|
|
|
#9 | ||
|
Guest
Posts: n/a
|
Quote:
Quote:
|
||
|
|
|
#10 | |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
Quote:
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|