Did I find the right examples for you? yes no

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

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:
            b_x = None
        else:
            b_x += (self.border[0]+self.border[2])/HIRES_MULT
            if len(self._childs) > 1:
                b_x += self.spacing * (len(self._childs)-1) / HIRES_MULT
        if v_expand:
            b_y = None 
        else:
            b_y += (self.border[1]+self.border[3])/HIRES_MULT
            b_x = None
        else:
            b_x += (self.border[0]+self.border[2])/HIRES_MULT
        if v_expand:
            b_y = None 

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:
            b_x = None
        else:
            b_x += (self.border[0]+self.border[2])/HIRES_MULT
            if len(self._childs) > 1:
                b_x += self.spacing * (len(self._childs)-1) / HIRES_MULT
        if v_expand:
            b_y = None 
        else:
            b_y += (self.border[1]+self.border[3])/HIRES_MULT
            b_x = None
        else:
            b_x += (self.border[0]+self.border[2])/HIRES_MULT
        if v_expand:
            b_y = None 

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:
        if v_expand:
            b_y = None 
        else:
            b_y += (self.border[1]+self.border[3])/HIRES_MULT
        return b_x, b_y
 
class VBox(_Box):
        if v_expand:
            b_y = None 
        else:
            b_y += (self.border[1]+self.border[3])/HIRES_MULT
        return b_x, b_y
 
class TBox:

src/l/o/loxodo-HEAD/src/frontends/ppygui/ppygui_winxp/controls.py   loxodo(Download)
from core import *
from w32comctl import *
from config import HIRES_MULT
from boxing import VBox
 
        cx, cy = GetTextExtent(dc, text)
        cy = cy*(1+text.count('\n'))
        return 5+cx/HIRES_MULT, 6+cy/HIRES_MULT
 
class Button(Control):
        cx, cy = GetTextExtent(dc, self.text)
        if self._check:
            return 20+cx/HIRES_MULT, 4+cy/HIRES_MULT
        return 10+cx/HIRES_MULT, 10+cy/HIRES_MULT
 

src/l/o/loxodo-HEAD/src/frontends/ppygui/ppygui/controls.py   loxodo(Download)
from core import *
from w32comctl import *
from config import HIRES_MULT
from boxing import VBox
 
        cx, cy = GetTextExtent(dc, text)
        cy = cy*(1+text.count('\n'))
        return 5+cx/HIRES_MULT, 2+cy/HIRES_MULT
 
class Button(Control):
        cx, cy = GetTextExtent(dc, self.text)
        if self._check:
            return 20+cx/HIRES_MULT, 4+cy/HIRES_MULT
        return 10+cx/HIRES_MULT, 10+cy/HIRES_MULT
 

src/p/o/pomni-HEAD/mnemosyne/mnemosyne/ppygui_ui/ppygui/controls.py   pomni(Download)
from core import *
from w32comctl import *
from config import HIRES_MULT
from boxing import VBox
 
        cx, cy = GetTextExtent(dc, text)
        cy = cy*(1+text.count('\n'))
        return 5+cx/HIRES_MULT, 2+cy/HIRES_MULT
 
    def get_best_size(self):
        cx, cy = GetTextExtent(dc, self.text)
        if self._check:
            return 20+cx/HIRES_MULT, 4+cy/HIRES_MULT
        return 10+cx/HIRES_MULT, 10+cy/HIRES_MULT
 

src/l/o/loxodo-HEAD/src/frontends/ppygui/ppygui_winxp/toolbar.py   loxodo(Download)
from ppygui.core import *
from ppygui.w32comctl import *
from config import HIRES_MULT
#SHLoadDIBitmap = windll.coredll.SHLoadDIBitmap
#SHLoadDIBitmap.argtypes = [LPWSTR]
    def get_best_size(self):
        return None, 24*HIRES_MULT
 
    def move(self, l, t, w, h):
        Window.move(self, l, t-2*HIRES_MULT, w, h+2*HIRES_MULT)

src/l/o/loxodo-HEAD/src/frontends/ppygui/ppygui/ce.py   loxodo(Download)
 
from core import *
from config import HIRES_MULT
from controls import TBBUTTONINFO 
from menu import Menu, PopupMenu, MenuWrapper
            GetClientRect(self._w32_hWnd, byref(rc))
            self._sizer.size(rc.left, rc.top, rc.right, rc.bottom-24*HIRES_MULT)
            self.toolbar.move(rc.left, rc.bottom-26*HIRES_MULT, rc.right-rc.left, 26*HIRES_MULT)
 
 

src/l/o/loxodo-HEAD/src/frontends/ppygui/ppygui_winxp/date.py   loxodo(Download)
from core import *
from w32comctl import *
from config import HIRES_MULT
 
import datetime
        text = self.text
        cx, cy = GetTextExtent(dc, u'dd/mm/yyyy')
        return 15+cx/HIRES_MULT, 7+cy/HIRES_MULT
 
    def get_font(self):
        text = self.text
        cx, cy = GetTextExtent(dc, u'hh:mm:ss')
        return 15+cx/HIRES_MULT, 7+cy/HIRES_MULT
 
    def get_font(self):

src/l/o/loxodo-HEAD/src/frontends/ppygui/ppygui/date.py   loxodo(Download)
from core import *
from w32comctl import *
from config import HIRES_MULT
 
import datetime
        text = self.text
        cx, cy = GetTextExtent(dc, u'dd/mm/yyyy')
        return 15+cx/HIRES_MULT, 7+cy/HIRES_MULT
 
    def get_font(self):
        text = self.text
        cx, cy = GetTextExtent(dc, u'hh:mm:ss')
        return 15+cx/HIRES_MULT, 7+cy/HIRES_MULT
 
    def get_font(self):

  1 | 2  Next