On Tue, Mar 4, 2008 at 9:09 AM, Jesper K. Pedersen <[EMAIL PROTECTED]> wrote: > I(newbie in Gtk#) am writing a small application where I need to > "highlight" entry of data in a Gtk.Entry widget. > > Any ideas of how to best achieve that? > > My first guess is that there is some means of controlling the style of the > entry but I am having trouble finding any examples of this) > > Any ideas are greatly appreciated
http://go-mono.com/docs/monodoc.ashx?link=M%3aGtk.Widget.ModifyBg(Gtk.StateType%2cGdk.Color) (though it might be ModifyBase, can't remember which style/state is used for the background of the Entry) http://ometer.com/gtk-colors.html Note also that setting styles will only affect the things that that widget actually draws, e.g. containers don't draw backgrounds. -- Michael Hutchinson http://mjhutchinson.com _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
