Re: Canvas and tooltips
- From: Lauris Kaplinski <lauris ariman ee>
- To: Juan Toledo <toledo users sourceforge net>
- cc: "gnome-devel-list gnome org" <gnome-devel-list gnome org>, recipient list not shown: ;
- Subject: Re: Canvas and tooltips
- Date: Wed, 29 Mar 2000 02:54:31 +0200 (CEST)
Unfortunately (or fortunately - as otherwise canvas would be
bloat'o'bloats) canvas items are not GtkWidgets, although canvas itself
is.
Lauris
On Wed, 29 Mar 2000, Juan Toledo wrote:
> Is it possible to set tooltips to canvas items?
> Up until now I've been doing my own tooltips (which don't look really
> nice), when I realized that you could supposedly use GtkTooltips on any
> widget. But when I tried
>
> 409 gtk_tooltips_set_tip (canvas_node->tooltips,
> 410 GTK_WIDGET(canvas_node->node_item),
> 411 str->str,
> 412 NULL);
>
> I got
>
> Gtk-CRITICAL **: file gtkwidget.c: line 4864 (gtk_widget_ref): assertion
>
> `GTK_IS_WIDGET (widget)' failed.
>
> Gtk-WARNING **: gtk_signal_connect(): could not find signal "unmap" in
> the `GnomeCanvasEllipse' class ancestry
>
> Gtk-WARNING **: gtk_signal_connect(): could not find signal "unrealize"
> in the `GnomeCanvasEllipse' class ancestry
> (gdb)
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]