コード例 #1
0
ファイル: hcywheel.py プロジェクト: jesterKing/mypaint-xsheet
    def __init__(self):
        y_adj = HCYLumaSlider()
        y_adj.vertical = True
        hc_adj = HCYHueChromaWheel()

        table = gtk.Table(rows=2, columns=2)
        xopts = gtk.FILL|gtk.EXPAND
        yopts = gtk.FILL|gtk.EXPAND
        table.attach(y_adj, 0,1,  0,1,  gtk.FILL, yopts,  3, 3)
        table.attach(hc_adj, 1,2,  0,2,  xopts, yopts,  3, 3)

        self.__y_adj = y_adj
        self.__hc_adj = hc_adj
        self.__table = table
コード例 #2
0
ファイル: hcywheel.py プロジェクト: j-fu/mypaint
    def __init__(self):
        y_adj = HCYLumaSlider()
        y_adj.vertical = True
        hc_adj = HCYHueChromaWheel()

        table = gtk.Table(rows=2, columns=2)
        xopts = gtk.FILL | gtk.EXPAND
        yopts = gtk.FILL | gtk.EXPAND
        table.attach(y_adj, 0, 1, 0, 1, gtk.FILL, yopts, 3, 3)
        table.attach(hc_adj, 1, 2, 0, 2, xopts, yopts, 3, 3)

        self.__y_adj = y_adj
        self.__hc_adj = hc_adj
        self.__table = table
        self.__mask_dialog = None
コード例 #3
0
ファイル: hcywheel.py プロジェクト: QuLogic/mypaint
    def __init__(self):
        y_adj = HCYLumaSlider()
        y_adj.vertical = True
        hc_adj = HCYHueChromaWheel()

        table = Gtk.Table(rows=2, columns=2)
        xopts = Gtk.AttachOptions.FILL | Gtk.AttachOptions.EXPAND
        yopts = Gtk.AttachOptions.FILL | Gtk.AttachOptions.EXPAND
        table.attach(y_adj, 0, 1, 0, 1, Gtk.AttachOptions.FILL, yopts, 3, 3)
        table.attach(hc_adj, 1, 2, 0, 2, xopts, yopts, 3, 3)

        self.__y_adj = y_adj
        self.__hc_adj = hc_adj
        self.__table = table
        self.__mask_dialog = None