[gtkada] GtkText's properties via .rc
Emmanuel Briot
briot at gnat.com
Mon Mar 19 11:14:39 CET 2001
> For a GtkText widget if i try to change the properties e.g background pixmap
> in particular....the dont seem to have any visible effect....they do have
> some effect as when it redraws itself i can for a split second see the
> background pixmap.....I know it is a complicated widget.....BUT in the book
> 'Teach yourselft GTK+ in 21 days', there is a GtkText with a background
> pixmap......Same for GtkGEntry.
GtkAda/testgtk should be your main documentation :-)
If you look at the GtkText demo, you'll see that we also have a background
pixmap set there.
It is done in the testgtkrc file (there is a line like:
style "text"
{
bg_pixmap[NORMAL]="marble.xpm"
}
)
More information about the gtkada
mailing list