Did I find the right examples for you? yes no

All Samples(3)  |  Call(2)  |  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, "UTCzone", slider=True)
        col.prop(sp, "Time")
        lt, ut = format_time(sp.Time, sp.UTCzone,
                             sp.DaylightSavings, sp.Longitude)
        col.label(text=lt, icon='TIME')
        colL.prop(sp, "Year")
        colM.prop(sp, "UTCzone", slider=True)
        lt, ut = format_time(sp.Time,
                             sp.UTCzone,
                             sp.DaylightSavings,