Re: [gtk-list] Pixmap
- From: Havoc Pennington <hp redhat com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Pixmap
- Date: 08 Mar 2000 16:44:39 -0500
Pedro Medeiros <pjira@solar.com.br> writes:
> What should I do to set a GDK_BUTTON_PRESS_MASK signal for a GtkPixmap?
>
...
> Gtk-CRITICAL **: file gtkwidget.c: line 3819 (gtk_widget_set_events):
> assertion
> `!GTK_WIDGET_NO_WINDOW (widget)' failed.
>
Put the pixmap in an event box, and set the mask on the event box.
> Gtk-WARNING **: gtk_signal_connect(): could not find signal "clicked" in
> the
> `GtkPixmap' class ancestry
>
Connect to button_press_event on the event box.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]