Re: bolding text



although inefficent IMHO, you can always get whatever
is between _() in a gchar, and then concatenate <b>
and </b> at the front and end of it then pass it.

Maher

--- mdew <mdew orcon net nz> wrote:
Currently Ive been playing with
gtk_label_set_use_markup to set bold
text within a label...

      w = gtk_label_new ( _("<b>This is Bold</b>") );
      gtk_label_set_use_markup (GTK_LABEL (w), TRUE);

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?

My Problem Below..

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


-- 
ph33r!
Linux mdew 2.4.19-pre7-xfs-aa #4 Fri Apr 26 12:14:19
NZST 2002 i686
unknown
GPG Key: http://mdew.orcon.net.nz/gpg
  


ATTACHMENT part 2 application/pgp-signature
name=signature.asc



__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com



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