Re: How to make a strikethrough font?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Antono,


-----Original Message-----
>From: Antono Vasiljev <self@xxxxxxxxxxx>
>Sent: Feb 10, 2011 5:31 PM
>To: ikorot@xxxxxxxxxxxxx
>Cc: gtk-list@xxxxxxxxx
>Subject: Re: How to make a strikethrough font?
>
>On Thu, 2011-02-10 at 16:02 -0800, ikorot@xxxxxxxxxxxxx wrote:
>
>> I'm kind of new to GTK+.
>> When looking thru the documentation of stable Pango,
>> I noticed that there is no simple function call to
>> make a strikethrough font.
>> 
>> Something like: pango_font_description_set_strikethrough().
>> 
>> Is it an oversight? How do I create such a font?
>
>Probably you should use pango markup:
>http://library.gnome.org/devel/pango/stable/PangoMarkupFormat.html

Basically what I'm looking for is have a dialog with the checkbox.
When the user select the checkbox the font selected will be swtched between
strikethrough and regular.

AFAICT, you are referring to pango_attr_strikethrough_new().
But how do I go from the pango_font_description_new() to the function above?
Or I am wrong and you refer to another function?

>
>-- 
>xmpp:self@xxxxxxxxxxx
>gopher://antono.info/
>http://antono.info/
>

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux