예제 #1
0
 private void OnInfoWindowResponse(object o, ResponseArgs args)
 {
     i_window.Destroy ();
     i_window = null;
 }
예제 #2
0
        private void OnInfoButtonClicked(object o, EventArgs args)
        {
            if (i_window != null) {
                i_window.Present ();
                return;
            }

            i_window = new InfoWindow (current_song, this);
            i_window.Visible = true;
            i_window.Response += new ResponseHandler (OnInfoWindowResponse);
        }