[pygtk] Getting tooltips color
Nikos Kouremenos
kourem at gmail.com
Fri Nov 11 21:32:49 WST 2005
win = gtk.Window()
win.set_name('gtk-tooltips') # this draws it as tooltip
then you get the style and whatever color u like
On 11/11/05, Andrew Conkling <andrew.conkling at gmail.com> wrote:
> On 11/11/05, Brian <dol-sen at telus.net> wrote:
> > On Thu, 2005-10-11 at 23:54 -0500, Andrew Conkling wrote:
> > > I was wondering if it were possible to get the GTK+ theme's color for
> > > tooltips. gtk.Tooltips() does not have a .get_style() since it's not
> > > a subclass of gtk.Widget(), so it seems some voodoo magic would be
> > > necessary to get the color.
> > >
> > > Also, a related question for my purposes: is it possible to set a
> > > border around a gtk.Window()? If so, I'll need to figure out the
> > > color of the tooltips' border also. :)
> >
> > I believe that came up just a few weeks ago and had replies with
> > solutions. Although it may have been on the gtk-app-devel mail list.
> >
> > Check the archives and you should find your solution.
>
> I'll keep taking a look, but I didn't see anything about tooltips on
> either list....
>
> --
> http://aconkling.blogspot.com
>
> _______________________________________________
> pygtk mailing list pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
>
>
>
--
Nikos Kouremenos | Jabber ID: nkour at jabber.org | http://members.hellug.gr/nkour
More information about the pygtk
mailing list