public inbox for guile-gtk@sourceware.org
 help / color / mirror / Atom feed
From: David Pirotte <david@altosw.be>
To: guile-gtk <guile-gtk@sourceware.cygnus.com>,
	"guile-user@gnu.org" <guile-user@gnu.org>
Subject: gtkentry of spinbutton
Date: Thu, 06 Sep 2001 08:46:00 -0000	[thread overview]
Message-ID: <3B978F57.ED8E64E7@altosw.be> (raw)

Hi,

i'm developping an app which has a small table of entries (gtkentry) where the user should
enter numbers only, floats indeed but eventually converted to floats when focusing out of
an entry if necessary

i'd like to have access to the functionality offered in spin-button, but not displaying
the spin-button arrows, just having the gtk-entry (because it would be uggly
and it would take to much space in the widget ...)

so, is it possible either:

	- to have spin-buttons that only 'draw' their entry part
	- to get an entry to have the functionality of the entry of a spin-button
	  (passing the args as if it was a spin-button, min/max val, digits ...)

[the ideal would be to also be abble to specify a thousand seperator and a decimal seperator,
 but this is less important (and if so, it would be nice to get the value of the entry
 as a float (to pass to math functions) or as a string (to store in db)]

thanks,
david

(please do not answer to use gnome stuff, it would not help, i'd need to keep
things in gtk)

             reply	other threads:[~2001-09-06  8:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-06  8:46 David Pirotte [this message]
2001-09-06 14:00 ` David Pirotte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3B978F57.ED8E64E7@altosw.be \
    --to=david@altosw.be \
    --cc=guile-gtk@sourceware.cygnus.com \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).