GTK-server - Philosophy

Philosophy

The GTK-server provides a stream-oriented interface to GTK. If the GTK-server is compiled as a standalone binary, it allows five different interfaces: stdin, fifo (named pipe), ipc (message queue), tcp or udp. Any interpreted language or shellscript with I/O capabilities can start the GTK-server with an argument specifying the type of interface, and can start sending GTK function calls in S-Expression format. After each request, the GTK-server returns a result, depending on the type of GTK function invoked.

If the GTK-server is compiled as a shared object, it exports the function 'gtk', which must be imported in the client program first. After that, the client program can start sending GTK function calls in S-Expression format as argument to the imported 'gtk' function.

Before the GTK-server actually can execute GTK functions, it has to read a configuration file in which the prototypes of the GTK functions are described. Since version 2.2.3 this also can be done on-the-fly, allowing the GTK-server to run without configuration file.

Read more about this topic:  GTK-server

Famous quotes containing the word philosophy:

    The fact is, mental philosophy is very like Poverty, which, you know, begins at home; and indeed, when it goes abroad, it is poverty itself.
    Henry David Thoreau (1817–1862)

    When Philosophy with its abstractions paints grey in grey, the freshness and life of youth has gone, the reconciliation is not a reconciliation in the actual, but in the ideal world.
    Georg Wilhelm Friedrich Hegel (1770–1831)

    Even healthy families need outside sources of moral guidance to keep those tensions from imploding—and this means, among other things, a public philosophy of gender equality and concern for child welfare. When instead the larger culture aggrandizes wife beaters, degrades women or nods approvingly at child slappers, the family gets a little more dangerous for everyone, and so, inevitably, does the larger world.
    Barbara Ehrenreich (20th century)