Re: GtkText invisible
- From: Havoc Pennington <hp redhat com>
- To: DaVinci <bombadil wanadoo es>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GtkText invisible
- Date: 09 Mar 2001 19:40:44 -0500
DaVinci <bombadil wanadoo es> writes:
What about my case?. Perhaps there is other form of doing it, but i don't
know (ideas, please? :).
In a program that access to database, there are fields of text. I want to
make a window with basic data and detail data. Basic data must be
uneditable until you pulse "edit" button. When you finish and pulse "Ok"
or "cancel", data is uneditable again. But I need data is always visible,
because it seems rare that user must to edit for viewing text fields.
That is the matter. If there is a standar form of doing that, I'd like to
know, please :)
With GtkTextView in GTK 2, you just call
gtk_text_view_set_editable(textview, FALSE). I'm not sure what GtkText
has, it may have something similar.
i.e. insensitive isn't really the same as not editable.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]