GtkCellRendererState comparison

2012-04-19 Thread Bijan Binaee
hi once i compile my code i got following a warning how can I fix it? gtksourcefoldcellrenderer.c:331:14: warning: comparison between 'GtkCellRendererState' and 'enum ' [-Wenum-compare] here is the code: if (state == GTK_STATE_PRELIGHT) also the full source is here:http://paste.kde.org/460382/<

GtkTextView Css Styling

2012-03-05 Thread Bijan Binaee
Hi Everyone i try to set background-image for GtkTextView but it's not work!!! why? also i use the same code for set background-image for GtkEntry and it worked is this a bug?or do i need to fill a bug my aim is set some border with radius for GtkTextView i use GTK 3.2 Thanks! ___

How can display texture as background of GtkWindow

2012-02-19 Thread Bijan Binaee
Hi this week i try to set some texture as background of GtkWindow . i use css provider and bottom line as css source background-image: url("/home/bijan/Pictures/texture/bg2.png") ; the problem is that gtk+ not support repeat attribute so the texture fill instead of repeat in background does