Did I find the right examples for you? yes no

All Samples(5)  |  Call(4)  |  Derive(0)  |  Import(1)

src/b/l/blenderpython-HEAD/scripts/addons_extern/sun_position/ui_sun.py   blenderpython(Download)
from . properties import *
from . operators import *
from . sun_calc import Degrees, format_lat_long, degToRad, \
                       format_time, format_hms, Move_sun
 
        col.prop(sp, "Latitude")
        if p.ShowDMS:
            col.label(text=format_lat_long(sp.Latitude, True))
        col.prop(sp, "Longitude")
        if p.ShowDMS:
            col.label(text=format_lat_long(sp.Longitude, False))
 
            cL.prop(sp, "Latitude")
            cR.label(text=format_lat_long(sp.Latitude, True))
            cL.prop(sp, "Longitude")
            cR.label(text=format_lat_long(sp.Longitude, False))