// Miguel de Icaza (miguel@ximian.com)
// Rachel Hestilow (hestilow@ximian.com)
// Joel Basson (jstrike@mweb.co.za)
+// Philip Van Hoof (me@freax.org)
// (C) 2002 Ximian, Inc
//
static Control ()
{
+ Gtk.Application.Init ();
init_me = 1;
}
public Control () : this ("")
{
+ this.text = "";
}
public Control (string text) : this (null, text)
}
- public virtual string Name {\r
- get {\r
- return name;\r
- }\r
-\r
+ public virtual string Name {
+ get {
+ return name;
+ }
+
set {
name = value;
Widget.Name = value;
- }\r
+ }
}
public bool Enabled {
rightToLeft = value;
}
}
+
+ [MonoTODO]
+ protected virtual void OnLayout(LayoutEventArgs e)
+ {
+
+ }
+
+ [MonoTODO]
+ protected virtual void OnMouseDown(MouseEventArgs e)
+ {
+ }
+
+ [MonoTODO]
+ protected virtual void OnResize(EventArgs e)
+ {
+ }
+
+ [MonoTODO]
+ protected virtual void OnHandleDestroyed(EventArgs e)
+ {
+ }
+ [MonoTODO]
+ public virtual Font Font {
+ get { throw new NotImplementedException(); }
+ set { throw new NotImplementedException(); }
+ }
+ protected virtual Size DefaultSize {
+ get { return new Size ( 100, 100 ); }
+ }
}
}