Beispiel #1
0
 static void OnWidgetAdd(object obj, AddWidgetArgs args)
 {
     if (args.Widget is Toolbar)
     {
         toolbar = (Toolbar)args.Widget;
     }
     args.Widget.Show();
     box.PackStart(args.Widget, false, true, 0);
 }
 void AddWidget(object sender, AddWidgetArgs a)
 {
     a.Widget.Show();
     vbox.PackStart(a.Widget, false, true, 0);
 }
Beispiel #3
0
 void OnAddWidget(object sender, AddWidgetArgs a)
 {
     a.Widget.Show();
     this.Add(a.Widget);
 }