GFC Logo GFC Title Logo
Reference Manual
Main Page  |  Namespace List  |  Alphabetical List  |  Class List  |  File List

widgetsignals.hh

Go to the documentation of this file.
00001 /* GFC-UI: GTK+ Foundation Classes (User Interface Library) 00002 * Copyright (C) 2004 The GFC Development Team. 00003 * 00004 * This program is free software; you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License as published by 00006 * the Free Software Foundation; either version 2 of the License, or 00007 * (at your option) any later version. 00008 * 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU Library General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU Library General Public License 00015 * along with this program; if not, write to the Free Software 00016 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00017 */ 00018 00024 00025 #ifndef GFC_GTK_WIDGET_SIGNALS_HH 00026 #define GFC_GTK_WIDGET_SIGNALS_HH 00027 00028 #ifndef GFC_GTK_OBJECT_SIGNALS_HH 00029 #include <gfc/gtk/objectsignals.hh> 00030 #endif 00031 00032 namespace GFC { 00033 00034 namespace Gtk { 00035 00038 00039 class WidgetSignals : public ObjectSignals 00040 { 00041 protected: 00044 00045 WidgetSignals(Widget *widget); 00048 00049 virtual ~WidgetSignals() = 0; 00051 00053 00054 public: 00057 00058 virtual void on_show(); 00060 00061 virtual void on_hide(); 00063 00064 virtual void on_map(); 00066 00067 virtual void on_unmap(); 00069 00070 virtual void on_realize(); 00072 00073 virtual void on_unrealize(); 00075 00076 virtual void on_size_request(Requisition *requisition); 00079 00080 virtual void on_size_allocate(const Allocation& allocation); 00083 00084 virtual void on_state_changed(StateType previous_state); 00087 00088 virtual void on_parent_set(Widget *previous_parent); 00091 00092 virtual void on_hierarchy_changed(Widget *previous_toplevel); 00098 00099 virtual void on_style_set(Style* previous_style); 00102 00103 virtual void on_direction_changed(TextDirection previous_direction); 00106 00107 virtual void on_grab_notify(bool was_grabbed); 00114 00115 virtual void on_child_notify(GParamSpec *pspec); 00118 00119 virtual bool on_mnemonic_activate(bool group_cycling); 00122 00123 virtual void on_grab_focus(); 00125 00126 virtual bool on_focus(DirectionType direction); 00130 00131 virtual void on_screen_changed(Gdk::Screen *previous_screen); 00134 00135 virtual bool on_can_activate_accel(unsigned int signal_id); 00143 00147 00148 virtual void on_selection_get(SelectionData& selection_data, unsigned int info, unsigned int time); 00161 00162 virtual void on_selection_received(const SelectionData& selection_data, unsigned int time); 00167 00171 00172 virtual void on_drag_begin(DragContext& context); 00180 00181 virtual void on_drag_end(DragContext& context); 00187 00188 virtual void on_drag_data_get(DragContext& context, SelectionData& data, unsigned int info, unsigned int time); 00201 00202 virtual void on_drag_data_delete(DragContext& context); 00211 00215 00216 virtual void on_drag_leave(DragContext& context, unsigned int time); 00224 00225 virtual bool on_drag_motion(DragContext& context, int x, int y, unsigned int time); 00251 00252 virtual bool on_drag_drop(DragContext& context, int x, int y, unsigned int time); 00264 00265 virtual void on_drag_data_received(DragContext& context, int x, int y, const SelectionData& data, unsigned int info, unsigned int time); 00273 00277 00278 virtual bool on_event(const Gdk::Event& event); 00282 00283 virtual bool on_button_press_event(const Gdk::EventButton& event); 00287 00288 virtual bool on_button_release_event(const Gdk::EventButton& event); 00292 00293 virtual bool on_scroll_event(const Gdk::EventScroll& event); 00297 00298 virtual bool on_motion_notify_event(const Gdk::EventMotion& event); 00302 00303 virtual bool on_delete_event(const Gdk::EventAny& event); 00315 00316 virtual bool on_destroy_event(const Gdk::EventAny& event); 00320 00321 virtual bool on_expose_event(const Gdk::EventExpose& event); 00325 00326 virtual bool on_key_press_event(const Gdk::EventKey& event); 00330 00331 virtual bool on_key_release_event(const Gdk::EventKey& event); 00335 00336 virtual bool on_enter_notify_event(const Gdk::EventCrossing& event); 00340 00341 virtual bool on_leave_notify_event(const Gdk::EventCrossing& event); 00345 00346 virtual bool on_configure_event(const Gdk::EventConfigure& event); 00352 00353 virtual bool on_focus_in_event(const Gdk::EventFocus& event); 00357 00358 virtual bool on_focus_out_event(const Gdk::EventFocus& event); 00362 00363 virtual bool on_map_event(const Gdk::EventAny& event); 00367 00368 virtual bool on_unmap_event(const Gdk::EventAny& event); 00372 00373 virtual bool on_property_notify_event(const Gdk::EventProperty& event); 00377 00378 virtual bool on_selection_clear_event(const Gdk::EventSelection& event); 00382 00383 virtual bool on_selection_request_event(const Gdk::EventSelection& event); 00387 00388 virtual bool on_selection_notify_event(const Gdk::EventSelection& event); 00392 00393 virtual bool on_proximity_in_event(const Gdk::EventProximity& event); 00398 00399 virtual bool on_proximity_out_event(const Gdk::EventProximity& event); 00403 00404 virtual bool on_visibility_notify_event(const Gdk::EventVisibility& event); 00409 00410 virtual bool on_client_event(const Gdk::EventClient& event); 00414 00415 virtual bool on_no_expose_event(const Gdk::EventAny& event); 00422 00423 virtual bool on_window_state_event(const Gdk::EventWindowState& event); 00428 00430 }; 00431 00432 } // namespace Gtk 00433 00434 } // namespace GFC 00435 00436 #endif // GFC_GTK_WIDGET_SIGNALS_HH 00437

Generated on Tue Aug 24 00:34:33 2004 for GFC-UI by doxygen 1.3.8