[lazarus] GTK or XLib or Whatever

Jerry U. "Rick" Dawson dawson_j at crane.navy.mil
Mon Jun 28 12:24:26 EDT 1999


I have been following the debate, but I must confess that I do not have
enough experience with the x-window development libraries to offer any
constructive opinion. Based upon what I have read, though, it would seem
that backing down one level to the GDK would be better than backing down
two levels to the XLIB.  

I have a few questions, forgive me if I seem naive.

1. Since GTK calls the GDK, is it possible to use a combination of those
two libraries? Why not look at the implementation of a given GTK widget and
see how it fails the object model. Would it be possible to put an object
wrapper on it that can call the lower level GDK calls or even XLIB calls to
give the desired results? We do not have to abandon one library in favor of
another if we can use both.

2. Does the QT have a secondary level as well between it and the XLIB
similar to GDK? IF so, how different is it from the GDK?

3. Can programs written against the GDK and/or GTK run under KDE? 

4. If it is desired to write against the GTK or the QT, is it possible to
separate the code out for those libraries so that by flipping a compiler
switch we could make it a Gnome or a KDE program.

I read somewhere that the two camps are looking at cooperating on certain
points, leading to more compatibility between them in the future.

At 09:54 AM 06/28/99 -0500, you wrote:
>Rick,
>
>   We are currently debating all of the control issues right now.
>
>
> Many of you are asking us to use the GTK. This is fine but I can tell you
>programming against it does have limitations.
>
>  Maybe I am not as smart as I should be also. Here is the only problem that
>I have with running against GTK. If you wish for the IDE to be as Delphi
>Like as possible you have to have a couple of things that I have not been
>able to create cleanly.
>
>1. X and Y control placement.
>
>2. The ability to resize and move a control once it is on a container.
>
>3. The signal event model is not working very well. We need some way to
>control our own event model. We need to have something like our own event
>stack on TForm or something to that affect. Right now if I connect a
>function to the gtk events we will get code fall thru not to mention it has
>to be declared cdecl which cannot appear in a class definition.
>
>Cliff
>
>-----Original Message-----
>From: Rick Dawson [mailto:dawson_j at crane.navy.mil]
>Sent: Monday, June 28, 1999 8:43 AM
>To: lazarus at miraclec.com
>Subject: [lazarus] db components
>
>
>Has anyone started on db components yet? I have yet to get a working copy
>of the project yet so that I can really find out, so I thought I would ask.
>
>What direction is it taking / would it take? I have been looking iodbc and
>unixodbc a bit, and have come across a few references about kde and gnome
>might be including iodbc, or a dirivative thereof, in the future.  The
>iodbc, is, I believe, supposed to be source compatible with MS's odbc spec. 
>
>This is of prime importance to me, much more so than your debate over where
>to base your controls, in GTK or QT.  My job is to do 'database
>development', which I do in Delphi. I would like, very much for my delphi
>code to continue on into the Linux environment.
>
>Since this is my area of experience, I am willing to devote some of my time
>to this part of the project, though it would probably only be a couple of
>hours a week. I am slow, but I think I can contribute. Besides, I have
>several problems with Delphi's implementation of TTable and TQuery, such as
>they don't implement the 'recno' property for SQL databases like they
>should. That would have been a tremendous help in my current project.
>
>Rick Dawson
>
> 
>****************************************************************************
> not available in any store		* Jerry U. "Rick" Dawson
> If you order now,			* work:
>mailto:dawson_j at crane.navy.mil
> You will get Ginsu Knives with your	* home: mailto:rdawson at kiva.net
> Custom Database Application     	* 
>****************************************************************************
>
>_________________________________________________________________
>     To unsubscribe: mail lazarus-request at miraclec.com with
>                "unsubscribe" as the Subject
>    archives at http://www.miraclec.com/list_archives/lazarus
>
>_________________________________________________________________
>     To unsubscribe: mail lazarus-request at miraclec.com with
>                "unsubscribe" as the Subject
>    archives at http://www.miraclec.com/list_archives/lazarus

****************************************************************************
 not available in any store		* Jerry U. "Rick" Dawson
 If you order now,			* work: mailto:dawson_j at crane.navy.mil
 You will get Ginsu Knives with your	* home: mailto:rdawson at kiva.net
 Custom Database Application     	* 
****************************************************************************






More information about the Lazarus mailing list