|
|
2008-07-06
, 02:51
|
|
|
Posts: 868 |
Thanked: 474 times |
Joined on Oct 2007
@ Capital District, NY, USA
|
#2
|
try:
import hildon
except ImportError:
hildon = None
...
if hildon:
Something hildon related
else:
Something desktop related
| The Following 2 Users Say Thank You to brontide For This Useful Post: | ||
|
|
2008-07-06
, 08:49
|
|
|
Posts: 696 |
Thanked: 1,012 times |
Joined on Mar 2006
@ Asturies, Spain
|
#3
|
Does any one know of a fake python hildon module that can be used on other pygtk platforms? Or is there a better way of doing crossplatfom development?
If there isn't I'm thinking it might also work if I created my own wrapper.
| The Following User Says Thank You to yerga For This Useful Post: | ||
|
|
2008-07-07
, 12:04
|
|
|
Posts: 696 |
Thanked: 1,012 times |
Joined on Mar 2006
@ Asturies, Spain
|
#4
|
| The Following User Says Thank You to yerga For This Useful Post: | ||
If there isn't I'm thinking it might also work if I created my own wrapper.