Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)

src/a/e/Aerospace-Simulations-HEAD/morse/src/morse/geolandloader/geoLandPlugin.py   Aerospace-Simulations(Download)
    glEnd()
    # Buttons Layout
    Draw.PushButton("DTM File", 1,             (GUIX+10), (GUIY+GUIH-BH-10), BW,BH, "Loads a DTM from an ascii file.")
    Draw.PushButton("Roads ShapeFile", 2,      (GUIX+10), (GUIY+GUIH-BH-60), BW,BH, "Loads Shapefiles with Road Data.")
    Draw.PushButton("Buildings ShapeFile", 3,  (GUIX+10), (GUIY+GUIH-BH-110), BW,BH, "Loads Shapefiles with Buildings Data.");
    Draw.PushButton("Vegetation ShapeFile", 4, (GUIX+10), (GUIY+GUIH-BH-160), BW,BH, "Loads Shapefiles with Vegetation Data.");
    Draw.PushButton("Load Scene", 5, (GUIX+GUIW/2-BW/2), (GUIY+BH/2), BW,BH, "Build the scene.");

src/p/y/PyPRP-HEAD/PyPRP/prp_Functions.py   PyPRP(Download)
            Blender.Draw.Label("Do you accept this?"                                    , xbase - 152, ybase - 65, 308, 15)
            # The buttons to draw
            Blender.Draw.PushButton("I Accept"                                      , 1 , xbase - 57 , ybase - 85, 55 , 20, "", self.AgreeDlgEvent)
            Blender.Draw.PushButton("I Decline"                                     , 2 , xbase + 2  , ybase - 85, 55 , 20, "", self.AgreeDlgEvent)
 
                ypos -= 15
 
            Blender.Draw.PushButton("Ok", 1 , xbase - 25 , ybase, 50 , 20, "", self.ButtonEvent)
 
    def ButtonEvent(self,event,value):