Did I find the right examples for you? yes no

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

src/l/o/loxodo-HEAD/src/frontends/ppygui/ppygui_winxp/boxing.py   loxodo(Download)
## WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
 
from config import HIRES, HIRES_MULT
 
class _Wrapper:
    def __init__(self, wrapped, border):
 
        self.wrapped = wrapped
        if HIRES :
            bx, by = self.wrapped.get_best_size()
        if bx is not None:
            if HIRES:
                bx += (self.border[0]+self.border[2])/2
            else:
                bx += self.border[0]+self.border[2]
        if by is not None:
            if HIRES:
    def __init__(self, border=(0,0,0,0), spacing=0):
        self._childs = []
        if HIRES :
            border = tuple(2*val for val in border)
            spacing *= 2

src/l/o/loxodo-HEAD/src/frontends/ppygui/ppygui/boxing.py   loxodo(Download)
## WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
 
from config import HIRES, HIRES_MULT
 
class _Wrapper:
    def __init__(self, wrapped, border):
 
        self.wrapped = wrapped
        if HIRES :
            bx, by = self.wrapped.get_best_size()
        if bx is not None:
            if HIRES:
                bx += (self.border[0]+self.border[2])/2
            else:
                bx += self.border[0]+self.border[2]
        if by is not None:
            if HIRES:
    def __init__(self, border=(0,0,0,0), spacing=0):
        self._childs = []
        if HIRES :
            border = tuple(2*val for val in border)
            spacing *= 2

src/p/o/pomni-HEAD/mnemosyne/mnemosyne/ppygui_ui/ppygui/boxing.py   pomni(Download)
## WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
 
from config import HIRES, HIRES_MULT
 
class _Wrapper:
    def __init__(self, wrapped, border):
 
        self.wrapped = wrapped
        if HIRES :

        bx, by = self.wrapped.get_best_size()
        if bx is not None:
            if HIRES:
                bx += (self.border[0]+self.border[2])/2
            else:
                bx += self.border[0]+self.border[2]
        if by is not None:
            if HIRES:
                by += (self.border[1]+self.border[3])/2
        self._childs = []
        if HIRES :
            border = tuple(2*val for val in border)
            spacing *= 2
 

src/l/o/loxodo-HEAD/src/frontends/ppygui/ppygui_winxp/sizer.py   loxodo(Download)
 
from core import *
from config import HIRES
 
__all__ = ['Sizer', 'HSizer', 'VSizer']
    self.totalcoeff = 0
    self.totalfixedsize = 0
    if HIRES :
      border = tuple(2*val for val in border)
    self.border = border
 
    if isinstance(box, Window):
      if HIRES :
        border = tuple(2*val for val in border)
      data = [Box(box, border), coeff]
      self.totalcoeff += coeff
    else :
      if HIRES:
        coeff *= 2
        data[1] = coeff
      self.totalfixedsize -= coeff
 
    if self.boxes and self.spacing:
        space = self.spacing
        if HIRES:

src/l/o/loxodo-HEAD/src/frontends/ppygui/ppygui/sizer.py   loxodo(Download)
 
from core import *
from config import HIRES
 
__all__ = ['Sizer', 'HSizer', 'VSizer']
    self.totalcoeff = 0
    self.totalfixedsize = 0
    if HIRES :
      border = tuple(2*val for val in border)
    self.border = border
 
    if isinstance(box, Window):
      if HIRES :
        border = tuple(2*val for val in border)
      data = [Box(box, border), coeff]
      self.totalcoeff += coeff
    else :
      if HIRES:
        coeff *= 2
        data[1] = coeff
      self.totalfixedsize -= coeff
 
    if self.boxes and self.spacing:
        space = self.spacing
        if HIRES:

src/p/o/pomni-HEAD/mnemosyne/mnemosyne/ppygui_ui/ppygui/sizer.py   pomni(Download)
 
from core import *
from config import HIRES
 
__all__ = ['Sizer', 'HSizer', 'VSizer']
    self.totalcoeff = 0
    self.totalfixedsize = 0
    if HIRES :
      border = tuple(2*val for val in border)
    self.border = border
 
    if isinstance(box, Window):
      if HIRES :
        border = tuple(2*val for val in border)
      data = [Box(box, border), coeff]
      self.totalcoeff += coeff
    else :
      if HIRES:
        coeff *= 2
        data[1] = coeff
      self.totalfixedsize -= coeff
 
    if self.boxes and self.spacing:
        space = self.spacing
        if HIRES:

src/l/o/loxodo-HEAD/src/frontends/ppygui/ppygui_winxp/font.py   loxodo(Download)
 
from w32api import *
from config import HIRES
 
CreateFontIndirect=windll.gdi32.CreateFontIndirectW
    def __init__(self, name="Tahoma", size=9, bold=False, italic=False, color=(0,0,0), underline=False):
 
        height = int(-size*96/72.0)
        if HIRES :
            height *= 2

src/l/o/loxodo-HEAD/src/frontends/ppygui/ppygui/font.py   loxodo(Download)
 
from w32api import *
from config import HIRES
 
CreateFontIndirect=windll.coredll.CreateFontIndirectW
    def __init__(self, name='Tahoma', size=9, charset=None,
                 bold=False, italic=False, underline=False, color=(0,0,0) ):
 
        height = int(-size*96/72.0)
        if HIRES :

src/p/o/pomni-HEAD/mnemosyne/mnemosyne/ppygui_ui/ppygui/font.py   pomni(Download)
 
from w32api import *
from config import HIRES
 
CreateFontIndirect=windll.coredll.CreateFontIndirectW
    def __init__(self, name="Tahoma", size=9, bold=False, italic=False, color=(0,0,0), underline=False):
 
        height = int(-size*96/72.0)
        if HIRES :
            height *= 2