[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, Kim Schulz wrote:

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

Det er 2.0 ikke? Jeg sidder med 1.2... :-/

Mads

-- 
Mads Bondo Dydensborg.                               sslug@sslug
I don't say this lightly. However, I really think that the U.S. no longer
is classifiable as a democracy, but rather as a plutocracy.
                               - H. Peter Anvin



 
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] *