[Gtk-sharp-list] Gdk.Window.custom

Moritz Balz verteiler@mbalz.de
Sun, 16 Nov 2003 15:03:33 +0100


This is a multi-part message in MIME format.
--------------070603000103040802000105
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello Mike,

thank you very much.

The attached patch removes the "Visible" and "Viewable" properties from
Window.custom.
They are no longer necessary since Is*-methods are now already generated
as properties.

Moritz


Mike Kestner wrote:

>Hi Moritz,
>
>On Sun, 2003-11-02 at 15:13, Moritz Balz wrote:
>
>  
>
>>attached you find a .custom file for Gdk.Window which contains a little
>>API beautification, such as replacing Get* methods by properties,
>>overloaded methods using System.Drawing.Rectangle/Point, and elimination
>>of out parameters.
>>    
>>
>
>These look good. Thanks for the patch.  I've committed it to cvs.
>
>  
>

--------------070603000103040802000105
Content-Type: text/plain;
 name="Window.custom.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="Window.custom.diff"

--- /mnt/eigenes2/Quellcodes/gtk-sharp-0.13/gdk/Window.custom	2003-11-05 22:40:52.000000000 +0100
+++ Window.custom	2003-11-16 14:56:43.000000000 +0100
@@ -34,12 +34,6 @@
 		}
 	}
 
-	public bool Visible {
-		get {
-			return gdk_window_is_visible (Handle);
-		}
-	}
-
 	public void ClearArea(System.Drawing.Rectangle rect) {
 		gdk_window_clear_area (Handle, rect.X, rect.Y, rect.Width, rect.Height);
 	}
@@ -49,12 +43,6 @@
 		gdk_window_invalidate_rect (Handle, ref grect, invalidate_children);
 	}
 
-	public bool Viewable {
-		get {
-			return gdk_window_is_viewable (Handle);
-		}
-	}
-
 	public System.Drawing.Point Position {
 		get {
 			int x, y;

--------------070603000103040802000105--