2002-08-06 Duncan Mak <duncan@ximian.com>
* gnome/CanvasItem.custom: Added accessor to get the 'canvas' field. svn path=/trunk/gtk-sharp/; revision=6467
This commit is contained in:
parent
eaca3f82e0
commit
bfb00c4e7a
3 changed files with 9 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
2002-08-06 Duncan Mak <duncan@ximian.com>
|
||||
|
||||
* gnome/CanvasItem.custom: Added accessor to get the 'canvas' field.
|
||||
|
||||
* sample/CanvasExample.cs: Removed extra methods.
|
||||
|
||||
2002-08-05 Rachel Hestilow <hestilow@ximian.com>
|
||||
|
|
|
@ -10,7 +10,8 @@ BASESOURCES = \
|
|||
slist.c \
|
||||
paned.c \
|
||||
style.c \
|
||||
widget.c
|
||||
widget.c \
|
||||
canvasitem.c
|
||||
|
||||
if ENABLE_GNOME
|
||||
libgtksharpglue_la_SOURCES = \
|
||||
|
|
|
@ -17,3 +17,8 @@ public CanvasItem (Gnome.CanvasGroup group, int type)
|
|||
Raw = gnome_canvas_item_new (group.Handle, type, IntPtr.Zero);
|
||||
}
|
||||
|
||||
[DllImport("gtksharpglue")]
|
||||
static extern IntPtr gtksharp_gnome_canvas_item_get_canvas (IntPtr i);
|
||||
public Canvas Canvas {
|
||||
get { return new Gnome.Canvas (gtksharp_gnome_canvas_item_get_canvas (this.Handle)); }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue