Re: Flat entry box
- From: Gus Koppel <gtk spamkiller bytechase cx>
- To: gtk-app-devel-list gnome org
- Subject: Re: Flat entry box
- Date: Sat, 23 Aug 2003 20:28:39 +0200
Nix wrote:
How do I make one of those cool-looking flat entries ? It looks
exactly like a label, but it's really an uneditable entry, because the
user can select the text and copy it. I know Ximian's Red Carpet GUI
uses those in its error messages.
Not sure whether I understand exactly what kind of widget you refer to
(don't know Red Carpet) but have you considered a simple GtkLabel with
selectable text? Without surrounding frame widget it looks flat. See
http://developer.gnome.org/doc/API/2.0/gtk/GtkLabel.html#gtk-label-set-selectable
or the widget properties of a GtkLabel in Glade. I think that behaves as
you describe it.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]