diff dwt/widgets/Widget.d @ 27:ffa3c27c4328

Display
author Frank Benoit <benoit@tionex.de>
date Wed, 09 Jan 2008 01:08:22 +0100
parents 09f5459a5014
children 10acbb123580
line wrap: on
line diff
--- a/dwt/widgets/Widget.d	Tue Jan 08 08:07:04 2008 +0100
+++ b/dwt/widgets/Widget.d	Wed Jan 09 01:08:22 2008 +0100
@@ -12,8 +12,13 @@
 
 import dwt.internal.gtk.c.gtktypes;
 import dwt.internal.gtk.c.gdktypes;
+import dwt.widgets.Event;
 
 class Widget{
+int /*long*/ windowProc (GtkWidget* handle, int /*long*/ user_data) ;
+int /*long*/ windowProc (GtkWidget* handle, int /*long*/ arg0, int /*long*/ user_data) ;
+int /*long*/ windowProc (GtkWidget* handle, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ user_data);
+int /*long*/ windowProc (GtkWidget* handle, int /*long*/ arg0, int /*long*/ arg1, int /*long*/ arg2, int /*long*/ user_data);
     static const int DISPOSED = 1<<0;
     static const int CANVAS = 1<<1;
     static const int KEYED_DATA = 1<<2;
@@ -35,11 +40,97 @@
     int /*long*/ cellDataProc (int /*long*/ tree_column, int /*long*/ cell, int /*long*/ tree_model, int /*long*/ iter, GtkWidget* data) {
         return 0;
     }
+    GdkFilterReturn filterProc (GdkXEvent* xEvent, GdkEvent* gdkEvent, void* data);
     void fixedMapProc (GtkWidget* widget) {
     }
 void rendererGetSizeProc(GtkCellRenderer *cell, GtkWidget *handle, GdkRectangle *cell_area, int *x_offset, int *y_offset, int *width, int *height);
 void rendererRenderProc (GtkCellRenderer * cell, GdkDrawable * window, GtkWidget * handle, GdkRectangle *background_area, GdkRectangle *cell_area, GdkRectangle *expose_area, int flags);
+int /*long*/ menuPositionProc (GtkWidget * menu, int /*long*/ x, int /*long*/ y, int /*long*/ push_in, int /*long*/ user_data) ;
+int /*long*/ hoverProc (GtkWidget* handle);
+bool isDisposed();
+void sendEvent (Event event) ;
+void setForegroundColor (GtkWidget* handle, GdkColor* color);
 
+int /*long*/ shellMapProc (int /*long*/ handle, int /*long*/ arg0, int /*long*/ user_data) {
+    return 0;
+}
+
+int /*long*/ sizeAllocateProc (int /*long*/ handle, int /*long*/ arg0, int /*long*/ user_data) {
+    return 0;
+}
+
+int /*long*/ sizeRequestProc (int /*long*/ handle, int /*long*/ arg0, int /*long*/ user_data) {
+    return 0;
+}
+int /*long*/ timerProc (GtkWidget* widget) {
+    return 0;
+}
+
+int /*long*/ treeSelectionProc (int /*long*/ model, int /*long*/ path, int /*long*/ iter, int [] selection, int length) {
+    return 0;
+}
+    static const int ACTIVATE = 1;
+    static const int BUTTON_PRESS_EVENT = 2;
+    static const int BUTTON_PRESS_EVENT_INVERSE = 3;
+    static const int BUTTON_RELEASE_EVENT = 4;
+    static const int BUTTON_RELEASE_EVENT_INVERSE = 5;
+    static const int CHANGED = 6;
+    static const int CHANGE_VALUE = 7;
+    static const int CLICKED = 8;
+    static const int COMMIT = 9;
+    static const int CONFIGURE_EVENT = 10;
+    static const int DELETE_EVENT = 11;
+    static const int DELETE_RANGE = 12;
+    static const int DELETE_TEXT = 13;
+    static const int ENTER_NOTIFY_EVENT = 14;
+    static const int EVENT = 15;
+    static const int EVENT_AFTER = 16;
+    static const int EXPAND_COLLAPSE_CURSOR_ROW = 17;
+    static const int EXPOSE_EVENT = 18;
+    static const int EXPOSE_EVENT_INVERSE = 19;
+    static const int FOCUS = 20;
+    static const int FOCUS_IN_EVENT = 21;
+    static const int FOCUS_OUT_EVENT = 22;
+    static const int GRAB_FOCUS = 23;
+    static const int HIDE = 24;
+    static const int INPUT = 25;
+    static const int INSERT_TEXT = 26;
+    static const int KEY_PRESS_EVENT = 27;
+    static const int KEY_RELEASE_EVENT = 28;
+    static const int LEAVE_NOTIFY_EVENT = 29;
+    static const int MAP = 30;
+    static const int MAP_EVENT = 31;
+    static const int MNEMONIC_ACTIVATE = 32;
+    static const int MOTION_NOTIFY_EVENT = 33;
+    static const int MOTION_NOTIFY_EVENT_INVERSE = 34;
+    static const int MOVE_FOCUS = 35;
+    static const int OUTPUT = 36;
+    static const int POPUP_MENU = 37;
+    static const int PREEDIT_CHANGED = 38;
+    static const int REALIZE = 39;
+    static const int ROW_ACTIVATED = 40;
+    static const int SCROLL_CHILD = 41;
+    static const int SCROLL_EVENT = 42;
+    static const int SELECT = 43;
+    static const int SHOW = 44;
+    static const int SHOW_HELP = 45;
+    static const int SIZE_ALLOCATE = 46;
+    static const int STYLE_SET = 47;
+    static const int SWITCH_PAGE = 48;
+    static const int TEST_COLLAPSE_ROW = 49;
+    static const int TEST_EXPAND_ROW = 50;
+    static const int TEXT_BUFFER_INSERT_TEXT = 51;
+    static const int TOGGLED = 52;
+    static const int UNMAP = 53;
+    static const int UNMAP_EVENT = 54;
+    static const int UNREALIZE = 55;
+    static const int VALUE_CHANGED = 56;
+    static const int VISIBILITY_NOTIFY_EVENT = 57;
+    static const int WINDOW_STATE_EVENT = 58;
+    static const int ACTIVATE_INVERSE = 59;
+    static const int DAY_SELECTED = 60;
+    static const int MONTH_CHANGED = 61;
+    static const int LAST_SIGNAL = 62;
 }
 
 /++