Talk:Window creation/X11: Difference between revisions

Too many GUI libraries
No edit summary
(Too many GUI libraries)
Line 8:
:::: OK, but you should admit that creating a window with GTK or the Xlib are 2 things very different. The area of use are even at the opposite! [[User:Blue Prawn|Blue Prawn]] 20:48, 18 November 2008 (UTC)
:::::They should probably be in different examples if they're so different (I've never used either...Java programmers have Swing and AWT), but if they accomplish the same task they should be in the same task.--[[User:Mwn3d|Mwn3d]] 20:59, 18 November 2008 (UTC)
:::::: The problem is caused by the fact that for C and C++, unlike for Java, there's no standard library for GUI, anf there's a large set of different GUI libraries, which all differ in supported operating systems, supported desktop environments, license, ...
:::::: To just give a "short", non-comprehensive list of GUI toolkits usable from C++: raw Windows API, Xlib, Carbon, MFC, Xt, Motif, Gtk+, Qt, wxWidgets, Ultimate++, ...
:::::: Of course, one could restrict to the basic GUI facility of the corresponding platform, i.e. raw Windows API for Windows, Xlib for Linux/Unix (AFAIK X is the only relevant windowing system on Unix-type systems) etc. But then, most non-trivial programs are not written using those low-level APIs (well, for X, in principle one could even go one level lower and explicitly use the X protocol to communicate with the server, but that's even more unlikely to be used in any serious program). --[[User:Ce|Ce]] 13:46, 19 November 2008 (UTC)
973

edits