예제 #1
0
    void HandleStageOperationRemovedFromStage(object sender, StageOperationParametersEventArgs e)
    {
        StageOperationHolderWidget sohw = (StageOperationHolderWidget)mStage.Holders[e.Target];
        Application.Invoke(delegate {

            stage_vbox.Remove(sohw);
            sohw.Hide();
            sohw.Dispose();

            ArrangeVBoxes();
        });
    }
예제 #2
0
    void HandleStageOperationAddedToStage(object sender, StageOperationParametersEventArgs e)
    {
        StageOperationHolderWidget sohw = (StageOperationHolderWidget)mStage.Holders[e.Target];
        Application.Invoke(delegate {

            stage_vbox.Add(sohw);
            ((Gtk.Box.BoxChild)stage_vbox[sohw]).Fill = false;
            ((Gtk.Box.BoxChild)stage_vbox[sohw]).Expand = false;

            sohw.Show();
            ArrangeVBoxes();

        });
    }