[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [PROG] Fremhæve label i gtk--? (eller gtk)



On Mon, 12 Aug 2002 10:22:44 +0200 (CEST)
Mads Bondo Dydensborg <sslug@sslug> wrote:
> Hejsa alle
> 
> Jeg har et label jeg gerne vil fremhæve i en gtk applikation.
> 
> Er det muligt? Jeg er bare interesseret i at have et område med tekst
> der har omtrent de samme egenskaber som en label, men bruger f.eks. en
> fed, eller rød tekst.

for at gøre den fed:
label = gtk_label_new("<b>fed tekst</b>");
gtk_label_set_use_markup(GTK_LABEL(label), TRUE);

For at skifte fontfarve skal du kigge på:
gtk_widget_modify_fg()


-- 
Kim Schulz - Freelance Development    | "Home life as we understand it
www.schulz.dk  - En nørds bekendelser | is no more natural to us than 
www.linuxia.dk - hverdagens små hacks | a cage is to a  cockatoo." -- 


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 19:58 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *