comp.lang.ada
 help / color / mirror / Atom feed
From: Brian Drummond <brian@shapes.demon.co.uk>
Subject: Re: Qt or Gtk? (from an Ada perspective)
Date: Tue, 18 Sep 2012 10:14:30 +0000 (UTC)
Date: 2012-09-18T10:14:30+00:00	[thread overview]
Message-ID: <k39hi5$k7m$1@dont-email.me> (raw)
In-Reply-To: 0c19f250-7508-4eff-acc9-3e99ff7ff06a@googlegroups.com

On Tue, 18 Sep 2012 02:49:33 -0700, alb348 wrote:

>> Zenity looks interesting indeed. Only, it does not seem to support text
>> edit boxes (unless I am mistaken), which I really need.
> 
> I can now confirm it, after checking more thoroughly: no text edit boxes
> in Zenity. Too bad, because otherwise it would have been perfect for my
> needs.

Did you notice the text-info dialog has an --editable option?

> I am afraid that for a decent text edit box, the compelled choice will
> be either Qt or Gtk, after all.

for short text entry (single string, not necessarily single line)
zenity --entry \
--title="Add new profile" \
--text="Enter name of new profile:" \
--entry-text "NewProfile"

for text from file 
zenity --text-info \
       --title="Edit Me" \
       --editable \
       --width=640 \
       --height=480 \
       --filename=fred.txt 

May not be fancy enough but they certainly exist and they work.

- Brian





  reply	other threads:[~2012-09-21  1:13 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-17 11:34 Qt or Gtk? (from an Ada perspective) alb348
2012-09-17 12:55 ` Patrick
2012-09-17 15:41   ` alb348
2012-09-17 15:50     ` Ludovic Brenta
2012-09-17 15:54       ` alb348
2012-09-18  6:38         ` Vadim Godunko
2012-09-17 16:22       ` Dmitry A. Kazakov
2012-09-18  5:41       ` QtAda in Debian (was: Re: Qt or Gtk? (from an Ada perspective)) Dirk Heinrichs
2012-09-18  7:16         ` Ludovic Brenta
2012-09-18 14:35           ` Dirk Heinrichs
2012-09-17 15:58     ` Qt or Gtk? (from an Ada perspective) Dmitry A. Kazakov
2012-09-17 16:21       ` J-P. Rosen
2012-09-17 20:49 ` Brian Drummond
2012-09-18  1:52 ` Stephen Leake
2012-09-18  6:28 ` Thomas Løcke
2012-09-18  8:47 ` Brian Drummond
2012-09-18  9:43   ` alb348
2012-09-18  9:49     ` alb348
2012-09-18 10:14       ` Brian Drummond [this message]
2012-09-18 10:29         ` Brian Drummond
2012-09-18 11:00           ` alb348
2012-09-24  5:32   ` J-P. Rosen
2012-09-24 20:07     ` Patrick
2012-09-24 20:30       ` Pascal Obry
2012-09-24 20:42       ` J-P. Rosen
2012-09-24 21:11       ` Simon Wright
2012-09-24 22:56         ` Patrick
2012-09-19 11:14 ` tonyg
2012-09-19 16:13 ` Rego, P.
2012-09-20 15:53 ` leonid.dulman
replies disabled

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