Re: multiple top level windows??



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 );

J



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