[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: making GtkEntry *look* uneditable
- From: Michael Koppelman <michael aps umn edu>
- To: <shark centibyte org>
- Cc: <gtk-app-devel-list gnome org> <gtk-app-devel-list gnome org>
- Subject: Re: making GtkEntry *look* uneditable
- Date: Tue, 30 Dec 2003 17:47:10 -0600
gtk_widget_set_sensitive ?
Michael
On Dec 30, 2003, at 5:35 PM, <shark@centibyte.org> wrote:
> Hello,
>
> After setting a GtkEntry to be not editable with
> gtk_editable_set_editable(GTK_EDITABLE(entry), FALSE); the entry
> widget
> still looks editable when the user runs the app (their is no visual
> difference between editable and non-editable). I would hope it
> possible
> to make the base color grey (or whichever color is default background
> for labels and other non-editable things). Is there any way to
> change
> this, either from inside the application or from a theme?
> My current solution is to use
> gtk_widget_modify_base(entry, GTK_STATE_NORMAL, &base_color); but if
> that
> is the best solution my question is, how can I set base_color to be the
> same as the background color of other widgets (like labels)?
> Thanks!
>
> -Peter W
>
>
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]