Re: bolding text



mdew <mdew orcon net nz> writes: 
Im trying to add bold text used within another function, is
gtk_label_set_use_markup only suitable for labels only? is there another
way to bold text?

You can also set the attr list on the label (see examples in the "eel"
library from the GNOME 2 preview releases), or use
gtk_widget_modify_font() to modify the font on any widget.
 
get_and_add_header_nolock (GtkWidget   * table,
                           int         * row,
                           GHashTable  * run_hash,
                           const char  * header,
                           const char  * header_i18n,
                           char          delimiter,
                           int           max_len)

                      get_and_add_header_nolock (table, &row, hash, HEADER_FROM, _("I Want
this text in Bold"), ' ', max_header_width);


So what kind of widget will be displaying the bold text? Probably
a label, right?

Havoc



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