Inheritance: ITypeDescriptorContext
コード例 #1
0
 public HackEntry(EditSession session, Gtk.Widget child)
 {
     this.session = session;
     box = new EventBox ();
     box.ButtonPressEvent += new ButtonPressEventHandler (OnClickBox);
     box.ModifyBg (StateType.Normal, Style.White);
     box.Add (child);
 }
コード例 #2
0
 public void Initialize(EditSession session)
 {
     if (session.Property.PropertyType != typeof(Color))
         throw new ApplicationException (Catalog.GetString("Color editor does not support editing values of type ") + session.Property.PropertyType);
 }
コード例 #3
0
 public void Initialize(EditSession session)
 {
 }
コード例 #4
0
 public void Initialize(EditSession session)
 {
     this.property = session.Property;
 }