Re: Different spacing values for lines in pango layout
- From: Vitaly Ostanin <vyt vzljot ru>
- To: gtk-app-devel-list gnome org
- Subject: Re: Different spacing values for lines in pango layout
- Date: Tue, 17 Aug 2004 17:25:34 +0400
Vitaly Ostanin wrote:
Hello.
Please, tell me, can I use different spacing values for lines in pango
layout? I write custom tree model (in pygtk2) and custom cell renderer.
Self reply for archives: look at pango.AttrShape
Cell renderer uses pango_layout for displaying multilined text in pygtk2
on_render (gtk_cell_renderer_render ()). Words in pango_layout requires
different spacing above lines.
Such functionality exist in gtk_tree_view ():
I can set gtk_text_view_set_pixels_above_lines() for different tags. How
can I use it for rendering custom cell renderer?
--
Regards, Vyt
mailto: vyt vzljot ru
JID: vyt vzljot ru
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]