Re: Decoration of TextView?
- From: Lars Clausen <lrclause cs uiuc edu>
- To: gtk-list gnome org
- Subject: Re: Decoration of TextView?
- Date: Fri, 28 Feb 2003 16:28:34 -0600
On Fri, 28 Feb 2003, Diego Zuccato wrote:
> 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);
Actually, I'm not placing it in a scrolled window, though perhaps I
should.
Thanks,
-Lars
--
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| HÃ¥rdgrim of Numenor
"I do not agree with a word that you say, but I |----------------------------
will defend to the death your right to say it." | Where are we going, and
--Evelyn Beatrice Hall paraphrasing Voltaire | what's with the handbasket?
[
Date Prev][
Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]