Works! Thanks a lot. :)<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 13, 2012 at 3:33 PM, Flavio Danesse <span dir="ltr"><<a href="mailto:fdanesse@gmail.com" target="_blank">fdanesse@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>screen = Gdk.Screen.get_default()</div><div>css_provider = Gtk.CssProvider()</div><div>style_path = os.path.join(JAMediaObjectsPath, "JAMediaEstilo.css")</div>
<div>css_provider.load_from_path(style_path)</div>
<div>context = Gtk.StyleContext()</div><div>context.add_provider_for_screen(</div><div>    screen,</div><div>    css_provider,</div><div>    Gtk.STYLE_PROVIDER_PRIORITY_USER)</div><div><br></div><div><br></div><br><div class="gmail_quote">

2012/12/13 Aneesh Dogra <span dir="ltr"><<a href="mailto:lionaneesh@gmail.com" target="_blank">lionaneesh@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">
I am trying to get a functionality like <a href="http://erikos.sweettimez.de/page/2/" target="_blank">http://erikos.sweettimez.de/page/2/</a><div><br></div><div>I tried adding :-</div><div><br></div><div><pre style="border:1px solid blue;color:blue;padding:10px;background-color:rgb(255,255,179);line-height:16.78333282470703px;text-align:justify">
style_context = self.get_style_context()

css_provider = Gtk.CssProvider()
css_provider.load_from_path('gtk-widgets1.css')

style_context.add_provider(css_provider,
                           Gtk.STYLE_PROVIDER_PRIORITY_USER)</pre><div><br></div><div>in the Application's init but it doesn't seem to work.</div><div><br></div><div>I would prefer to get the exact same functionality but any alternates which can provide similar effects should do the job. What I don't wanna use is cairo. I want something CSS like.</div>


<div><br></div><div>I am mainly trying to style a Gtk.TextView and Gtk.Entry.</div><span><font color="#888888">-- <br>Thanks<br>Aneesh Dogra (lionaneesh)<br>
</font></span></div>
<br></div></div>_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<br></blockquote></div><br>
</blockquote></div><br><br clear="all"><br>-- <br>Thanks<br>Aneesh Dogra (lionaneesh)<br>
</div>