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

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

src/l/i/linuxband-HEAD/src/main/python/linuxband/mma/parse.py   linuxband(Download)
    elif action == Glob.A_GROOVE: # ['Groove', ' ', 'Tango', ' LightTango LightTangoSus LightTango\n']
        line = tokenize_line(wline[0], 2)
    elif action == Glob.A_REPEAT: # nothing to parse
        line = [ wline[0] ]
    elif action == Glob.A_REPEAT_END: # ['RepeatEnd', ' ', '2', '\n'] or ['RepeatEnd', '\n' ]
    Glob.A_DEF_GROOVE, \
    Glob.A_GROOVE, \
    Glob.A_REPEAT, \
    Glob.A_REPEAT_END, \
    Glob.A_REPEAT_ENDING, \

src/l/i/linuxband-HEAD/src/main/python/linuxband/gui/events_bar.py   linuxband(Download)
        event_items = { Glob.A_GROOVE: "Groove change",
                      Glob.A_TEMPO: "Tempo change",
                      Glob.A_REPEAT: "Repeat",
                      Glob.A_REPEAT_ENDING: "RepeatEnding",
                      Glob.A_REPEAT_END: "RepeatEnd" }
        self.__event_windows = { Glob.A_GROOVE: groove_window,
                              Glob.A_TEMPO: tempo_window,
                              Glob.A_REPEAT: repeat_window,
                              Glob.A_REPEAT_ENDING: repeat_ending_window,
                              Glob.A_REPEAT_END: repeat_end_window }
 
        self.__event_window_handlers = { Glob.A_GROOVE: self.__eventGroove, # reusing already existing object
                                      Glob.A_TEMPO: self.__eventTempo,
                                      Glob.A_REPEAT: EventRepeat(glade),

src/l/i/linuxband-HEAD/src/main/python/linuxband/mma/bar_info.py   linuxband(Download)
    def has_repeat_begin(self):
        return self.__lookup_action(Glob.A_REPEAT) != None
 
    def has_repeat_end(self):
        return self.__lookup_action(Glob.A_REPEAT_ENDING) or self.__lookup_action(Glob.A_REPEAT_END)
    def create_event(eventTitle):
        eventsInit = { Glob.A_GROOVE:       [ Glob.A_GROOVE, "Groove", " ", "50sRock", "\n" ],
                       Glob.A_TEMPO:        [ Glob.A_TEMPO, "Tempo", " ", "120", "\n" ],
                       Glob.A_REPEAT:       [ Glob.A_REPEAT, "Repeat", "\n" ],
                       Glob.A_REPEAT_ENDING: [ Glob.A_REPEAT_ENDING, "RepeatEnding", "\n" ],