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

All Samples(42)  |  Call(15)  |  Derive(0)  |  Import(27)
A Bar is basically a container for [refMingusContainersNotecontainer NoteContainers] (a !NoteContainerContainer if you will, but you shouldn't). Bars can be stored together with [refMingusContainersInstrument Instruments] in [refMingusContainersTrack Tracks].

src/w/e/Webware-for-Python-1.1.1/MiddleKit/Tests/MKObjRef.mkmodel/TestSamples.py   Webware-for-Python(Download)
def test(store):
    from Foo import Foo
    from Bar import Bar
 
    bar = store.fetchObjectsOfClass(Bar)[0]

src/w/e/Webware-for-Python-1.1.1/MiddleKit/Tests/MKList.mkmodel/TestSamples.py   Webware-for-Python(Download)
def test(store):
    from Foo import Foo
    from Bar import Bar
 
    foos = store.fetchObjectsOfClass(Foo)

src/s/c/scribes-HEAD/GenericPlugins/SearchSystem/GUI/Manager.py   scribes(Download)
	def __init__(self, manager, editor):
		from ButtonSwitcher import Switcher
		Switcher(manager, editor)
		from Bar import Bar
		Bar(manager, editor)

src/b/o/boomslang-1.0/Utils.py   boomslang(Download)
import sys
from Line import Line
from Bar import Bar
 
def getGoldenRatioDimensions(width):
 
    for i in xrange(len(yValues)):
        bar = Bar()
        bar.xValues = xValues[:]
        bar.yValues = yValues[i][:]

src/m/i/mingus-0.4.2.3/mingus/containers/__init__.py   mingus(Download)
from Note import Note
from NoteContainer import NoteContainer
from Bar import Bar
from Track import Track
from Composition import Composition

src/b/o/boomslang-HEAD/Utils.py   boomslang(Download)
import sys
from Line import Line
from Bar import Bar
 
def getGoldenRatioDimensions(width):
 
    for i in xrange(len(yValues)):
        bar = Bar()
        bar.xValues = xValues[:]
        bar.yValues = yValues[i][:]

src/m/i/mingus-counterpoint-HEAD/mingus/containers/__init__.py   mingus-counterpoint(Download)
from Note import Note
from NoteContainer import NoteContainer
from Bar import Bar
from Track import Track
from Composition import Composition

src/w/e/Webware-for-Python-1.1.1/MiddleKit/Tests/MKTypeValueChecking.mkmodel/TestEmpty.py   Webware-for-Python(Download)
def test(store):
    import sys
    from MiscUtils.DataTable import DataTable
    from Foo import Foo
    from Bar import Bar

src/w/e/Webware-for-Python-1.1.1/MiddleKit/Tests/MKObjRef.mkmodel/TestEmpty3.py   Webware-for-Python(Download)
def test(store):
    """Bug discovered by Chuck Esterbrook on 2002-10-29."""
    from Bar import Bar
    from Qux import Qux
 
    qux = Qux()
    store.addObject(qux)
    bar = Bar()
    qux.setBar(bar)
    store.addObject(bar)

src/w/e/Webware-for-Python-1.1.1/MiddleKit/Tests/MKObjRef.mkmodel/TestEmpty2.py   Webware-for-Python(Download)
    """
 
    from Bar import Bar
    from Foo import Foo
    from BarReq import BarReq
    assert len(store.fetchObjectsOfClass(Foo)) == 0
 
    bar = Bar()
    foo = Foo()
    store.addObject(bar)

  1 | 2  Next