27
27
bin.Added += new Gtk.AddedHandler (bc.OnAdded);
31
31
private void OnSizeRequested (object sender, Gtk.SizeRequestedArgs args)
33
33
if ((this.child != null)) {
34
34
args.Requisition = this.child.SizeRequest ();
38
38
private void OnSizeAllocated (object sender, Gtk.SizeAllocatedArgs args)
40
40
if ((this.child != null)) {
41
41
this.child.Allocation = args.Allocation;
45
45
private void OnAdded (object sender, Gtk.AddedArgs args)
47
47
this.child = args.Widget;
50
50
public void SetUiManager (Gtk.UIManager uim)
53
53
this.child.Realized += new System.EventHandler (this.OnRealized);
56
56
private void OnRealized (object sender, System.EventArgs args)
58
58
if ((this.uimanager != null)) {