Re: Altering a font in textview
- From: Steve & Patti Getzinger <psatg bluemarble net>
- To: gtk-app-devel-list gnome org
- Subject: Re: Altering a font in textview
- Date: Sun, 26 Jan 2003 19:30:24 -0500
Stacey Keast wrote:
On Sun, 2003-01-26 at 09:32, Steve & Patti Getzinger wrote:
This one has ran me in circles for about a week now. Been through just
about every .h file, books, archive, ...
style->font
structure has no member
checking struct we have a PangoTextDescription
so when I attempt style->font_desc we get past the no member portion but
get an invalid cast when using gtk_load_font. I have been looking at
GtkTextTag but for the life of me can not figure out how to designate my
text as a tag as to apply attribute changes not to mention
gtk_object_set says invalid cast when I attempt to use tag as the
object. I am totally lost on this one. How do I change the font of text?
TIA
Steve
gtk-demo is your friend. Double click on Text Widget when you run it.
gtk-demo is my friend :) Didn't even know it was there but it sure
cured my woes for the time being. Thanks
Steve
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]