Re: Decoration of TextView?

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


Lars Clausen (| 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]