On 11/11/05, Nikos Kouremenos [EMAIL PROTECTED] wrote:
win = gtk.Window()
win.set_name('gtk-tooltips') # this draws it as tooltip
then you get the style and whatever color u like
Many thanks; this does indeed work. However, it seems to be missing
the border (black for me). I don't think
On 11/13/05, Gian Mario Tagliaretti [EMAIL PROTECTED] wrote:
def _on_expose_event(self, widget, event):
w, h = widget.size_request()
widget.style.paint_flat_box(widget.window,
gtk.STATE_NORMAL, gtk.SHADOW_IN,
2005/11/13, Andrew Conkling [EMAIL PROTECTED]:
That doesn't seem to do anything for me.
make sure that the argument (detailed description) is tooltip (and
not gtk-tooltips or tooltips) and you will have the border around the
window.
cheers
--
Gian Mario Tagliaretti
PyGTK GUI programming
On Thu, 2005-11-10 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.
On 11/11/05, Brian [EMAIL PROTECTED] 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
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 [EMAIL PROTECTED] wrote:
On 11/11/05, Brian [EMAIL PROTECTED] wrote:
On Thu, 2005-10-11 at 23:54 -0500, Andrew Conkling wrote:
I was
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
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.