Re: Decoration of TextView?
- From: Diego Zuccato <diego otello alma unibo it>
- To: Lars Clausen <lrclause cs uiuc edu>
- Cc: gtk-list gnome org
- Subject: Re: Decoration of TextView?
- Date: Fri, 28 Feb 2003 22:08:36 +0000
Lars Clausen wrote:
> I'm switching an old GtkText widget to GtkTextView, but notice that the
> GtkTextView has no pretty bevelled border around it. I fail to see a
> decoration widget that adds this, and gtk_text_view_set_window_size() only
> creates the gray flat border. Did I miss something? How do I give it a
> nice border like e.g. GtkEntry?
Since you're probably placing it inside a scrolled window, then :
gtk_scrolled_window_set_shadow_type(sw, GTK_SHADOW_ETCHED_IN);
In glade you'll find a new item in the first tab.
BYtE,
Diego.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]