Quit<control>Q Dia in python plugin



Hi folks,

Thank you. Dia is amazing.

I am creating some python plugins and I couldn't find a way to exit dia after my plugin run.

I am not looking for close my diagram, 

    display = dia.active_display()
    display.close()

but exit of Dia like <control>Q.

I tried call internal callback 'file_quit_callback' in python and didn't work and others stuffs.

Is it possible? Quit Dia in python plugin.

Best regards

Mario Moura


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]