comp.lang.ada
 help / color / mirror / Atom feed
From: NiGHTS <nights@unku.us>
Subject: Re: Weakness of Ada is expensive / security / etc. ? Anything else?
Date: Tue, 21 Jul 2015 17:17:38 -0700 (PDT)
Date: 2015-07-21T17:17:38-07:00	[thread overview]
Message-ID: <fe35c68b-5f30-4aea-95a3-7fb73002fe7b@googlegroups.com> (raw)
In-Reply-To: <1npnbotrqohbb$.cj0by0oyo31r$.dlg@40tude.net>

> Label text wrapping may depend on the widget size requisition. So you
> should set the label size explicitly. It could be a GTK bug as well,
> because it is highly unlikely that anybody would use that for text
> rendering, there is Gtk_Text_View for that. And because GTK 3 reworked most
> of widget sizing.

It affects things like tooltips (built in) and various other things that inherently use labels. I've explicitly set widths to all inherited widgets including the label itself and this had no effect. I made sure Word wrapping was enabled and followed all correct guidelines on the subject. Again it works in Windows, just not in Linux.


> GTK is full of bugs, especially GTK 3. But that has nothing to do with Ada.

I am not blaming Ada. Its a beautiful language. I merely suspect that GtkAda's thick bindings have something to do with it. I am not dismissing the possibility that GTK 3 is also at fault, but in my mind I feel that the GTK core library is probably more tested than GTKAda (A misconception maybe? I would love to be wrong about this.)


> Style is much more than colors. All widget style properties can be changed.
> 

Well you were talking about "themes", and no doubt styles involve both color and structure. On that note I am quite disappointed by how limited the GTK CSS support is with regards to things like setting margins and other structural parameters. They simply don't work. I can only use the CSS to define colors, fonts, and backgrounds. I've been forced to hard code structural things like margins which I feel is bad form as it should belong in the style sheet.


> There is GtkAda mail list.
> 

I've looked and couldn't find it. I would love to know what the address is if you don't mind me asking.


> I cannot tell anything for that, I never used it. I dropped using
> DB-specific bindings a decade ago. ODBC does the job. There is no serious
> reasons to use DB-specific bindings.

GNATCOLL's database library was not designed to be DB-Specific. From what I understand of their design philosophy is that they are offering an strongly-typed Ada-esque approach to work with SQL queries and other common database tasks using a common seamless API. They only support two databases currently but it was designed to support whatever database is needed for the job. If done correctly you should be able to switch databases without changing code in GNATCOLL. It would have been nice to have added support for ODBC, but the GNATCOLL is designed to facilitate interfacing to anything including ODBC.

I fell in love with the GNATCOLL SQL philosophy. Unfortunately the designers have not done a good job of generating interest in the project. In my case I can't get any support whatsoever with using that library and it seems like no one here takes it seriously. Its a shame.


  parent reply	other threads:[~2015-07-22  0:17 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-17 10:19 Weakness of Ada is expensive / security / etc. ? Anything else? Trish Cayetano
2015-07-17 10:46 ` Simon Clubley
2015-07-17 15:35   ` Trish Cayetano
2015-07-17 15:54     ` David Botton
2015-07-17 12:06 ` G.B.
2015-07-17 15:38   ` Trish Cayetano
2015-07-17 12:54 ` David Botton
2015-07-17 15:41   ` Trish Cayetano
2015-07-17 16:20   ` Patrick Noffke
2015-07-17 17:31 ` Shark8
2015-07-17 17:43   ` Simon Clubley
2015-07-17 18:39 ` Jeffrey R. Carter
2015-07-17 19:28 ` jm.tarrasa
2015-07-17 21:00   ` Pascal Obry
2015-07-17 21:53     ` Shark8
2015-07-17 22:41       ` Nasser M. Abbasi
2015-07-18  7:40         ` Trish Cayetano
2015-07-19 14:55   ` David Botton
2015-07-20  2:40 ` Norman Worth
2015-07-20  9:52   ` Serge Robyns
2015-07-20 17:35     ` Shark8
2015-07-20 19:13       ` David Botton
2015-07-20 22:12       ` NiGHTS
2015-07-21  1:37         ` Norman Worth
2015-07-21  6:54         ` Dmitry A. Kazakov
2015-07-21 13:31           ` NiGHTS
2015-07-21 16:59             ` Dmitry A. Kazakov
2015-07-21 17:50               ` NiGHTS
2015-07-21 19:44                 ` Dmitry A. Kazakov
2015-07-21 20:28                   ` Björn Lundin
2015-07-21 22:01                   ` Georg Bauhaus
2015-07-21 23:44                     ` Shark8
2015-07-22  6:19                       ` Dmitry A. Kazakov
2015-07-22  6:13                     ` Dmitry A. Kazakov
2015-07-22  7:04                       ` Georg Bauhaus
2015-07-22  7:37                         ` Dmitry A. Kazakov
2015-07-22  9:29                           ` Graham Stark
2015-07-22 10:33                             ` Dmitry A. Kazakov
2015-07-22 10:12                           ` G.B.
2015-07-22 10:31                             ` Dmitry A. Kazakov
2015-07-22 11:20                               ` G.B.
2015-07-22  0:17                   ` NiGHTS [this message]
2015-07-22  6:54                     ` Dmitry A. Kazakov
2015-07-22 15:11                       ` Shark8
2015-07-22 11:43                     ` Brian Drummond
2015-07-24  7:34         ` Egil H H
2015-07-21 11:17       ` Serge Robyns
2015-07-20 17:38 ` Florian Weimer
2015-07-20 17:45   ` Paul Rubin
2015-07-20 17:53     ` Florian Weimer
2015-07-20 18:09       ` Paul Rubin
2015-07-20 18:25         ` Florian Weimer
2015-07-20 18:34           ` Paul Rubin
2015-07-20 19:33             ` Florian Weimer
2015-07-20 20:20               ` Paul Rubin
2015-07-22 18:29                 ` Florian Weimer
2015-07-22 19:58                   ` Paul Rubin
2015-07-26 19:41                     ` Florian Weimer
2015-07-27  1:18                       ` Jeremiah
2015-07-22  6:34               ` Stefan.Lucks
2015-07-26 14:51 ` EGarrulo
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox