Re: multiple top level windows??
- From: "Jose Hevia" <100026838 alumnos uc3m es>
- To: gtk-list gnome org
- Subject: Re: multiple top level windows??
- Date: Tue, 15 Nov 2005 22:40:12 +0100 (CET)
> On 11/15/05, Jose Hevia <100026838 alumnos uc3m es> wrote:
> > I need to create text tables in a program, so I use gtk_text_view*,
> > gtk_text_buffer* functions. When created, tables look inconsistent
> > because the "blank space" between words is not the same space that a
> > letter space.
>
> Sounds like you need a monospaced font. Try:
>
> text = gtk_text_view_new();
> font_desc = pango_font_description_from_string( "Mono" );
> gtk_widget_modify_font( text, font_desc );
> pango_font_description_free( font_desc );
Thanks!!, IT works!!
Jose Hevia
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]