Re: Hello there
- From: Guy Harris <gharris flashcom net>
- To: Erik Mouw <J A K Mouw ITS TUDelft NL>
- Cc: Michael <xmic freemail gr>, gtk-list gnome org
- Subject: Re: Hello there
- Date: Sun, 21 Jan 2001 14:56:05 -0800
On Sun, Jan 21, 2001 at 11:18:29PM +0100, Erik Mouw wrote:
> Yes, GTK+ works with all X11R6 servers with all known window managers.
> It's even better: if you do it right, your program will automatically
> work on Windows, BeOS, and Linux framebuffer devices.
"Doing it right", of course, may include avoiding OS-specific calls, or
using #ifdefs to make the appropriate calls on particular platforms, or
encapsulating the OS-specific calls, if your program is to run on
non-UNIX-flavored platforms.
Note that GLib encapsulates some of those calls for you (including calls
to do run-time loading of code, which need encapsulation even for
portability amongst UNIX-flavored OSes!), and also offers some "Windows
compatibility functions":
http://developer.gnome.org/doc/API/glib/glib-windows-compatability-functions.html
which might better be called "UNIX compatibility functions" as they
provide UNIX APIs on Windows (and, potentially, other non-UNIX-flavored
platforms, if those platforms don't provide those APIs).
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]