Changeset 460

Show
Ignore:
Timestamp:
03/06/08 17:59:03 (9 months ago)
Author:
Mike Wey
Message:

Add function to handle the close button for the InputDialog?

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/demos/gtkD/TestWindow.d

    r458 r460  
    833833    } 
    834834 
     835    import tango.io.Stdout; 
     836 
    835837    void showInput(Button button) 
    836838    { 
     
    838840        { 
    839841            id = new InputDialog(); 
     842            id.getCloseButton().addOnClicked(&CloseInputDialog); 
    840843        } 
    841844        id.run(); 
     845    } 
     846 
     847    void CloseInputDialog(Button button) 
     848    { 
    842849        id.hide(); 
    843850    }