# Using colours in Gtk::Entry

**URL:** <https://www.ruby-forum.com/t/using-colours-in-gtk-entry/210910>\
**Category:** Ruby-Gnome 2\
**Created:** [August 20, 2011, 11:28am UTC](https://www.ruby-forum.com/t/using-colours-in-gtk-entry/210910 "2011-08-20T11:28:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [August 20, 2011, 11:28am UTC](https://www.ruby-forum.com/t/using-colours-in-gtk-entry/210910/1 "2011-08-20T11:28:23Z")

</div>

Hi,

I am writing a little wrapper over a commandline script.

The input can be something like:

extract audio | upload to [www.foobar.com](http://www.foobar.com)

My question is:

Is there an easy way to make the ‘|’ character red when a user inputs  
this, via Gtk::Entry?

And if there is no way to use colours in Gtk::Entry, is there another  
way to use a oneline input field?
