Logo Search packages:      
Sourcecode: ardour version File versions  Download package

bool Gtk::Widget::event ( GdkEvent *  event  )  [inherited]

Rarely-used function. This function is used to emit the event signals on a widget (those signals should never be emitted without using this function to do so). If you want to synthesize an event though, don't use this function; instead, use gtk_main_do_event() so the event will behave as if it were in the event queue. Don't synthesize expose events; instead, use gdk_window_invalidate_rect() to invalidate a region of the window.

Parameters:
event A Gdk::Event.
Returns:
Return from the event signal emission (true if the event was handled).

Definition at line 5138 of file widget.cc.

References Gtk::Widget::gobj().

{
  return gtk_widget_event(gobj(), event);
}


Generated by  Doxygen 1.6.0   Back to index