Re: GtkTextView Vs GtkText

2008-02-25 Thread Dharmosoth Seetharam
Can you please suggest me how to solve the problem (setting background image to textview) ? Is there any this i missed to set. -RAM --- Emmanuele Bassi <[EMAIL PROTECTED]> wrote: > > On Fri, 2008-02-22 at 10:28 +, Dharmosoth > Seetharam wrote: > > Hi, > > >

GtkTextView Vs GtkText

2008-02-22 Thread Dharmosoth Seetharam
Hi, I am little aware of these two widget. But got struck at setting font and setting style to GtkText. 1) I understand how to set font to the GtkTextView [ PangoFontDescription *font_desc; font_desc = pango_font_description_from_string ("Courier,Medium 12");

gtk_widget_set_style not effecting properly

2008-02-13 Thread Dharmosoth Seetharam
Hi all, I am setting the style attribute to the textview widget but, it doesn't effect the same. my goal is - to set the background image to the textview by using the style object. this is the code snippet --- GtkStyle *style; GtkWidget *textview; style = gtk_style_new(); style->bg_pixmap[GTK

Textview background image

2008-02-04 Thread Dharmosoth Seetharam
Hi All, I am trying to set the background image to the textview widget. for that i am doing the following things. GtkRcStyle *rc_style; GtkWidget *message_widget; gchar *filename="/etc/popup_warning.xpm"; message_widget = gtk_text_view_new (); rc_style->bg_pixmap_name[GTK_STATE_NORMAL] = f

Setting background image to Window widget

2008-01-28 Thread Dharmosoth Seetharam
Hi All, I am new to GTK+ programming. I am using the C interface to work with gtk. I have problem in putting the background image to the Gtk window Widget. my program looks like : gtk_init(&argc, &argv); window = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_title(w