Re: Creating a windowless fake tooltip



On Thu, Jun 3, 2010 at 9:58 PM, Aaron Cohen <aaron assonance org> wrote:
> Hi all, quick question.
>
> I'm trying to create a "fake tooltip", but I don't want to make it in
> a window, I want to draw it into an EventBox.
>
> The problem is that doing gtk_set_name(eventbox, "gtk-tooltip")
> doesn't seem to have any effect.

Since no one else has responded, I'll respond to myself.

gtk_set_name(offscreenWindow, "gtk-tooltip") seems to work. Is this
supported? OffscreenWindow seems to indicate that it shouldn't be used
as a GtkWindow since that's merely an implementation detail.

Barring that, is there some other container that uses the same style
properties as a window that can be used?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]