F
Flavio codeco coelho
I have a program that uses pythondialog for its UI.
Pythondialog is a wrapper of the shell dialog and xdialog libs.
But I would like for it to switch between using Dialog ( when X is not
available ) and xdialog (when X is available)
So my question is: how can I check for the availability of X? i.e.,
How will my program know if its running in a text only console or in
console window over X?
thanks,
Flávio
Pythondialog is a wrapper of the shell dialog and xdialog libs.
But I would like for it to switch between using Dialog ( when X is not
available ) and xdialog (when X is available)
So my question is: how can I check for the availability of X? i.e.,
How will my program know if its running in a text only console or in
console window over X?
thanks,
Flávio