module gdk.Window; import dmdscript.dobject; import dmdscript.value; import dmdscript.script; import dmdscript.dnative; import dmdscript.property; import dmdscript.threadcontext; import dmdscript.dfunction; import dmdscript.text; import gtkds.gdktypes; import gtkds.gdk; import glib.Str; import gdk.Window; import gdk.Region; import gdk.Rectangle; import gdk.Bitmap; import gdk.Color; import gdk.Pixmap; import gdk.Cursor; import glib.ListG; class dsWrapped_GdkWindow_prototype : dsWrapped_GdkWindow { this(ThreadContext *tc) { char[] x = "Gdk.Drawable"; super((x.length && (x in tc.protoTable)) ? tc.protoTable[x] : tc.Dobject_prototype); this.registerMethods(); } } class dsWrapped_GdkWindow_constructor : Dfunction { this(ThreadContext *tc) { super(7, tc.Dfunction_prototype); this.name = "Gdk.Window"; } void *Construct(CallContext *cc, Value *ret, Value[] arglist) { //ThreadContext *tc = ThreadContext.getThreadContext(); //dsWrapped_GdkWindow o = new dsWrapped_GdkWindow(tc.protoTable["Gdk.Window"]); // fixme!!! dsWrapped_GdkWindow.dswrap_gdk_window_new( null, cc, null, ret, arglist); //ret.putVobject(o) return null; } } public class dsWrapped_GdkWindow : dsWrapped_GdkDrawable { /** the main Gtk struct */ protected void* _wrappedObject; /** the main Gtk struct as a void* */ public void* getStruct() { return cast(void*)_wrappedObject; } private void setStruct(void* _wo) { this._wrappedObject = _wo; } /** * Sets our main struct and passes it to the parent class */ public this (Wrapped_GdkWindow* _Wrapped_GdkWindow) { ThreadContext *tc = ThreadContext.getThreadContext(); super(tc.protoTable["Gdk.Window"]); this.setStruct(cast(void*)_Wrapped_GdkWindow); this.classname = "Gdk.Window"; } this(Dobject prototype) { super(prototype); this.classname="Gdk.Window"; } static void registerSelf(CallContext* cc) { ThreadContext *tc = ThreadContext.getThreadContext(); // is it already regeisterd. if ("Gdk.Window" in tc.protoTable) { return; } dsWrapped_GdkDrawable.registerSelf(cc); tc.ctorTable["Gdk.Window"] = new dsWrapped_GdkWindow_constructor(tc); tc.protoTable["Gdk.Window"] = new dsWrapped_GdkWindow_prototype(tc); //cc.global.Put("Window", tc.ctorTable["Gdk.Window"], DontEnum); tc.protoTable["Gdk"].Put("Window", tc.ctorTable["Gdk.Window"], DontEnum); } // GdkWindow* gdk_window_new(GdkWindow* parent, GdkWindowAttr* attributes, gint attributes_mask) static void* dswrap_gdk_window_new ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __parent = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); Wrapped_GdkWindowAttr* __attributes = cast(Wrapped_GdkWindowAttr*) ((cast (dsWrapped_GdkWindowAttr)(arglist[0].toObject())).getStruct()); int __attributes_mask = cast(int) (arglist[1].toUint16()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. Wrapped_GdkWindow* _ret = cast(Wrapped_GdkWindow* ) (gdk_window_new(__parent,__attributes,__attributes_mask)); ret.putVobject(new dsWrapped_GdkWindow(_ret)); return null; } // void gdk_window_destroy(GdkWindow* window) static void* dswrap_gdk_window_destroy ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_destroy(__window); ret.putVundefined(); return null; } // GdkWindowType gdk_window_get_window_type(GdkWindow* window) static void* dswrap_gdk_window_get_window_type ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. Enum_GdkWindowType _ret = cast(Enum_GdkWindowType ) (gdk_window_get_window_type(__window)); ret.putVnumber(cast(d_number)_ret); return null; } // skip = GdkWindow* gdk_window_at_pointer(gint* win_x, gint* win_y) // void gdk_window_show(GdkWindow* window) static void* dswrap_gdk_window_show ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_show(__window); ret.putVundefined(); return null; } // void gdk_window_show_unraised(GdkWindow* window) static void* dswrap_gdk_window_show_unraised ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_show_unraised(__window); ret.putVundefined(); return null; } // void gdk_window_hide(GdkWindow* window) static void* dswrap_gdk_window_hide ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_hide(__window); ret.putVundefined(); return null; } // gboolean gdk_window_is_visible(GdkWindow* window) static void* dswrap_gdk_window_is_visible ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. int _ret = cast(int ) (gdk_window_is_visible(__window)); ret.putVnumber(cast(d_number)_ret); return null; } // gboolean gdk_window_is_viewable(GdkWindow* window) static void* dswrap_gdk_window_is_viewable ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. int _ret = cast(int ) (gdk_window_is_viewable(__window)); ret.putVnumber(cast(d_number)_ret); return null; } // skip = GdkWindowState gdk_window_get_state(GdkWindow* window) // void gdk_window_withdraw(GdkWindow* window) static void* dswrap_gdk_window_withdraw ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_withdraw(__window); ret.putVundefined(); return null; } // void gdk_window_iconify(GdkWindow* window) static void* dswrap_gdk_window_iconify ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_iconify(__window); ret.putVundefined(); return null; } // void gdk_window_deiconify(GdkWindow* window) static void* dswrap_gdk_window_deiconify ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_deiconify(__window); ret.putVundefined(); return null; } // void gdk_window_stick(GdkWindow* window) static void* dswrap_gdk_window_stick ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_stick(__window); ret.putVundefined(); return null; } // void gdk_window_unstick(GdkWindow* window) static void* dswrap_gdk_window_unstick ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_unstick(__window); ret.putVundefined(); return null; } // void gdk_window_maximize(GdkWindow* window) static void* dswrap_gdk_window_maximize ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_maximize(__window); ret.putVundefined(); return null; } // void gdk_window_unmaximize(GdkWindow* window) static void* dswrap_gdk_window_unmaximize ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_unmaximize(__window); ret.putVundefined(); return null; } // void gdk_window_fullscreen(GdkWindow* window) static void* dswrap_gdk_window_fullscreen ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_fullscreen(__window); ret.putVundefined(); return null; } // void gdk_window_unfullscreen(GdkWindow* window) static void* dswrap_gdk_window_unfullscreen ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_unfullscreen(__window); ret.putVundefined(); return null; } // void gdk_window_set_keep_above(GdkWindow* window, gboolean setting) static void* dswrap_gdk_window_set_keep_above ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); int __setting = cast(int) (arglist[0].toUint16()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_set_keep_above(__window,__setting); ret.putVundefined(); return null; } // void gdk_window_set_keep_below(GdkWindow* window, gboolean setting) static void* dswrap_gdk_window_set_keep_below ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); int __setting = cast(int) (arglist[0].toUint16()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_set_keep_below(__window,__setting); ret.putVundefined(); return null; } // void gdk_window_move(GdkWindow* window, gint x, gint y) static void* dswrap_gdk_window_move ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); int __x = cast(int) (arglist[0].toUint16()); int __y = cast(int) (arglist[1].toUint16()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_move(__window,__x,__y); ret.putVundefined(); return null; } // void gdk_window_resize(GdkWindow* window, gint width, gint height) static void* dswrap_gdk_window_resize ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); int __width = cast(int) (arglist[0].toUint16()); int __height = cast(int) (arglist[1].toUint16()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_resize(__window,__width,__height); ret.putVundefined(); return null; } // void gdk_window_move_resize(GdkWindow* window, gint x, gint y, gint width, gint height) static void* dswrap_gdk_window_move_resize ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); int __x = cast(int) (arglist[0].toUint16()); int __y = cast(int) (arglist[1].toUint16()); int __width = cast(int) (arglist[2].toUint16()); int __height = cast(int) (arglist[3].toUint16()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_move_resize(__window,__x,__y,__width,__height); ret.putVundefined(); return null; } // void gdk_window_scroll(GdkWindow* window, gint dx, gint dy) static void* dswrap_gdk_window_scroll ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); int __dx = cast(int) (arglist[0].toUint16()); int __dy = cast(int) (arglist[1].toUint16()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_scroll(__window,__dx,__dy); ret.putVundefined(); return null; } // void gdk_window_move_region(GdkWindow* window, GdkRegion* region, gint dx, gint dy) static void* dswrap_gdk_window_move_region ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); Wrapped_GdkRegion* __region = cast(Wrapped_GdkRegion*) ((cast (dsWrapped_GdkRegion)(arglist[0].toObject())).getStruct()); int __dx = cast(int) (arglist[1].toUint16()); int __dy = cast(int) (arglist[2].toUint16()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_move_region(__window,__region,__dx,__dy); ret.putVundefined(); return null; } // void gdk_window_reparent(GdkWindow* window, GdkWindow* new_parent, gint x, gint y) static void* dswrap_gdk_window_reparent ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); Wrapped_GdkWindow* __new_parent = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)(arglist[0].toObject())).getStruct()); int __x = cast(int) (arglist[1].toUint16()); int __y = cast(int) (arglist[2].toUint16()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_reparent(__window,__new_parent,__x,__y); ret.putVundefined(); return null; } // void gdk_window_clear(GdkWindow* window) static void* dswrap_gdk_window_clear ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_clear(__window); ret.putVundefined(); return null; } // void gdk_window_clear_area(GdkWindow* window, gint x, gint y, gint width, gint height) static void* dswrap_gdk_window_clear_area ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); int __x = cast(int) (arglist[0].toUint16()); int __y = cast(int) (arglist[1].toUint16()); int __width = cast(int) (arglist[2].toUint16()); int __height = cast(int) (arglist[3].toUint16()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_clear_area(__window,__x,__y,__width,__height); ret.putVundefined(); return null; } // void gdk_window_clear_area_e(GdkWindow* window, gint x, gint y, gint width, gint height) static void* dswrap_gdk_window_clear_area_e ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); int __x = cast(int) (arglist[0].toUint16()); int __y = cast(int) (arglist[1].toUint16()); int __width = cast(int) (arglist[2].toUint16()); int __height = cast(int) (arglist[3].toUint16()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_clear_area_e(__window,__x,__y,__width,__height); ret.putVundefined(); return null; } // void gdk_window_raise(GdkWindow* window) static void* dswrap_gdk_window_raise ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_raise(__window); ret.putVundefined(); return null; } // void gdk_window_lower(GdkWindow* window) static void* dswrap_gdk_window_lower ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_lower(__window); ret.putVundefined(); return null; } // void gdk_window_focus(GdkWindow* window, guint32 timestamp) static void* dswrap_gdk_window_focus ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); uint __timestamp = cast(uint) (arglist[0].toUint16()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_focus(__window,__timestamp); ret.putVundefined(); return null; } // void gdk_window_register_dnd(GdkWindow* window) static void* dswrap_gdk_window_register_dnd ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_register_dnd(__window); ret.putVundefined(); return null; } // void gdk_window_begin_resize_drag(GdkWindow* window, GdkWindowEdge edge, gint button, gint root_x, gint root_y, guint32 timestamp) static void* dswrap_gdk_window_begin_resize_drag ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); Enum_GdkWindowEdge __edge = cast(Enum_GdkWindowEdge) (arglist[0].toInteger()); int __button = cast(int) (arglist[1].toUint16()); int __root_x = cast(int) (arglist[2].toUint16()); int __root_y = cast(int) (arglist[3].toUint16()); uint __timestamp = cast(uint) (arglist[4].toUint16()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_begin_resize_drag(__window,__edge,__button,__root_x,__root_y,__timestamp); ret.putVundefined(); return null; } // void gdk_window_begin_move_drag(GdkWindow* window, gint button, gint root_x, gint root_y, guint32 timestamp) static void* dswrap_gdk_window_begin_move_drag ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); int __button = cast(int) (arglist[0].toUint16()); int __root_x = cast(int) (arglist[1].toUint16()); int __root_y = cast(int) (arglist[2].toUint16()); uint __timestamp = cast(uint) (arglist[3].toUint16()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_begin_move_drag(__window,__button,__root_x,__root_y,__timestamp); ret.putVundefined(); return null; } // skip = void gdk_window_constrain_size(GdkGeometry* geometry, guint flags, gint width, gint height, gint* new_width, gint* new_height) // void gdk_window_beep(GdkWindow* window) static void* dswrap_gdk_window_beep ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_beep(__window); ret.putVundefined(); return null; } // void gdk_window_begin_paint_rect(GdkWindow* window, GdkRectangle* rectangle) static void* dswrap_gdk_window_begin_paint_rect ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); Wrapped_GdkRectangle* __rectangle = cast(Wrapped_GdkRectangle*) ((cast (dsWrapped_GdkRectangle)(arglist[0].toObject())).getStruct()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_begin_paint_rect(__window,__rectangle); ret.putVundefined(); return null; } // void gdk_window_begin_paint_region(GdkWindow* window, GdkRegion* region) static void* dswrap_gdk_window_begin_paint_region ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); Wrapped_GdkRegion* __region = cast(Wrapped_GdkRegion*) ((cast (dsWrapped_GdkRegion)(arglist[0].toObject())).getStruct()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_begin_paint_region(__window,__region); ret.putVundefined(); return null; } // void gdk_window_end_paint(GdkWindow* window) static void* dswrap_gdk_window_end_paint ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_end_paint(__window); ret.putVundefined(); return null; } // void gdk_window_invalidate_rect(GdkWindow* window, GdkRectangle* rect, gboolean invalidate_children) static void* dswrap_gdk_window_invalidate_rect ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); Wrapped_GdkRectangle* __rect = cast(Wrapped_GdkRectangle*) ((cast (dsWrapped_GdkRectangle)(arglist[0].toObject())).getStruct()); int __invalidate_children = cast(int) (arglist[1].toUint16()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_invalidate_rect(__window,__rect,__invalidate_children); ret.putVundefined(); return null; } // void gdk_window_invalidate_region(GdkWindow* window, GdkRegion* region, gboolean invalidate_children) static void* dswrap_gdk_window_invalidate_region ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); Wrapped_GdkRegion* __region = cast(Wrapped_GdkRegion*) ((cast (dsWrapped_GdkRegion)(arglist[0].toObject())).getStruct()); int __invalidate_children = cast(int) (arglist[1].toUint16()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_invalidate_region(__window,__region,__invalidate_children); ret.putVundefined(); return null; } // void gdk_window_invalidate_maybe_recurse(GdkWindow* window, GdkRegion* region, gboolean (*child_func) static void* dswrap_gdk_window_invalidate_maybe_recurse ( Dobject pthis, CallContext* cc, Dobject othis, Value* ret, Value[] arglist) { Wrapped_GdkWindow* __window = cast(Wrapped_GdkWindow*) ((cast (dsWrapped_GdkWindow)othis).getStruct()); Wrapped_GdkRegion* __region = cast(Wrapped_GdkRegion*) ((cast (dsWrapped_GdkRegion)(arglist[0].toObject())).getStruct()); int __(*child_func = cast(int) (arglist[1].toUint16()); // this is from container.. - in theory we will call Container prototype in the obj. constructor. gdk_window_invalidate_maybe_recurse(__window,__region,__(*child_func); ret.putVundefined(); return null; } void registerMethods() { super.registerMethods(); } }