Reference Manual
Inti Logo
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

widget.h

Go to the documentation of this file.
00001 /*  Inti: Integrated Foundation Classes
00002  *  Copyright (C) 2002-2003 The Inti Development Team.
00003  *  Copyright (C) 2000 Red Hat, Inc.
00004  *
00005  *  This program is free software; you can redistribute it and/or modify
00006  *  it under the terms of the GNU General Public License as published by
00007  *  the Free Software Foundation; either version 2 of the License, or
00008  *  (at your option) any later version.
00009  *
00010  *  This program is distributed in the hope that it will be useful,
00011  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  *  GNU Library General Public License for more details.
00014  *
00015  *  You should have received a copy of the GNU Library General Public License
00016  *  along with this program; if not, write to the Free Software
00017  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00018  */
00019 
00025 
00026 #ifndef INTI_GTK_WIDGET_H
00027 #define INTI_GTK_WIDGET_H
00028 
00029 #ifndef INTI_GTK_OBJECT_H
00030 #include <inti/gtk/object.h>
00031 #endif
00032 
00033 #ifndef INTI_ATK_IMPLEMENTOR_H
00034 #include <inti/atk/implementor.h>
00035 #endif
00036 
00037 #ifndef INTI_GTK_ADJUSTMENT_H
00038 #include <inti/gtk/adjustment.h>
00039 #endif
00040 
00041 #ifndef INTI_GTK_ENUMS_H
00042 #include <inti/gtk/enums.h>
00043 #endif
00044 
00045 #ifndef INTI_GDK_EVENTS_H
00046 #include <inti/gdk/events.h>
00047 #endif
00048 
00049 #ifndef INTI_GTK_SELECTION_H
00050 #include <inti/gtk/selection.h>
00051 #endif
00052 
00053 namespace Inti {
00054 
00055 namespace Atk {
00056 class Object;
00057 }
00058 
00059 namespace Gdk {
00060 class Bitmap;
00061 class Color;
00062 class Colormap;
00063 class Cursor;
00064 class Display;
00065 class Event;
00066 class Pixbuf;
00067 class Region;
00068 class Screen;
00069 class Visual;
00070 class Window;
00071 }
00072 
00073 namespace G {
00074 class Value;
00075 }
00076 
00077 namespace Pango {
00078 class Context;
00079 class FontDescription;
00080 class Layout;
00081 }
00082 
00083 namespace Gtk {
00084 
00085 class AccelGroup;
00086 class AccelKey;
00087 class Clipboard;
00088 class Container;
00089 class RcStyle;
00090 class Selection;
00091 class Settings;
00092 class Style;
00093 class WidgetClass;
00094 
00097 
00098 enum WidgetFlags
00099 {
00100         TOP_LEVEL = GTK_TOPLEVEL,
00104         
00105         NO_WINDOW = GTK_NO_WINDOW,
00109         
00110         REALIZED = GTK_REALIZED,
00112         
00113         MAPPED = GTK_MAPPED,
00116         
00117         VISIBLE = GTK_VISIBLE,
00120         
00121         SENSITIVE = GTK_SENSITIVE,
00125         
00126         PARENT_SENSITIVE = GTK_PARENT_SENSITIVE,
00131 
00132         CAN_FOCUS = GTK_CAN_FOCUS,
00134 
00135         HAS_FOCUS = GTK_HAS_FOCUS,
00138         
00139         CAN_DEFAULT = GTK_CAN_DEFAULT,
00141         
00142         HAS_DEFAULT = GTK_HAS_DEFAULT,
00144         
00145         HAS_GRAB = GTK_HAS_GRAB,
00149         
00150         RC_STYLE = GTK_RC_STYLE,
00153         
00154         COMPOSITE_CHILD = GTK_COMPOSITE_CHILD,
00157         
00158         NO_REPARENT = GTK_NO_REPARENT,
00160         
00161         APP_PAINTABLE = GTK_APP_PAINTABLE,
00164         
00165         RECEIVES_DEFAULT = GTK_RECEIVES_DEFAULT,
00168         
00169         DOUBLE_BUFFERED = GTK_DOUBLE_BUFFERED
00172 };
00173 
00175 
00176 typedef unsigned int WidgetFlagsField;
00177 
00180 
00181 enum WidgetHelpType
00182 {
00183         WIDGET_HELP_TOOLTIP = GTK_WIDGET_HELP_TOOLTIP, 
00184         WIDGET_HELP_WHATS_THIS = GTK_WIDGET_HELP_WHATS_THIS 
00185 };
00186 
00194 
00195 class Allocation : public Gdk::Rectangle
00196 {
00197 public:
00200 
00201         Allocation();
00203 
00204         Allocation(int x, int y, int width, int height);
00210         
00214 
00215         GtkAllocation* gtk_allocation() const { return (GtkAllocation*)this; }
00218         
00220 };
00221 
00228 
00229 class Requisition
00230 {
00231         GtkRequisition requisition_;
00232 
00233 public:
00236 
00237         Requisition();
00239 
00240         Requisition(int width, int height);
00244 
00245         Requisition(const GtkRequisition& requisition);
00248 
00252 
00253         GtkRequisition* gtk_requisition() const { return const_cast<GtkRequisition*>(&requisition_); }
00255 
00256         operator GtkRequisition* () const;
00258 
00259         int width() const;
00261 
00262         int height() const;
00264 
00265         bool operator==(const Requisition& other) const;
00268 
00269         bool operator!=(const Requisition& other) const;
00272 
00276 
00277         void set(int width, int height);
00281         
00283 };
00284 
00317 
00318 class Widget : public Object, public Atk::Implementor
00319 {
00320         friend class G::Object;
00321         friend class WidgetClass;
00322 
00323         Widget(const Widget&);
00324         Widget& operator=(const Widget&);
00325 
00326 protected:
00329 
00330         Widget();
00332 
00333         explicit Widget(GtkWidget *widget, bool reference = false);
00340 
00344 
00345         virtual void initialize();
00350         
00351         void set_allocation(const Allocation& allocation);
00357 
00358         void set_window(const Gdk::Window& window);
00367 
00369 //  Override these do_ methods when you want to change the default behaviour of the GtkWidget.
00370 
00371         virtual void do_dispatch_child_properties_changed(unsigned int n_pspecs, GParamSpec **pspecs);
00372 
00373         virtual void do_show_all();
00374 
00375         virtual void do_hide_all();
00376 
00377         virtual AtkObject* do_get_accessible();
00378 
00381 
00382         virtual void on_show();
00384 
00385         virtual void on_hide();
00387 
00388         virtual void on_map();
00390 
00391         virtual void on_unmap();
00393 
00394         virtual void on_realize();
00396 
00397         virtual void on_unrealize();
00399 
00400         virtual void on_size_request(Requisition *requisition);
00403 
00404         virtual void on_size_allocate(const Allocation& allocation);
00407 
00408         virtual void on_state_changed(StateType previous_state);
00411 
00412         virtual void on_parent_set(Widget *previous_parent);
00415 
00416         virtual void on_hierarchy_changed(Widget *previous_toplevel);
00422                 
00423         virtual void on_style_set(Style* previous_style);
00426 
00427         virtual void on_direction_changed(TextDirection  previous_direction);
00430 
00431         virtual void on_grab_notify(bool was_grabbed);
00438 
00439         virtual void on_child_notify(GParamSpec *pspec);
00442 
00443         virtual bool on_mnemonic_activate(bool group_cycling);
00446 
00447         virtual void on_grab_focus();
00449 
00450         virtual bool on_focus(DirectionType direction);
00454 
00455         virtual void on_screen_changed(Gdk::Screen *previous_screen);
00458 
00462 
00463         virtual void on_selection_get(SelectionData& selection_data, unsigned int info, unsigned int time);
00476         
00477         virtual void on_selection_received(const SelectionData& selection_data, unsigned int time);
00482                 
00486 
00487         virtual void on_drag_begin(DragContext& context);
00494 
00495         virtual void on_drag_end(DragContext& context);
00501 
00502         virtual void on_drag_data_get(DragContext& context, SelectionData& data, unsigned int info, unsigned int time);
00515                 
00516         virtual void on_drag_data_delete(DragContext& context);
00524         
00528 
00529         virtual void on_drag_leave(DragContext& context, unsigned int time);
00536         
00537         virtual bool on_drag_motion(DragContext& context, int x, int y, unsigned int time);
00563         
00564         virtual bool on_drag_drop(DragContext& context, int x, int y, unsigned int time);
00576 
00577         virtual void on_drag_data_received(DragContext& context, int x, int y, const SelectionData& data, unsigned int info, unsigned int time);
00585         
00589 
00590         virtual bool on_event(const Gdk::Event& event);
00594 
00595         virtual bool on_button_press_event(const Gdk::EventButton& event);
00599 
00600         virtual bool on_button_release_event(const Gdk::EventButton& event);
00604 
00605         virtual bool on_scroll_event(const Gdk::EventScroll& event);
00609 
00610         virtual bool on_motion_notify_event(const Gdk::EventMotion& event);
00614 
00615         virtual bool on_destroy_event(const Gdk::EventAny& event);
00619 
00620         virtual bool on_expose_event(const Gdk::EventExpose& event);
00624 
00625         virtual bool on_key_press_event(const Gdk::EventKey& event);
00629 
00630         virtual bool on_key_release_event(const Gdk::EventKey& event);
00634 
00635         virtual bool on_enter_notify_event(const Gdk::EventCrossing& event);
00639 
00640         virtual bool on_leave_notify_event(const Gdk::EventCrossing& event);
00644 
00645         virtual bool on_configure_event(const Gdk::EventConfigure& event);
00651 
00652         virtual bool on_focus_in_event(const Gdk::EventFocus& event);
00656 
00657         virtual bool on_focus_out_event(const Gdk::EventFocus& event);
00661 
00662         virtual bool on_map_event(const Gdk::EventAny& event);
00666 
00667         virtual bool on_unmap_event(const Gdk::EventAny& event);
00671 
00672         virtual bool on_property_notify_event(const Gdk::EventProperty& event);
00676 
00677         virtual bool on_selection_clear_event(const Gdk::EventSelection& event);
00681 
00682         virtual bool on_selection_request_event(const Gdk::EventSelection& event);
00686 
00687         virtual bool on_selection_notify_event(const Gdk::EventSelection& event);
00691 
00692         virtual bool on_proximity_in_event(const Gdk::EventProximity& event);
00697 
00698         virtual bool on_proximity_out_event(const Gdk::EventProximity& event);
00702 
00703         virtual bool on_visibility_notify_event(const Gdk::EventVisibility& event);
00708 
00709         virtual bool on_client_event(const Gdk::EventClient& event);
00713 
00714         virtual bool on_no_expose_event(const Gdk::EventAny& event);
00721 
00722         virtual bool on_window_state_event(const Gdk::EventWindowState& event);
00727 
00729 //  Properties
00730 
00731         typedef G::Property<String> NamePropertyType;
00732         typedef G::PropertyProxy<G::Object, NamePropertyType> NamePropertyProxy;
00733         static const NamePropertyType name_property;
00734 
00735         typedef G::Property<Container*, G::Object*> ParentPropertyType;
00736         typedef G::PropertyProxy<G::Object, ParentPropertyType> ParentPropertyProxy;
00737         static const ParentPropertyType parent_property;
00738 
00739         typedef G::Property<int> WidthRequestPropertyType;
00740         typedef G::PropertyProxy<G::Object, WidthRequestPropertyType> WidthRequestPropertyProxy;
00741         static const WidthRequestPropertyType width_request_property;
00742 
00743         typedef G::Property<int> HeightRequestPropertyType;
00744         typedef G::PropertyProxy<G::Object, HeightRequestPropertyType> HeightRequestPropertyProxy;
00745         static const HeightRequestPropertyType height_request_property;
00746 
00747         typedef G::Property<bool> VisiblePropertyType;
00748         typedef G::PropertyProxy<G::Object, VisiblePropertyType> VisiblePropertyProxy;
00749         static const VisiblePropertyType visible_property;
00750 
00751         typedef G::Property<bool> SensitivePropertyType;
00752         typedef G::PropertyProxy<G::Object, SensitivePropertyType> SensitivePropertyProxy;
00753         static const SensitivePropertyType sensitive_property;
00754 
00755         typedef G::Property<bool> AppPaintablePropertyType;
00756         typedef G::PropertyProxy<G::Object, AppPaintablePropertyType> AppPaintablePropertyProxy;
00757         static const AppPaintablePropertyType app_paintable_property;
00758 
00759         typedef G::Property<bool> CanFocusPropertyType;
00760         typedef G::PropertyProxy<G::Object, CanFocusPropertyType> CanFocusPropertyProxy;
00761         static const CanFocusPropertyType can_focus_property;
00762 
00763         typedef G::Property<bool> HasFocusPropertyType;
00764         typedef G::PropertyProxy<G::Object, HasFocusPropertyType> HasFocusPropertyProxy;
00765         static const HasFocusPropertyType has_focus_property;
00766 
00767         typedef G::Property<bool> IsFocusPropertyType;
00768         typedef G::PropertyProxy<G::Object, IsFocusPropertyType> IsFocusPropertyProxy;
00769         static const IsFocusPropertyType is_focus_property;
00770         
00771         typedef G::Property<bool> CanDefaultPropertyType;
00772         typedef G::PropertyProxy<G::Object, CanDefaultPropertyType> CanDefaultPropertyProxy;
00773         static const CanDefaultPropertyType can_default_property;
00774 
00775         typedef G::Property<bool> HasDefaultPropertyType;
00776         typedef G::PropertyProxy<G::Object, HasDefaultPropertyType> HasDefaultPropertyProxy;
00777         static const HasDefaultPropertyType has_default_property;
00778 
00779         typedef G::Property<bool> ReceivesDefaultPropertyType;
00780         typedef G::PropertyProxy<G::Object, ReceivesDefaultPropertyType> ReceivesDefaultPropertyProxy;
00781         static const ReceivesDefaultPropertyType receives_default_property;
00782 
00783         typedef G::Property<bool> CompositeChildPropertyType;
00784         typedef G::PropertyProxy<G::Object, CompositeChildPropertyType> CompositeChildPropertyProxy;
00785         static const CompositeChildPropertyType composite_child_property;
00786 
00787         typedef G::Property<Style*, G::Object*> StylePropertyType;
00788         typedef G::PropertyProxy<G::Object, StylePropertyType> StylePropertyProxy;
00789         static const StylePropertyType style_property;
00790 
00791         typedef G::Property<Gdk::EventMask, unsigned int> EventsPropertyType;
00792         typedef G::PropertyProxy<G::Object, EventsPropertyType> EventsPropertyProxy;
00793         static const EventsPropertyType events_property;
00794 
00795         typedef G::Property<Gdk::ExtensionMode, int> ExtensionEventsPropertyType;
00796         typedef G::PropertyProxy<G::Object, ExtensionEventsPropertyType> ExtensionEventsPropertyProxy;
00797         static const ExtensionEventsPropertyType extension_events_property;
00798 
00799 //  Basic Signals
00800 
00801         typedef G::Signal0<void> ShowSignalType;
00802         typedef G::SignalProxy<TypeInstance, ShowSignalType> ShowSignalProxy;
00803         static const ShowSignalType show_signal;
00804 
00805         typedef G::Signal0<void> HideSignalType;
00806         typedef G::SignalProxy<TypeInstance, HideSignalType> HideSignalProxy;
00807         static const HideSignalType hide_signal;
00808 
00809         typedef G::Signal0<void> MapSignalType;
00810         typedef G::SignalProxy<TypeInstance, MapSignalType> MapSignalProxy;
00811         static const MapSignalType map_signal;
00812 
00813         typedef G::Signal0<void> UnmapSignalType;
00814         typedef G::SignalProxy<TypeInstance, UnmapSignalType> UnmapSignalProxy;
00815         static const UnmapSignalType unmap_signal;
00816 
00817         typedef G::Signal0<void> RealizeSignalType;
00818         typedef G::SignalProxy<TypeInstance, RealizeSignalType> RealizeSignalProxy;
00819         static const RealizeSignalType realize_signal;
00820 
00821         typedef G::Signal0<void> UnrealizeSignalType;
00822         typedef G::SignalProxy<TypeInstance, UnrealizeSignalType> UnrealizeSignalProxy;
00823         static const UnrealizeSignalType unrealize_signal;
00824 
00825         typedef G::Signal1<void, GtkRequisition*> SizeRequestSignalType;
00826         typedef G::SignalProxy<TypeInstance, SizeRequestSignalType> SizeRequestSignalProxy;
00827         static const SizeRequestSignalType size_request_signal;
00828 
00829         typedef G::Signal1<void, GtkAllocation*> SizeAllocateSignalType;
00830         typedef G::SignalProxy<TypeInstance, SizeAllocateSignalType> SizeAllocateSignalProxy;
00831         static const SizeAllocateSignalType size_allocate_signal;
00832 
00833         typedef G::Signal1<void, GtkStateType> StateChangedSignalType;
00834         typedef G::SignalProxy<TypeInstance, StateChangedSignalType> StateChangedSignalProxy;
00835         static const StateChangedSignalType state_changed_signal;
00836 
00837         typedef G::Signal1<void, GtkWidget*> ParentSetSignalType;
00838         typedef G::SignalProxy<TypeInstance, ParentSetSignalType> ParentSetSignalProxy;
00839         static const ParentSetSignalType parent_set_signal;
00840 
00841         typedef G::Signal1<void, GtkWidget*> HierarchyChangedSignalType;
00842         typedef G::SignalProxy<TypeInstance, HierarchyChangedSignalType> HierarchyChangedSignalProxy;
00843         static const HierarchyChangedSignalType hierarchy_changed_signal;
00844 
00845         typedef G::Signal1<void, GtkStyle*> StyleSetSignalType;
00846         typedef G::SignalProxy<TypeInstance, StyleSetSignalType> StyleSetSignalProxy;
00847         static const StyleSetSignalType style_set_signal;
00848 
00849         typedef G::Signal1<void, GtkTextDirection> DirectionChangedSignalType;
00850         typedef G::SignalProxy<TypeInstance, DirectionChangedSignalType> DirectionChangedSignalProxy;
00851         static const DirectionChangedSignalType direction_changed_signal;
00852 
00853         typedef G::Signal1<void, bool> GrabNotifySignalType;
00854         typedef G::SignalProxy<TypeInstance, GrabNotifySignalType> GrabNotifySignalProxy;
00855         static const GrabNotifySignalType grab_notify_signal;
00856 
00857         typedef G::Signal1<void, GParamSpec*> ChildNotifySignalType;
00858         typedef G::SignalProxy<TypeInstance, ChildNotifySignalType> ChildNotifySignalProxy;
00859         static const ChildNotifySignalType child_notify_signal;
00860 
00861         typedef G::Signal1<bool, bool> MnemonicActivateSignalType;
00862         typedef G::SignalProxy<TypeInstance, MnemonicActivateSignalType> MnemonicActivateSignalProxy;
00863         static const MnemonicActivateSignalType mnemonic_activate_signal;
00864 
00865         typedef G::Signal0<void> GrabFocusSignalType;
00866         typedef G::SignalProxy<TypeInstance, GrabFocusSignalType> GrabFocusSignalProxy;
00867         static const GrabFocusSignalType grab_focus_signal;
00868 
00869         typedef G::Signal1<bool, GtkDirectionType> FocusSignalType;
00870         typedef G::SignalProxy<TypeInstance, FocusSignalType> FocusSignalProxy;
00871         static const FocusSignalType focus_signal;
00872 
00873         typedef G::Signal1<void, GdkScreen*> ScreenChangedSignalType;
00874         typedef G::SignalProxy<TypeInstance, ScreenChangedSignalType> ScreenChangedSignalProxy;
00875         static const ScreenChangedSignalType screen_changed_signal;
00876 
00877 //  Selection Signals
00878 
00879         typedef G::Signal3<void, GtkSelectionData*, unsigned int, unsigned int> SelectionGetSignalType;
00880         typedef G::SignalProxy<TypeInstance, SelectionGetSignalType> SelectionGetSignalProxy;
00881         static const SelectionGetSignalType selection_get_signal;
00882 
00883         typedef G::Signal2<void, GtkSelectionData*, unsigned int> SelectionReceivedSignalType;
00884         typedef G::SignalProxy<TypeInstance, SelectionReceivedSignalType> SelectionReceivedSignalProxy;
00885         static const SelectionReceivedSignalType selection_received_signal;
00886 
00887 //  Source-side Drag Signals
00888 
00889         typedef G::Signal1<void, GdkDragContext*> DragBeginSignalType;
00890         typedef G::SignalProxy<TypeInstance, DragBeginSignalType> DragBeginSignalProxy;
00891         static const DragBeginSignalType drag_begin_signal;
00892 
00893         typedef G::Signal1<void, GdkDragContext*> DragEndSignalType;
00894         typedef G::SignalProxy<TypeInstance, DragEndSignalType> DragEndSignalProxy;
00895         static const DragEndSignalType drag_end_signal;
00896 
00897         typedef G::Signal4<void, GdkDragContext*, GtkSelectionData*, unsigned int, unsigned int> DragDataGetSignalType;
00898         typedef G::SignalProxy<TypeInstance, DragDataGetSignalType> DragDataGetSignalProxy;
00899         static const DragDataGetSignalType drag_data_get_signal;
00900 
00901         typedef G::Signal1<void, GdkDragContext*> DragDataDeleteSignalType;
00902         typedef G::SignalProxy<TypeInstance, DragDataDeleteSignalType> DragDataDeleteSignalProxy;
00903         static const DragDataDeleteSignalType drag_data_delete_signal;
00904 
00905 //  Target-side Drag Signals
00906 
00907         typedef G::Signal2<void, GdkDragContext*, unsigned int> DragLeaveSignalType;
00908         typedef G::SignalProxy<TypeInstance, DragLeaveSignalType> DragLeaveSignalProxy;
00909         static const DragLeaveSignalType drag_leave_signal;
00910 
00911         typedef G::Signal4<bool, GdkDragContext*, int, int, unsigned int> DragMotionSignalType;
00912         typedef G::SignalProxy<TypeInstance, DragMotionSignalType> DragMotionSignalProxy;
00913         static const DragMotionSignalType drag_motion_signal;
00914 
00915         typedef G::Signal4<bool, GdkDragContext*, int, int, unsigned int> DragDropSignalType;
00916         typedef G::SignalProxy<TypeInstance, DragDropSignalType> DragDropSignalProxy;
00917         static const DragDropSignalType drag_drop_signal;
00918 
00919         typedef G::Signal6<void, GdkDragContext*, int, int, GtkSelectionData*, unsigned int, unsigned int> DragDataReceivedSignalType;
00920         typedef G::SignalProxy<TypeInstance, DragDataReceivedSignalType> DragDataReceivedSignalProxy;
00921         static const DragDataReceivedSignalType drag_data_received_signal;
00922 
00923 //  GDK Event Signals
00924 
00925         typedef G::Signal1<bool, GdkEvent*> EventSignalType;
00926         typedef G::SignalProxy<TypeInstance, EventSignalType> EventSignalProxy;
00927         static const EventSignalType event_signal;
00928 
00929         typedef G::Signal1<bool, GdkEventButton*> ButtonPressEventSignalType;
00930         typedef G::SignalProxy<TypeInstance, ButtonPressEventSignalType> ButtonPressEventSignalProxy;
00931         static const ButtonPressEventSignalType button_press_event_signal;
00932 
00933         typedef G::Signal1<bool, GdkEventButton*> ButtonReleaseEventSignalType;
00934         typedef G::SignalProxy<TypeInstance, ButtonReleaseEventSignalType> ButtonReleaseEventSignalProxy;
00935         static const ButtonReleaseEventSignalType button_release_event_signal;
00936 
00937         typedef G::Signal1<bool, GdkEventScroll*> ScrollEventSignalType;
00938         typedef G::SignalProxy<TypeInstance, ScrollEventSignalType> ScrollEventSignalProxy;
00939         static const ScrollEventSignalType scroll_event_signal;
00940 
00941         typedef G::Signal1<bool, GdkEventMotion*> MotionNotifyEventSignalType;
00942         typedef G::SignalProxy<TypeInstance, MotionNotifyEventSignalType> MotionNotifyEventSignalProxy;
00943         static const MotionNotifyEventSignalType motion_notify_event_signal;
00944 
00945         typedef G::Signal1<bool, GdkEventAny*> DestroyEventSignalType;
00946         typedef G::SignalProxy<TypeInstance, DestroyEventSignalType> DestroyEventSignalProxy;
00947         static const DestroyEventSignalType destroy_event_signal;
00948 
00949         typedef G::Signal1<bool, GdkEventExpose*> ExposeEventSignalType;
00950         typedef G::SignalProxy<TypeInstance, ExposeEventSignalType> ExposeEventSignalProxy;
00951         static const ExposeEventSignalType expose_event_signal;
00952 
00953         typedef G::Signal1<bool, GdkEventKey*> KeyPressEventSignalType;
00954         typedef G::SignalProxy<TypeInstance, KeyPressEventSignalType> KeyPressEventSignalProxy;
00955         static const KeyPressEventSignalType key_press_event_signal;
00956 
00957         typedef G::Signal1<bool, GdkEventKey*> KeyReleaseEventSignalType;
00958         typedef G::SignalProxy<TypeInstance, KeyReleaseEventSignalType> KeyReleaseEventSignalProxy;
00959         static const KeyReleaseEventSignalType key_release_event_signal;
00960 
00961         typedef G::Signal1<bool, GdkEventCrossing*> EnterNotifyEventSignalType;
00962         typedef G::SignalProxy<TypeInstance, EnterNotifyEventSignalType> EnterNotifyEventSignalProxy;
00963         static const EnterNotifyEventSignalType enter_notify_event_signal;
00964 
00965         typedef G::Signal1<bool, GdkEventCrossing*> LeaveNotifyEventSignalType;
00966         typedef G::SignalProxy<TypeInstance, LeaveNotifyEventSignalType> LeaveNotifyEventSignalProxy;
00967         static const LeaveNotifyEventSignalType leave_notify_event_signal;
00968 
00969         typedef G::Signal1<bool, GdkEventConfigure*> ConfigureEventSignalType;
00970         typedef G::SignalProxy<TypeInstance, ConfigureEventSignalType> ConfigureEventSignalProxy;
00971         static const ConfigureEventSignalType configure_event_signal;
00972 
00973         typedef G::Signal1<bool, GdkEventFocus*> FocusInEventSignalType;
00974         typedef G::SignalProxy<TypeInstance, FocusInEventSignalType> FocusInEventSignalProxy;
00975         static const FocusInEventSignalType focus_in_event_signal;
00976 
00977         typedef G::Signal1<bool, GdkEventFocus*> FocusOutEventSignalType;
00978         typedef G::SignalProxy<TypeInstance, FocusOutEventSignalType> FocusOutEventSignalProxy;
00979         static const FocusOutEventSignalType focus_out_event_signal;
00980 
00981         typedef G::Signal1<bool, GdkEventAny*> MapEventSignalType;
00982         typedef G::SignalProxy<TypeInstance, MapEventSignalType> MapEventSignalProxy;
00983         static const MapEventSignalType map_event_signal;
00984 
00985         typedef G::Signal1<bool, GdkEventAny*> UnmapEventSignalType;
00986         typedef G::SignalProxy<TypeInstance, UnmapEventSignalType> UnmapEventSignalProxy;
00987         static const UnmapEventSignalType unmap_event_signal;
00988 
00989         typedef G::Signal1<bool, GdkEventProperty*> PropertyNotifyEventSignalType;
00990         typedef G::SignalProxy<TypeInstance, PropertyNotifyEventSignalType> PropertyNotifyEventSignalProxy;
00991         static const PropertyNotifyEventSignalType property_notify_event_signal;
00992 
00993         typedef G::Signal1<bool, GdkEventSelection*> SelectionClearEventSignalType;
00994         typedef G::SignalProxy<TypeInstance, SelectionClearEventSignalType> SelectionClearEventSignalProxy;
00995         static const SelectionClearEventSignalType selection_clear_event_signal;
00996 
00997         typedef G::Signal1<bool, GdkEventSelection*> SelectionRequestEventSignalType;
00998         typedef G::SignalProxy<TypeInstance, SelectionRequestEventSignalType> SelectionRequestEventSignalProxy;
00999         static const SelectionRequestEventSignalType selection_request_event_signal;
01000 
01001         typedef G::Signal1<bool, GdkEventSelection*> SelectionNotifyEventSignalType;
01002         typedef G::SignalProxy<TypeInstance, SelectionNotifyEventSignalType> SelectionNotifyEventSignalProxy;
01003         static const SelectionNotifyEventSignalType selection_notify_event_signal;
01004 
01005         typedef G::Signal1<bool, GdkEventProximity*> ProximityInEventSignalType;
01006         typedef G::SignalProxy<TypeInstance, ProximityInEventSignalType> ProximityInEventSignalProxy;
01007         static const ProximityInEventSignalType proximity_in_event_signal;
01008 
01009         typedef G::Signal1<bool, GdkEventProximity*> ProximityOutEventSignalType;
01010         typedef G::SignalProxy<TypeInstance, ProximityOutEventSignalType> ProximityOutEventSignalProxy;
01011         static const ProximityOutEventSignalType proximity_out_event_signal;
01012 
01013         typedef G::Signal1<bool, GdkEventVisibility*> VisibilityNotifyEventSignalType;
01014         typedef G::SignalProxy<TypeInstance, VisibilityNotifyEventSignalType> VisibilityNotifyEventSignalProxy;
01015         static const VisibilityNotifyEventSignalType visibility_notify_event_signal;
01016 
01017         typedef G::Signal1<bool, GdkEventClient*> ClientEventSignalType;
01018         typedef G::SignalProxy<TypeInstance, ClientEventSignalType> ClientEventSignalProxy;
01019         static const ClientEventSignalType client_event_signal;
01020 
01021         typedef G::Signal1<bool, GdkEventAny*> NoExposeEventSignalType;
01022         typedef G::SignalProxy<TypeInstance, NoExposeEventSignalType> NoExposeEventSignalProxy;
01023         static const NoExposeEventSignalType no_expose_event_signal;
01024 
01025         typedef G::Signal1<bool, GdkEventWindowState*> WindowStateEventSignalType;
01026         typedef G::SignalProxy<TypeInstance, WindowStateEventSignalType> WindowStateEventSignalProxy;
01027         static const WindowStateEventSignalType window_state_event_signal;
01028 
01029 public:
01032 
01033         virtual ~Widget();
01035 
01039 
01040         GtkWidget* gtk_widget() const { return (GtkWidget*)instance; }
01042 
01043         GtkWidgetClass* gtk_widget_class() const;
01045 
01046         operator GtkWidget* () const;
01048 
01049         bool is_toplevel() const;
01051 
01052         bool has_no_window() const;
01054 
01055         bool is_realized() const;
01057 
01058         bool is_mapped() const;
01060 
01061         bool is_visible() const;
01063 
01064         bool is_drawable() const;
01066 
01067         bool sensitive() const;
01069 
01070         bool parent_sensitive() const;
01072 
01073         bool is_sensitive() const;
01075 
01076         bool can_focus() const;
01078 
01079         bool has_focus() const;
01081 
01082         bool can_default() const;
01084 
01085         bool has_default() const;
01087         
01088         bool has_grab() const;
01091 
01092         bool has_rc_style() const;
01094 
01095         bool is_composite_child() const;
01097 
01098         bool is_app_paintable() const;
01100 
01101         bool receives_default() const;
01104 
01105         bool is_double_buffered() const;
01107 
01108         StateType get_state() const;
01110 
01111         const Allocation& get_allocation() const;
01113 
01114         Requisition get_child_requisition() const;
01117         
01118         void get_child_requisition(Requisition& requisition) const;
01131         
01132         Gdk::Window* get_window() const;
01135 
01136         bool is_focus() const;
01142 
01143         String get_name() const;
01146         
01147         bool get_child_visible() const;
01153 
01154         Widget* get_parent() const;
01156         
01157         Gdk::Window* get_parent_window() const;
01159         
01160         void get_size_request(int *width, int *height) const;
01169 
01170         Gdk::ExtensionMode get_extension_events() const;
01172         
01173         Widget* get_toplevel() const;
01192 
01193         Widget* get_ancestor(GType widget_type) const;
01201 
01202         Gdk::Colormap* get_colormap() const;
01205         
01206         const Gdk::Visual* get_visual() const;
01208 
01209         Gdk::Screen* get_screen() const;
01217 
01218         bool has_screen() const;
01224 
01225         Gdk::Display* get_display() const;
01233 
01234         Gdk::Window* get_root_window() const;
01242 
01243         Settings* get_settings() const;
01250 
01251         Clipboard* get_clipboard(Gdk::Atom selection = GDK_SELECTION_CLIPBOARD) const;
01262 
01263         Atk::Object* get_accessible() const;
01265 
01266         Gdk::EventMaskField get_events() const;
01271         
01272         void get_pointer(int *x, int *y) const;
01281 
01282         Gdk::Point get_pointer() const;
01290 
01291         bool is_ancestor(Widget *ancestor) const;
01296 
01297         Style* get_style() const;
01299 
01300         Style* rc_get_style() const;
01307 
01308         RcStyle* get_modifier_style() const;
01319 
01320         String get_composite_name() const;
01323 
01324         Pango::Context* get_pango_context() const;
01333 
01334         TextDirection get_direction() const;
01336 
01337         void style_get_property(const char *property_name, G::Value& value);
01341 
01342         void style_get(const char *first_property_name, ...) const;
01349 
01350         void path(String& path, String& path_reversed) const;
01363 
01364         void class_path(String& path, String& path_reversed) const;
01369 
01373 
01374         void set_flags(WidgetFlagsField flags);
01377 
01378         void unset_flags(WidgetFlagsField flags);
01381 
01382         void unparent();
01385 
01386         void show();
01395 
01396         void hide();
01398 
01399         void show_now();
01404 
01405         void show_all();
01407 
01408         void hide_all();
01410 
01411         void map();
01414 
01415         void unmap();
01418 
01419         void realize();
01433 
01434         void unrealize();
01437 
01438         void queue_draw();
01440 
01441         void queue_draw_area(int x, int y, int width, int height);
01463 
01464         void queue_draw_area(const Gdk::Rectangle& rectangle);
01468 
01469         void queue_resize();
01474 
01475         void size_request(Requisition *requisition);
01487 
01488         void size_allocate(const Allocation& allocation);
01492 
01493         void add_accelerator(const String& accel_signal, AccelGroup& accel_group, const AccelKey& accel_key);
01504 
01505         bool remove_accelerator(AccelGroup& accel_group, const AccelKey& accel_key);
01510 
01511         void set_accel_path(const char *accel_path, AccelGroup& accel_group);
01526 
01527         bool list_accel_closures(std::vector<GClosure*>& closures);
01536 
01537         int send_expose(const Gdk::EventExpose& event);
01549 
01550         bool mnemonic_activate(bool group_cycling);
01554 
01555         bool event(const Gdk::Event& event);
01565 
01566         bool activate();
01573 
01574         bool set_scroll_adjustments(Adjustment *hadjustment, Adjustment *vadjustment);
01584 
01585         void reparent(Widget& new_parent);
01589 
01590         bool intersect(const Gdk::Rectangle& area, Gdk::Rectangle *intersection);
01598 
01599         Gdk::Rectangle intersect(const Gdk::Rectangle& area);
01607 
01608         Pointer<Gdk::Region> intersect(Gdk::Region& region);
01620 
01621         void freeze_child_notify();
01624 
01625         void child_notify(const char *child_property);
01628 
01629         void thaw_child_notify();
01632         
01633         void grab_focus();
01637 
01638         void grab_default();
01643 
01644         void set_name(const String& name);
01650 
01651         void set_state(StateType state);
01656 
01657         void set_sensitive(bool sensitive);
01664 
01665         void set_app_paintable(bool app_paintable);
01671 
01672         void set_double_buffered(bool double_buffered);
01684 
01685         void set_redraw_on_allocate(bool redraw_on_allocate);
01699 
01700         void set_parent(Widget& parent);
01707 
01708         void set_parent_window(Gdk::Window *parent_window);
01711 
01712         void set_child_visible(bool is_visible);
01727 
01728         bool child_focus(DirectionType direction);
01748 
01749         void set_size_request(int width, int height);
01773 
01774         void set_events(Gdk::EventMaskField events);
01785 
01786         void add_events(Gdk::EventMaskField events);
01789 
01790         void set_extension_events(Gdk::ExtensionMode mode);
01794 
01795         void set_colormap(Gdk::Colormap& colormap);
01801 
01802         bool translate_coordinates(Widget &src_widget, int src_x, int src_y, int *dest_x, int *dest_y) const;
01814 
01815         void set_style(Style& style);
01822 
01823         void ensure_style();
01827 
01828         void modify_style(RcStyle& style);
01844 
01845         void modify_fg(StateType state, const Gdk::Color* color);
01852 
01853         void modify_bg(StateType state, const Gdk::Color *color);
01860 
01861         void modify_text(StateType state, const Gdk::Color *color);
01870 
01871         void modify_base(StateType state, const Gdk::Color *color);
01880 
01881         void modify_font(const Pango::FontDescription *font_desc);
01887 
01888         Pointer<Pango::Context> create_pango_context();
01892 
01893         Pointer<Pango::Layout> create_pango_layout(const String& text);
01903 
01904         Pointer<Gdk::Pixbuf> render_icon(const char *stock_id, IconSize size, const char *detail = 0);
01917 
01918         void set_composite_name(const String& name);
01923 
01924         void reset_rc_styles();
01928 
01929         void set_direction(TextDirection dir);
01942 
01943         void shape_combine_mask(const Gdk::Bitmap& shape_mask, int offset_x, int offset_y);
01951 
01952         void shape_combine_mask();
01954 
01956 
01957         static const Style* get_default_style();
01961 
01962         static Gdk::Colormap* get_default_colormap();
01964 
01965         static const Gdk::Visual* get_default_visual();
01968 
01969         static TextDirection get_default_direction();
01971 
01972         static void push_colormap(Gdk::Colormap& cmap);
01978 
01979         static void push_composite_child();
01984 
01985         static void pop_composite_child();
01987 
01988         static void pop_colormap();
01990 
01991         static void set_default_colormap(Gdk::Colormap *colormap);
01997 
01998         static void set_default_direction(TextDirection  dir);
02002 
02003 
02006 
02007         Gdk::GrabStatus keyboard_grab(bool owner_events = false, unsigned int time = GDK_CURRENT_TIME);
02020 
02021         Gdk::GrabStatus pointer_grab(Gdk::EventMaskField event_mask, Widget *confine_to = 0, Gdk::Cursor *cursor = 0,
02022                                      bool owner_events = false, unsigned int time = GDK_CURRENT_TIME);
02050 
02054 
02055         bool selection_owner_get(Gdk::Atom selection);
02059 
02060         bool selection_owner_set(Gdk::Atom selection, unsigned int time, const Gdk::Display *display = 0);
02066 
02067         void selection_add_target(Gdk::Atom selection, Gdk::Atom target, unsigned int info);
02072 
02073         void selection_add_target(Gdk::Atom selection, const TargetEntry& entry);
02077 
02078         void selection_add_targets(Gdk::Atom selection, const std::vector<TargetEntry>& targets);
02083 
02084         void selection_clear_targets(Gdk::Atom selection);
02087 
02088         bool selection_convert(Gdk::Atom selection, Gdk::Atom target, unsigned int time = GDK_CURRENT_TIME);
02097 
02098         void selection_remove_all();
02101 
02103 
02104         static bool selection_owner_unset(Gdk::Atom selection, unsigned int time, const Gdk::Display *display = 0);
02110 
02113 
02114         void drag_get_data(DragContext& context, Gdk::Atom target, unsigned int time = GDK_CURRENT_TIME);
02126 
02127         void drag_highlight();
02130 
02131         void drag_unhighlight();
02133 
02134         void drag_dest_set(DestDefaultsField flags, const TargetEntry& target, Gdk::DragActionField actions);
02143         
02144         void drag_dest_set(DestDefaultsField flags, const std::vector<TargetEntry>& targets, Gdk::DragActionField actions);
02153 
02154         void drag_dest_set_proxy(Gdk::Window *proxy_window, Gdk::DragProtocol protocol, bool use_coordinates);
02161 
02162         void drag_dest_unset();
02165 
02166         Gdk::Atom drag_dest_find_target(const DragContext& context, const TargetList *target_list = 0);
02177 
02178         Pointer<TargetList> drag_dest_get_target_list() const;
02181 
02182         void drag_dest_set_target_list(TargetList *target_list);
02187 
02191 
02192         DragContext* drag_source_begin(const TargetList& targets, Gdk::DragActionField actions, int button, const Gdk::Event& event);
02202 
02203         void drag_source_set(Gdk::ModifierTypeField start_button_mask, const TargetEntry& target, Gdk::DragActionField actions);
02209         
02210         void drag_source_set(Gdk::ModifierTypeField start_button_mask, const std::vector<TargetEntry>& targets, Gdk::DragActionField actions);
02216 
02217         void drag_source_unset();
02219 
02220         void drag_source_set_icon(Gdk::Colormap *colormap, Gdk::Pixmap *pixmap, Gdk::Bitmap *mask);
02228 
02229         void drag_source_set_icon_pixbuf(Gdk::Pixbuf& pixbuf);
02234 
02235         void drag_source_set_icon_stock(const char *stock_id);
02238 
02239         bool drag_check_threshold(int start_x, int start_y, int current_x, int current_y);
02248         
02252 
02253         const NamePropertyProxy prop_name()
02254         {
02255                 return NamePropertyProxy(this, &name_property);
02256         }
02258 
02259         const ParentPropertyProxy prop_parent()
02260         {
02261                 return ParentPropertyProxy(this, &parent_property);
02262         }
02264 
02265         const WidthRequestPropertyProxy prop_width_request()
02266         {
02267                 return WidthRequestPropertyProxy(this, &width_request_property);
02268         }
02271 
02272         const HeightRequestPropertyProxy prop_height_request()
02273         {
02274                 return HeightRequestPropertyProxy(this, &height_request_property);
02275         }
02278 
02279         const VisiblePropertyProxy prop_visible()
02280         {
02281                 return VisiblePropertyProxy(this, &visible_property);
02282         }
02284 
02285         const SensitivePropertyProxy prop_sensitive()
02286         {
02287                 return SensitivePropertyProxy(this, &sensitive_property);
02288         }
02290 
02291         const AppPaintablePropertyProxy prop_app_paintable()
02292         {
02293                 return AppPaintablePropertyProxy(this, &app_paintable_property);
02294         }
02296 
02297         const CanFocusPropertyProxy prop_can_focus()
02298         {
02299                 return CanFocusPropertyProxy(this, &can_focus_property);
02300         }
02302 
02303         const HasFocusPropertyProxy prop_has_focus()
02304         {
02305                 return HasFocusPropertyProxy(this, &has_focus_property);
02306         }
02308 
02309         const IsFocusPropertyProxy prop_is_focus()
02310         {
02311                 return IsFocusPropertyProxy(this, &is_focus_property);
02312         }
02314 
02315         const CanDefaultPropertyProxy prop_can_default()
02316         {
02317                 return CanDefaultPropertyProxy(this, &can_default_property);
02318         }
02320 
02321         const HasDefaultPropertyProxy prop_has_default()
02322         {
02323                 return HasDefaultPropertyProxy(this, &has_default_property);
02324         }
02326 
02327         const ReceivesDefaultPropertyProxy prop_receives_default()
02328         {
02329                 return ReceivesDefaultPropertyProxy(this, &receives_default_property);
02330         }
02332 
02333         const CompositeChildPropertyProxy prop_composite_child()
02334         {
02335                 return CompositeChildPropertyProxy(this, &composite_child_property);
02336         }
02338 
02339         const StylePropertyProxy prop_style()
02340         {
02341                 return StylePropertyProxy(this, &style_property);
02342         }
02345 
02346         const EventsPropertyProxy prop_events()
02347         {
02348                 return EventsPropertyProxy(this, &events_property);
02349         }
02352 
02353         const ExtensionEventsPropertyProxy prop_extension_events()
02354         {
02355                 return ExtensionEventsPropertyProxy(this, &extension_events_property);
02356         }
02359 
02363 
02364         const ShowSignalProxy sig_show()
02365         {
02366                 return ShowSignalProxy(this, &show_signal);
02367         }
02369 
02370         const HideSignalProxy sig_hide()
02371         {
02372                 return HideSignalProxy(this, &hide_signal);
02373         }
02375 
02376         const MapSignalProxy sig_map()
02377         {
02378                 return MapSignalProxy(this, &map_signal);
02379         }
02381 
02382         const UnmapSignalProxy sig_unmap()
02383         {
02384                 return UnmapSignalProxy(this, &unmap_signal);
02385         }
02387 
02388         const RealizeSignalProxy sig_realize()
02389         {
02390                 return RealizeSignalProxy(this, &realize_signal);
02391         }
02393 
02394         const UnrealizeSignalProxy sig_unrealize()
02395         {
02396                 return UnrealizeSignalProxy(this, &unrealize_signal);
02397         }
02399 
02400         const SizeRequestSignalProxy sig_size_request()
02401         {
02402                 return SizeRequestSignalProxy(this, &size_request_signal);
02403         }
02405 
02406         const SizeAllocateSignalProxy sig_size_allocate()
02407         {
02408                 return SizeAllocateSignalProxy(this, &size_allocate_signal);
02409         }
02411 
02412         const StateChangedSignalProxy sig_state_changed()
02413         {
02414                 return StateChangedSignalProxy(this, &state_changed_signal);
02415         }
02417 
02418         const ParentSetSignalProxy sig_parent_set()
02419         {
02420                 return ParentSetSignalProxy(this, &parent_set_signal);
02421         }
02423 
02424         const HierarchyChangedSignalProxy sig_hierarchy_changed()
02425         {
02426                 return HierarchyChangedSignalProxy(this, &hierarchy_changed_signal);
02427         }
02431 
02432         const StyleSetSignalProxy sig_style_set()
02433         {
02434                 return StyleSetSignalProxy(this, &style_set_signal);
02435         }
02437 
02438         const DirectionChangedSignalProxy sig_direction_changed()
02439         {
02440                 return DirectionChangedSignalProxy(this, &direction_changed_signal);
02441         }
02444 
02445         const GrabNotifySignalProxy sig_grab_notify()
02446         {
02447                 return GrabNotifySignalProxy(this, &grab_notify_signal);
02448         }
02451 
02452         const ChildNotifySignalProxy sig_child_notify()
02453         {
02454                 return ChildNotifySignalProxy(this, &child_notify_signal);
02455         }
02457 
02458         const MnemonicActivateSignalProxy sig_mnemonic_activate()
02459         {
02460                 return MnemonicActivateSignalProxy(this, &mnemonic_activate_signal);
02461         }
02464 
02465         const GrabFocusSignalProxy sig_grab_focus()
02466         {
02467                 return GrabFocusSignalProxy(this, &grab_focus_signal);
02468         }
02471 
02472         const FocusSignalProxy sig_focus()
02473         {
02474                 return FocusSignalProxy(this, &focus_signal);
02475         }
02478 
02479         const ScreenChangedSignalProxy sig_screen_changed()
02480         {
02481                 return ScreenChangedSignalProxy(this, &screen_changed_signal);
02482         }
02485 
02489         
02490         const SelectionGetSignalProxy sig_selection_get()
02491         {
02492                 return SelectionGetSignalProxy(this, &selection_get_signal);
02493         }
02496 
02497         const SelectionReceivedSignalProxy sig_selection_received()
02498         {
02499                 return SelectionReceivedSignalProxy(this, &selection_received_signal);
02500         }
02503 
02507         
02508         const DragBeginSignalProxy sig_drag_begin()
02509         {
02510                 return DragBeginSignalProxy(this, &drag_begin_signal);
02511         }
02514 
02515         const DragEndSignalProxy sig_drag_end()
02516         {
02517                 return DragEndSignalProxy(this, &drag_end_signal);
02518         }
02521 
02522         const DragDataGetSignalProxy sig_drag_data_get()
02523         {
02524                 return DragDataGetSignalProxy(this, &drag_data_get_signal);
02525         }
02528 
02529         const DragDataDeleteSignalProxy sig_drag_data_delete()
02530         {
02531                 return DragDataDeleteSignalProxy(this, &drag_data_delete_signal);
02532         }
02535 
02539         
02540         const DragLeaveSignalProxy sig_drag_leave()
02541         {
02542                 return DragLeaveSignalProxy(this, &drag_leave_signal);
02543         }
02545 
02546         const DragMotionSignalProxy sig_drag_motion()
02547         {
02548                 return DragMotionSignalProxy(this, &drag_motion_signal);
02549         }
02552 
02553         const DragDropSignalProxy sig_drag_drop()
02554         {
02555                 return DragDropSignalProxy(this, &drag_drop_signal);
02556         }
02558 
02559         const DragDataReceivedSignalProxy sig_drag_data_received()
02560         {
02561                 return DragDataReceivedSignalProxy(this, &drag_data_received_signal);
02562         }
02565 
02569         
02570         const EventSignalProxy sig_event()
02571         {
02572                 return EventSignalProxy(this, &event_signal);
02573         }
02575 
02576         const ButtonPressEventSignalProxy sig_button_press_event()
02577         {
02578                 return ButtonPressEventSignalProxy(this, &button_press_event_signal);
02579         }
02581 
02582         const ButtonReleaseEventSignalProxy sig_button_release_event()
02583         {
02584                 return ButtonReleaseEventSignalProxy(this, &button_release_event_signal);
02585         }
02587 
02588         const ScrollEventSignalProxy sig_scroll_event()
02589         {
02590                 return ScrollEventSignalProxy(this, &scroll_event_signal);
02591         }
02593 
02594         const MotionNotifyEventSignalProxy sig_motion_notify_event()
02595         {
02596                 return MotionNotifyEventSignalProxy(this, &motion_notify_event_signal);
02597         }
02599 
02600         const DestroyEventSignalProxy sig_destroy_event()
02601         {
02602                 return DestroyEventSignalProxy(this, &destroy_event_signal);
02603         }
02605 
02606         const ExposeEventSignalProxy sig_expose_event()
02607         {
02608                 return ExposeEventSignalProxy(this, &expose_event_signal);
02609         }
02612 
02613         const KeyPressEventSignalProxy sig_key_press_event()
02614         {
02615                 return KeyPressEventSignalProxy(this, &key_press_event_signal);
02616         }
02618 
02619         const KeyReleaseEventSignalProxy sig_key_release_event()
02620         {
02621                 return KeyReleaseEventSignalProxy(this, &key_release_event_signal);
02622         }
02624 
02625         const EnterNotifyEventSignalProxy sig_enter_notify_event()
02626         {
02627                 return EnterNotifyEventSignalProxy(this, &enter_notify_event_signal);
02628         }
02630 
02631         const LeaveNotifyEventSignalProxy sig_leave_notify_event()
02632         {
02633                 return LeaveNotifyEventSignalProxy(this, &leave_notify_event_signal);
02634         }
02636 
02637         const ConfigureEventSignalProxy sig_configure_event()
02638         {
02639                 return ConfigureEventSignalProxy(this, &configure_event_signal);
02640         }
02643 
02644         const FocusInEventSignalProxy sig_focus_in_event()
02645         {
02646                 return FocusInEventSignalProxy(this, &focus_in_event_signal);
02647         }
02650 
02651         const FocusOutEventSignalProxy sig_focus_out_event()
02652         {
02653                 return FocusOutEventSignalProxy(this, &focus_out_event_signal);
02654         }
02656 
02657         const MapEventSignalProxy sig_map_event()
02658         {
02659                 return MapEventSignalProxy(this, &map_event_signal);
02660         }
02663 
02664         const UnmapEventSignalProxy sig_unmap_event()
02665         {
02666                 return UnmapEventSignalProxy(this, &unmap_event_signal);
02667         }
02670 
02671         const PropertyNotifyEventSignalProxy sig_property_notify_event()
02672         {
02673                 return PropertyNotifyEventSignalProxy(this, &property_notify_event_signal);
02674         }
02677 
02678         const SelectionClearEventSignalProxy sig_selection_clear_event()
02679         {
02680                 return SelectionClearEventSignalProxy(this, &selection_clear_event_signal);
02681         }
02684 
02685         const SelectionRequestEventSignalProxy sig_selection_request_event()
02686         {
02687                 return SelectionRequestEventSignalProxy(this, &selection_request_event_signal);
02688         }
02691 
02692         const SelectionNotifyEventSignalProxy sig_selection_notify_event()
02693         {
02694                 return SelectionNotifyEventSignalProxy(this, &selection_notify_event_signal);
02695         }
02697 
02698         const ProximityInEventSignalProxy sig_proximity_in_event()
02699         {
02700                 return ProximityInEventSignalProxy(this, &proximity_in_event_signal);
02701         }
02704 
02705         const ProximityOutEventSignalProxy sig_proximity_out_event()
02706         {
02707                 return ProximityOutEventSignalProxy(this, &proximity_out_event_signal);
02708         }
02711 
02712         const VisibilityNotifyEventSignalProxy sig_visibility_notify_event()
02713         {
02714                 return VisibilityNotifyEventSignalProxy(this, &visibility_notify_event_signal);
02715         }
02718 
02719         const ClientEventSignalProxy sig_client_event()
02720         {
02721                 return ClientEventSignalProxy(this, &client_event_signal);
02722         }
02725 
02726         const NoExposeEventSignalProxy sig_no_expose_event()
02727         {
02728                 return NoExposeEventSignalProxy(this, &no_expose_event_signal);
02729         }
02732 
02733         const WindowStateEventSignalProxy sig_window_state_event()
02734         {
02735                 return WindowStateEventSignalProxy(this, &window_state_event_signal);
02736         }
02739 
02741 };
02742 
02743 } // namespace Gtk
02744 
02745 } // namespace Inti
02746 
02747 #endif // INTI_GTK_WIDGET_H
02748 
Main Page - Footer


Generated on Sun Sep 14 20:08:05 2003 for Inti by doxygen 1.3.2 written by Dimitri van Heesch, © 1997-2002