Re: Question regarding Frames



On Monday 10 November 2003 23:39, Vikram S Bartakke wrote:

   I want to increase font size and change font color of the
frame-label. Can anyone tell me which api could be helpful for me to do
the needful.

GtkWidget *label;

label = gtk_frame_get_label_widget(GTK_FRAME(frame));

gtk_label_set_markup(GTK_LABEL(label), "<span size='x-large' 
color='DarkRed'><b>foo</b></span>");

for example. (See the pango API docs for pango markup details).

cheers
-Tim




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