query stringlengths 10 3.6k | document stringlengths 19 61.4k | metadata dict | negatives listlengths 0 101 | negative_scores listlengths 0 101 | document_score stringlengths 3 10 | document_rank stringclasses 102
values |
|---|---|---|---|---|---|---|
Returns the toolbar item disabled bitmap. | def Sbrm(YKHO):
return YKHO.GetRotatedBitmap(True) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def KKfT(YKHO):\n return YKHO.bmpDisabled",
"def kW5k(eJh7):\n VXjJ = eJh7.ConvertToImage()\n return lnPd.BitmapFromImage(VXjJ.ConvertToGreyscale())",
"def VcvH(YKHO, xFfn):\n return YKHO._disabled_buttons[xFfn]",
"def fq11(*qIxc, **B2fa):\n return nAU3.Bitmap_ConvertToDisabled(*qIxc, **B2fa)"... | [
"0.7353075",
"0.6353663",
"0.6344827",
"0.6309711",
"0.6253755",
"0.62192816",
"0.6192918",
"0.61711174",
"0.60406196",
"0.60313344",
"0.59412485",
"0.5881879",
"0.58735424",
"0.57363546",
"0.571942",
"0.5666376",
"0.56578434",
"0.55637497",
"0.5530608",
"0.5520847",
"0.55208... | 0.7471841 | 0 |
Returns the toolbar item minimum size. | def pz1z(YKHO):
return YKHO.min_size | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qonS(YKHO):\n qonS = YKHO.widget.minimumSize()\n return DEza(qonS.width(), qonS.height())",
"def x7Qo(YKHO):\n return YKHO._minimum_size",
"def PyIJ(YKHO):\n return YKHO.sizeHint()",
"def OjB9(YKHO):\n return lnPd.Size(16, 15)",
"def kVsw(YKHO):\n return YKHO.minimumSize() * 3",
"de... | [
"0.7476795",
"0.7206625",
"0.7078116",
"0.6988161",
"0.6873492",
"0.6748987",
"0.6683233",
"0.6676168",
"0.6665922",
"0.6661258",
"0.6658645",
"0.6612514",
"0.6606217",
"0.6591103",
"0.650863",
"0.6500481",
"0.64824796",
"0.64752644",
"0.64700466",
"0.6453066",
"0.64161247",
... | 0.7545863 | 0 |
Returns the L{AuiToolBarItem} proportion in the toolbar. | def O656(YKHO):
return YKHO.proportion | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def COWj(YKHO, LpYX):\n ZfUD = YKHO.FindTool(LpYX)\n if not ZfUD:\n return\n return ZfUD.proportion",
"def OjB9(YKHO):\n return lnPd.Size(16, 15)",
"def QJ6T(YKHO, Bc4p, NMrk, ZfUD):\n if not ZfUD.GetBitmap().IsOk() and (not YKHO._agwFlags & YNJF):\n return lnPd.Size(16, 16)\n T... | [
"0.67358804",
"0.61430556",
"0.6131166",
"0.5863485",
"0.5829213",
"0.5700322",
"0.56880414",
"0.5635426",
"0.5632606",
"0.5632606",
"0.56241536",
"0.5623395",
"0.5615277",
"0.55839515",
"0.5577834",
"0.55718935",
"0.55690753",
"0.55198026",
"0.54613304",
"0.54426706",
"0.539... | 0.66106033 | 1 |
Sets whether the toolbar item has an associated dropdown menu. | def MgQc(YKHO, Fg_i):
YKHO.dropdown = Fg_i | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def VEE9(YKHO):\n return YKHO.dropdown",
"def RwP0(YKHO):\n return YKHO.is_dropdown_clicked",
"def rQ_h(YKHO, Z9rn):\n YKHO.is_dropdown_clicked = Z9rn",
"def E0Kg(YKHO):\n return YKHO.HasFlag(YKHO.optionToolbar)",
"def sAwc(YKHO):\n return YKHO.dropdown.element(class_name='dropdown-focus').e... | [
"0.69437754",
"0.6534679",
"0.61464",
"0.6109682",
"0.6092906",
"0.609249",
"0.60640806",
"0.6005835",
"0.59487796",
"0.56585354",
"0.5621649",
"0.5596397",
"0.5557795",
"0.55298644",
"0.54868793",
"0.54634774",
"0.53978527",
"0.53759587",
"0.5373779",
"0.5373779",
"0.5364506... | 0.7607674 | 0 |
Returns whether the toolbar item has an associated dropdown menu or not. | def VEE9(YKHO):
return YKHO.dropdown | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def RwP0(YKHO):\n return YKHO.is_dropdown_clicked",
"def GUFi(YKHO):\n return YKHO.is_element_visible(YKHO.view_dropdown_locator)",
"def sAwc(YKHO):\n return YKHO.dropdown.element(class_name='dropdown-focus').exists",
"def E0Kg(YKHO):\n return YKHO.HasFlag(YKHO.optionToolbar)",
"def GaOf(YKHO, ... | [
"0.73964745",
"0.73030365",
"0.72338516",
"0.7125383",
"0.69811773",
"0.68085855",
"0.66776955",
"0.64449275",
"0.639859",
"0.62716734",
"0.6067105",
"0.6025143",
"0.59667975",
"0.59524685",
"0.5894107",
"0.5873153",
"0.5821703",
"0.5782933",
"0.5774678",
"0.5747719",
"0.5740... | 0.82639307 | 0 |
Sets whether the toolbar item is sticky (permanent highlight after mouse enter) or not. | def mN6G(YKHO, Fg_i):
YKHO.sticky = Fg_i | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def KueC(YKHO, LpYX, Jyyn):\n if LpYX == -1:\n return\n ZfUD = YKHO.FindTool(LpYX)\n if not ZfUD:\n return\n if ZfUD.sticky == Jyyn:\n return\n ZfUD.sticky = Jyyn\n YKHO.Refresh(False)\n YKHO.Update()",
"def fysj(YKHO):\n return YKHO.sticky",
"def zr8U(YKHO):\n Y... | [
"0.6772801",
"0.6337893",
"0.60444486",
"0.54794",
"0.5293894",
"0.5259916",
"0.4937538",
"0.48951572",
"0.4793618",
"0.4764344",
"0.4736811",
"0.47361407",
"0.47229284",
"0.46889007",
"0.4673523",
"0.4659373",
"0.45707345",
"0.4565975",
"0.45550632",
"0.45455536",
"0.4516559... | 0.6858569 | 0 |
Returns whether the toolbar item has a sticky behaviour or not. | def fysj(YKHO):
return YKHO.sticky | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def E0Kg(YKHO):\n return YKHO.HasFlag(YKHO.optionToolbar)",
"def RVXZ(YKHO):\n if len(YKHO._items) == 0:\n return True\n return YKHO.GetToolFitsByIndex(len(YKHO._items) - 1)",
"def iT8f(YKHO, LpYX):\n ZfUD = YKHO.FindTool(LpYX)\n if not ZfUD:\n return\n return ZfUD.sticky",
"d... | [
"0.66415274",
"0.6244236",
"0.62310916",
"0.6200384",
"0.6081527",
"0.58590966",
"0.5801492",
"0.57734305",
"0.5713581",
"0.56996423",
"0.56979895",
"0.56962407",
"0.5663677",
"0.5480935",
"0.54471934",
"0.5442607",
"0.53952044",
"0.5380097",
"0.5373858",
"0.53514457",
"0.529... | 0.75911 | 0 |
Returns the L{AuiDefaultToolBarArt} text orientation. See L{SetTextOrientation} for more details. | def cNSS(YKHO):
return YKHO._text_orientation | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PpGV(YKHO):\n return YKHO._tool_text_orientation",
"def uetb(YKHO):\n return YKHO._tool_orientation",
"def C3ap(YKHO) -> str:\n return YKHO._widget._mgui_get_orientation()",
"def _u1S(YKHO):\n return YKHO._title_bar_orientation",
"def HDwD(YKHO):\n return YKHO._orient",
"def VQJH(YKHO)... | [
"0.6975383",
"0.60993415",
"0.59099466",
"0.5847471",
"0.5223447",
"0.5179859",
"0.5175135",
"0.51331645",
"0.50343347",
"0.5013353",
"0.49653482",
"0.49428603",
"0.49396384",
"0.49284998",
"0.49284998",
"0.4903754",
"0.48717484",
"0.47815275",
"0.47792175",
"0.47768077",
"0.... | 0.5928842 | 2 |
Returns the separator size for the toolbar, in pixels. | def giSN(YKHO):
if YKHO._art:
return YKHO._art.GetElementSize(ws84)
return 5 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def JsWA(YKHO):\n return YKHO._tool_border_padding",
"def Ojec(YKHO):\n return 2",
"def OjB9(YKHO):\n return lnPd.Size(16, 15)",
"def WH9x(YKHO):\n if lnPd.Platform == '__WXMAC__':\n return 6\n elif lnPd.Platform == '__WXGTK__':\n return 3\n elif lnPd.Platform == '__WXMSW__':\... | [
"0.62578106",
"0.6158087",
"0.6045892",
"0.6014542",
"0.6011031",
"0.59844327",
"0.59844327",
"0.5970068",
"0.59509367",
"0.5890867",
"0.58537626",
"0.58112264",
"0.5774343",
"0.5771143",
"0.5746388",
"0.57271194",
"0.5712588",
"0.56570196",
"0.56523025",
"0.5613597",
"0.5602... | 0.7813742 | 0 |
Returns whether the toolbar item identified by `tool_id` has an associated drop down window menu or not. | def _9R7(YKHO, LpYX):
ZfUD = YKHO.FindTool(LpYX)
if not ZfUD:
return
return ZfUD.dropdown | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def SvqZ(YKHO, LpYX):\n if LpYX < 0 or LpYX >= len(YKHO._items):\n return False\n if not YKHO._items[LpYX].sizer_item:\n return False\n jKtl, o99Q = YKHO.GetClientSize()\n mawX = YKHO._items[LpYX].sizer_item.GetRect()\n if YKHO._agwStyle & QAs4:\n if YKHO._overflow_visible:\n ... | [
"0.73508537",
"0.66702807",
"0.6541934",
"0.6338776",
"0.6174722",
"0.6138192",
"0.60343075",
"0.5989247",
"0.58965564",
"0.5827166",
"0.56444454",
"0.5641767",
"0.56300676",
"0.5535785",
"0.5486845",
"0.54539245",
"0.5389916",
"0.5367972",
"0.53141",
"0.53099805",
"0.5309178... | 0.6924994 | 1 |
Sets the padding between the tool border and the label. | def j3k4(YKHO, dvgN):
YKHO._tool_border_padding = dvgN | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def KqB7(YKHO, dvgN):\n YKHO._highlightPadding = float(dvgN)",
"def HThn(YKHO, QWcs=1):\n YKHO.add_spacer(0)\n YKHO.formLayout.setRowStretch(YKHO.formLayout.rowCount(), QWcs)",
"def JsWA(YKHO):\n return YKHO._tool_border_padding",
"def tHuz(YKHO):\n ...",
"def dvgN(YKHO):\n return YKHO._g... | [
"0.6728779",
"0.6712371",
"0.65842134",
"0.62550855",
"0.6069846",
"0.59451956",
"0.5884341",
"0.5715769",
"0.5640416",
"0.5589749",
"0.55865806",
"0.5583707",
"0.550068",
"0.5496879",
"0.54795086",
"0.5465976",
"0.5464719",
"0.53963333",
"0.5386035",
"0.53573847",
"0.5330307... | 0.85142547 | 0 |
Returns whether a tool is toggled or not. | def ywDf(YKHO, LpYX):
Wt9E = YKHO.FindTool(LpYX)
if Wt9E:
if Wt9E.kind not in [DLTv, H2My]:
return False
return (Wt9E.state & nPlX and [True] or [False])[0]
return False | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def flgK(YKHO):\n return not YKHO.up",
"def Af7N(YKHO):\n for a1PO in YKHO.toggles:\n if a1PO == True:\n return False\n return True",
"def aQ5h(YKHO, LpYX):\n Wt9E = YKHO.FindTool(LpYX)\n if Wt9E:\n return (Wt9E.state & Ofmh and [False] or [True])[0]\n return False",
... | [
"0.6971917",
"0.67963743",
"0.6742751",
"0.66994256",
"0.6555123",
"0.6517271",
"0.6479104",
"0.6450399",
"0.6433462",
"0.64233214",
"0.6387577",
"0.6371083",
"0.6371083",
"0.6335538",
"0.6333112",
"0.6326493",
"0.630742",
"0.63024366",
"0.6286366",
"0.6270158",
"0.6270158",
... | 0.7935187 | 0 |
Returns whether the tool identified by `tool_id` is enabled or not. | def aQ5h(YKHO, LpYX):
Wt9E = YKHO.FindTool(LpYX)
if Wt9E:
return (Wt9E.state & Ofmh and [False] or [True])[0]
return False | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ywDf(YKHO, LpYX):\n Wt9E = YKHO.FindTool(LpYX)\n if Wt9E:\n if Wt9E.kind not in [DLTv, H2My]:\n return False\n return (Wt9E.state & nPlX and [True] or [False])[0]\n return False",
"def FS4d(YKHO, LpYX, QTBn):\n Wt9E = YKHO.FindTool(LpYX)\n if Wt9E:\n if QTBn == ... | [
"0.72524446",
"0.6568722",
"0.60931516",
"0.6069928",
"0.59716904",
"0.58906734",
"0.5874602",
"0.58277756",
"0.58118284",
"0.57929873",
"0.5704577",
"0.56858355",
"0.5682439",
"0.56364805",
"0.5607738",
"0.5597667",
"0.5589999",
"0.55867",
"0.557804",
"0.55758154",
"0.557116... | 0.8591978 | 0 |
Returns whether the L{AuiToolBar} size fits in a specified size. | def RVXZ(YKHO):
if len(YKHO._items) == 0:
return True
return YKHO.GetToolFitsByIndex(len(YKHO._items) - 1) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def OjB9(YKHO):\n return lnPd.Size(16, 15)",
"def RK6C(YKHO):\n return YKHO.HasFlag(YKHO.optionResizable)",
"def q4WV(cviu, F0y5, gBn4, hG8N=None):\n [h3cg, BQGg, Z3uP, bYzl] = list(cviu)\n TVTK = bYzl - BQGg + 1\n if TVTK < gBn4:\n return True\n H2v2 = Z3uP - h3cg + 1\n if H2v2 < F... | [
"0.6321636",
"0.623316",
"0.6096161",
"0.604974",
"0.6036007",
"0.5872773",
"0.58247536",
"0.57997435",
"0.5793161",
"0.57753974",
"0.5756451",
"0.5728016",
"0.57150245",
"0.5714193",
"0.5695033",
"0.5653266",
"0.56532305",
"0.5614534",
"0.5596662",
"0.55900306",
"0.5549126",... | 0.65972435 | 0 |
Returns the state of the overflow button. | def Yjyg(YKHO):
return YKHO._overflow_state | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def OfAc(YKHO):\n return fCcz(YKHO.xbox_listener.get())",
"def sn2m(YKHO):\n if not YKHO._overflow_sizer_item:\n YKHO._overflow_state = 0\n return\n _zHz = 0\n _izE = YKHO.GetOverflowRect()\n Xf84 = lnPd.GetMousePosition()\n Xf84 = YKHO.ScreenToClient(Xf84)\n if _izE.Contains((... | [
"0.65037537",
"0.63708717",
"0.6290681",
"0.6282553",
"0.6225551",
"0.6155135",
"0.6135366",
"0.5972017",
"0.592044",
"0.5854057",
"0.57320625",
"0.5640633",
"0.5601132",
"0.55748343",
"0.5495263",
"0.5430956",
"0.5366864",
"0.53543556",
"0.5343059",
"0.5336614",
"0.5336614",... | 0.773777 | 0 |
Starts a timer in L{AuiManager} to slidein/slideout the minimized pane. | def SxwK(YKHO):
uquB = YKHO.IsPaneMinimized()
if not uquB:
return
p_z1 = YKHO.GetAuiManager()
p_z1.StartPreviewTimer(YKHO) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def TWKj(YKHO, tvqc):\n KnxT = YKHO._sliding_pane.window\n YKHO._sliding_frame = lnPd.MiniFrame(None, -1, title=bGrB('Pane Preview'), style=lnPd.FRAME_TOOL_WINDOW | lnPd.STAY_ON_TOP | lnPd.FRAME_NO_TASKBAR | lnPd.CAPTION)\n KnxT.Reparent(YKHO._sliding_frame)\n YKHO._sliding_frame.SetSize((0, 0))\n K... | [
"0.618208",
"0.61438924",
"0.61288136",
"0.582046",
"0.57698596",
"0.571578",
"0.56622064",
"0.5489197",
"0.54223394",
"0.538015",
"0.531463",
"0.5262892",
"0.52580774",
"0.52441835",
"0.52300084",
"0.52046955",
"0.51934534",
"0.5189031",
"0.51612",
"0.5153018",
"0.5151729",
... | 0.74142987 | 0 |
Returns the currently selected page, or 1 if none was selected. | def nQ9w(YKHO):
return YKHO.selection | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _Cfr(YKHO):\n B2Dn = YKHO.request.GET.get(YKHO.page_kwarg)\n try:\n return int(B2Dn)\n except (ValueError, TypeError):\n if B2Dn == 'last':\n return YKHO.query.num_pages\n else:\n return None",
"def KbfE(YKHO) -> int:\n PJtN = YKHO.args.get('page', 1)\n ... | [
"0.8120049",
"0.7713501",
"0.76449805",
"0.75462526",
"0.7462582",
"0.7028842",
"0.68586606",
"0.68554324",
"0.6580761",
"0.648015",
"0.6459868",
"0.63897455",
"0.63847077",
"0.62205994",
"0.62087315",
"0.61896104",
"0.61349803",
"0.60881764",
"0.6070049",
"0.6052301",
"0.604... | 0.5502579 | 51 |
Sets the drag and drop source. | def p72r(YKHO, KCHu):
YKHO.drag_source = KCHu | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xUuB(YKHO, JZXy):\n YKHO.data['source'] = JZXy",
"def xUuB(YKHO, KoHv):\n YKHO.source = KoHv",
"def gNCK(YKHO, KoHv):\n YKHO.single_selection_from_static_kendo_dropdown(YKHO.source_kendo_dropdown_arrow_locator, KoHv)",
"def JZXy(YKHO, JZXy):\n YKHO._source = JZXy",
"def JZXy(YKHO, JZXy):\n ... | [
"0.7314676",
"0.6941778",
"0.6896643",
"0.68735266",
"0.68735266",
"0.68735266",
"0.68735266",
"0.68735266",
"0.68735266",
"0.68735266",
"0.6730877",
"0.67265296",
"0.64803857",
"0.64244634",
"0.62842244",
"0.61891675",
"0.6137512",
"0.6130404",
"0.6078463",
"0.605605",
"0.59... | 0.8421681 | 0 |
Returns whether the event is allowed or not. | def Z_6Z(YKHO):
return YKHO.notify.IsAllowed() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def F4VP(YKHO) -> bool:\n return YKHO.effect == AZ9y",
"def glwj(YKHO, hEKL):\n return hEKL in YKHO._watchable_events or (hEKL == YKHO.ANY and YKHO._allow_any)",
"def Thq3(YKHO):\n if YKHO.state_model.op_state in [ilBV.FAULT, ilBV.UNKNOWN, ilBV.DISABLE]:\n return False\n return True",
"def... | [
"0.71218127",
"0.6753952",
"0.6584852",
"0.65724695",
"0.65048504",
"0.6486049",
"0.64661396",
"0.6425485",
"0.64117974",
"0.6407661",
"0.6383321",
"0.6383321",
"0.6368016",
"0.63388735",
"0.6322138",
"0.63019186",
"0.62861454",
"0.62475485",
"0.6230119",
"0.6214851",
"0.6194... | 0.75149125 | 2 |
Inserts a page in the tab control in the position specified by `idx`. | def djUs(YKHO, B2Dn, U34r, or8S):
f0lG = U34r
f0lG.window = B2Dn
if or8S >= len(YKHO._pages):
YKHO._pages.append(f0lG)
else:
YKHO._pages.insert(or8S, f0lG)
if YKHO._art:
tM1X = YKHO._auiNotebook.GetMinMaxTabWidth()
YKHO._art.SetSizingInfo(YKHO._rect.GetSize(), len(YKH... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def djUs(YKHO, ah8_, B2Dn, KzVY, EfUA=False, RRxr=lnPd.NullBitmap, Atpj=lnPd.NullBitmap, z5su=None):\n if not B2Dn:\n return False\n B2Dn.Reparent(YKHO)\n U34r = ljQw()\n U34r.window = B2Dn\n U34r.caption = KzVY\n U34r.bitmap = RRxr\n U34r.active = False\n U34r.control = z5su\n De... | [
"0.6906441",
"0.6536442",
"0.64110255",
"0.63983506",
"0.6327765",
"0.6254387",
"0.6223096",
"0.61904544",
"0.61822265",
"0.61658764",
"0.6029286",
"0.59644216",
"0.5948939",
"0.5946893",
"0.5930107",
"0.58418053",
"0.58297706",
"0.5824505",
"0.57878226",
"0.5762453",
"0.5756... | 0.746633 | 0 |
Returns the default border style for L{AuiTabCtrl}. | def MahP(YKHO):
return lnPd.BORDER_NONE | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def bJWj(YKHO, _Cnz, FEFr='minimal'):\n if FEFr == 'minimal' or FEFr == '':\n FEFr = ''\n FlMo = False\n ktYx = 'black'\n CBt6 = 0\n aivs = 0\n else:\n FEFr = FEFr\n FlMo = not _Cnz == FEFr\n ktYx = jlx0(FEFr)\n CBt6 = 10\n aivs = '0.3cm'\... | [
"0.7032774",
"0.7029327",
"0.70237297",
"0.69664186",
"0.6948449",
"0.68760496",
"0.65939206",
"0.658412",
"0.6536071",
"0.65201724",
"0.6433764",
"0.64230055",
"0.64226294",
"0.63761705",
"0.63590264",
"0.63590264",
"0.63104945",
"0.6299088",
"0.61897975",
"0.6171069",
"0.61... | 0.72109705 | 1 |
Deletes a page at the given index. Calling this method will generate a page change event. | def jzyA(YKHO, ah8_):
if ah8_ >= YKHO._tabs.GetPageCount():
return False
NMrk = YKHO._tabs.GetWindowFromIdx(ah8_)
NMrk.Show(False)
YKHO.RemoveControlFromPage(ah8_)
if not YKHO.RemovePage(ah8_):
return False
NMrk.Destroy()
return True | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def t5w_(YKHO, d6pt: int) -> Kt_s:\n pass",
"def t5w_(YKHO, d6pt: int) -> Kt_s:\n pass",
"def PTpj(YKHO, d6pt):\n del YKHO.data[d6pt]",
"def Trer(YKHO, d6pt):\n PTpj = f\"(//*[name()='svg'][@class='chakra-icon css-onkibi'])[{d6pt}]\"\n AEic = YKHO.locator_finder_by_xpath(PTpj)\n AEic.click(... | [
"0.70150125",
"0.70150125",
"0.701342",
"0.6829136",
"0.67921984",
"0.6411058",
"0.63854617",
"0.6385324",
"0.6383187",
"0.638184",
"0.6350891",
"0.6221248",
"0.61737126",
"0.61697435",
"0.61576337",
"0.6154241",
"0.6139235",
"0.6112419",
"0.6108299",
"0.6090874",
"0.6088867"... | 0.6225312 | 11 |
Hides all tabs on the L{AuiNotebook} control. | def f8kc(YKHO, Zode=True):
YKHO._hide_tabs = Zode | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Q3fA(YKHO):\n for nn7k in YKHO.__UI_objects:\n nn7k.hide()",
"def Afoa(YKHO):\n YKHO.window.run_command('hide_panel', {'panel': YKHO.full_name})",
"def Gp7C(YKHO):\n YKHO.settings_button.hide()\n YKHO.radio_button.hide()\n YKHO.blank_button.hide()\n YKHO.close_button.hide()",
"de... | [
"0.6771915",
"0.6146084",
"0.5939508",
"0.59177864",
"0.5898854",
"0.58914185",
"0.5815749",
"0.57810307",
"0.5750949",
"0.5729287",
"0.5706104",
"0.5703411",
"0.56339884",
"0.56116277",
"0.5585486",
"0.5563428",
"0.5550178",
"0.55305946",
"0.55035955",
"0.550054",
"0.5476499... | 0.7570488 | 0 |
Returns whether a splitted L{AuiNotebook} can be unsplitted by doubleclicking on the splitter sash. | def kX_Z(YKHO):
return YKHO._sash_dclick_unsplit | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def gkzX(YKHO):\n return YKHO.ui_item.IsSplit()",
"def lGjw(YKHO):\n return bool(gTEQ('PrlVmDevHd_IsSplitted', YKHO.handle))",
"def DMQa(YKHO):\n return False",
"def VjUD(YKHO):\n return not YKHO.IsNotebookPage() and YKHO.HasNotebook()",
"def e22G(YKHO, e1uP):\n cvwt = YKHO.copy()\n cvwt.... | [
"0.6822967",
"0.6186199",
"0.60696834",
"0.6035475",
"0.58117205",
"0.5683646",
"0.5644685",
"0.5458607",
"0.5401121",
"0.53507906",
"0.53306735",
"0.5230481",
"0.5178123",
"0.5157785",
"0.51223934",
"0.5101323",
"0.50288785",
"0.5015465",
"0.4996475",
"0.4932013",
"0.4920457... | 0.5496526 | 7 |
Returns the currently active page (not the index), or ``None`` if none was selected. | def Ex6C(YKHO):
if YKHO._curpage >= 0 and YKHO._curpage < YKHO._tabs.GetPageCount():
return YKHO.GetPage(YKHO._curpage)
return None | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PcSD(YKHO):\n tTee = YKHO._window.currentBrowser()\n if tTee is None:\n return None\n return tTee.page()",
"def Oafv(YKHO):\n for cIIR, B2Dn in enumerate(YKHO._pages):\n if B2Dn.active:\n return cIIR\n return lnPd.NOT_FOUND",
"def _Cfr(YKHO):\n B2Dn = YKHO.request... | [
"0.7864572",
"0.767943",
"0.7369837",
"0.73424256",
"0.72448355",
"0.71576744",
"0.70716304",
"0.7063425",
"0.6545512",
"0.64577186",
"0.6395179",
"0.6352835",
"0.6335523",
"0.63166845",
"0.62836367",
"0.626236",
"0.62302226",
"0.6199479",
"0.6146556",
"0.6101568",
"0.6021005... | 0.79352397 | 0 |
Returns whether the page specified by the index `page_idx` is enabled. | def qtdI(YKHO, ah8_):
return YKHO._tabs.GetEnabled(ah8_) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def qtdI(YKHO, or8S):\n if or8S < 0 or or8S >= len(YKHO._pages):\n return False\n return YKHO._pages[or8S].enabled",
"def IN9u(YKHO, d6pt):\n return YKHO.isKnown(d6pt) and YKHO.isEnabled(d6pt)",
"def X6uk(YKHO, d6pt):\n YKHO._checkIndex(d6pt)\n return YKHO._items[d6pt].isEnabled",
"def ... | [
"0.819741",
"0.64364797",
"0.6329759",
"0.61624473",
"0.6140092",
"0.6057034",
"0.5850597",
"0.5716787",
"0.5682948",
"0.5501512",
"0.5476011",
"0.5425951",
"0.5370082",
"0.53632545",
"0.5362481",
"0.5345253",
"0.53003156",
"0.52363926",
"0.51932603",
"0.5190555",
"0.5147412"... | 0.73285043 | 1 |
Float the page in `page_index` by reparenting it to a floating frame. | def NpRZ(YKHO, XrVT):
ypAO = VhcE.GetManager(YKHO)
fyvm = YKHO.GetPageText(XrVT)
mbVv = YKHO.GetPage(XrVT)
xCnI = YKHO.GetPageBitmap(XrVT)
qUYs = YKHO.GetPageTextColour(XrVT)
U34r = YKHO.GetPageInfo(XrVT)
if ypAO and ypAO != YKHO._mgr:
ypAO = VhcE.GetManager(YKHO)
if hasattr(... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def SI7N(YKHO, tvqc):\n ypAO = VhcE.GetManager(YKHO)\n if ypAO and ypAO != YKHO._mgr:\n tmvf = tvqc.pane\n if tmvf.name.startswith('__floating__'):\n YKHO.ReDockPage(tmvf)\n return\n tvqc.Skip()\n else:\n tvqc.Skip()\n f4IJ = tvqc.GetEventObject()\n... | [
"0.6097687",
"0.5792611",
"0.5229933",
"0.5212494",
"0.5176919",
"0.5129654",
"0.5080414",
"0.5010685",
"0.50078803",
"0.49728712",
"0.4911021",
"0.48943725",
"0.48901168",
"0.4884622",
"0.48826656",
"0.48603377",
"0.4852945",
"0.48296937",
"0.47611648",
"0.47347227",
"0.4727... | 0.7817146 | 0 |
Returns the tab control height. | def B4yr(YKHO):
return YKHO._tab_ctrl_height | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def euFJ(YKHO):\n if YKHO._requested_tabctrl_height != -1:\n return YKHO._requested_tabctrl_height\n l34Y = YKHO._tabs.GetArtProvider()\n return l34Y.GetBestTabCtrlSize(YKHO, YKHO._tabs.GetPages(), YKHO._requested_bmp_size)",
"def mJaj(YKHO) -> int:\n return YKHO.widget_size[1]",
"def H2v2(Y... | [
"0.80797464",
"0.7678016",
"0.7302882",
"0.7286535",
"0.7286535",
"0.7286535",
"0.7279064",
"0.7236725",
"0.7236725",
"0.7236725",
"0.7236725",
"0.7231473",
"0.71697986",
"0.71697986",
"0.71164227",
"0.71164227",
"0.711302",
"0.7030472",
"0.70176995",
"0.6985891",
"0.6969557"... | 0.8831089 | 0 |
Gets the height of the notebook for a given page height. | def DYgi(YKHO, H8ky):
YKHO.UpdateTabCtrlHeight()
_usS = YKHO.GetTabCtrlHeight()
ihBT = 2
return _usS + H8ky + ihBT | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def H2v2(YKHO):\n return YKHO.client.call('GET', YKHO.name + 'height')",
"def xglF(YKHO):\n return YKHO._height",
"def xglF(YKHO):\n return YKHO._height",
"def xglF(YKHO):\n return YKHO._height",
"def xglF(YKHO):\n return YKHO._height",
"def H2v2(YKHO):\n return YKHO['height']",
"def ... | [
"0.7020491",
"0.6566988",
"0.6566988",
"0.6566988",
"0.6566988",
"0.6554843",
"0.6554843",
"0.65441334",
"0.65337425",
"0.65311915",
"0.65311915",
"0.6509279",
"0.6509279",
"0.6509279",
"0.65015286",
"0.6452506",
"0.6440423",
"0.6440423",
"0.63848627",
"0.6377999",
"0.6359983... | 0.7463353 | 0 |
Returns the default border style for L{AuiNotebook}. | def MahP(YKHO):
return lnPd.BORDER_NONE | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Vt_h():\n _rli = [[0, 0, 0, 1], [0, 0, 0, 1], [0, 0, 0, 1], [0, 0, 0, 1], [0, 0, 0, 1], [0, 0, 0, 1]]\n return _rli",
"def xxp5(YKHO) -> int:\n return YKHO._border_color",
"def usBB(YKHO):\n return YKHO._borderColor",
"def JFs2(YKHO):\n return YKHO._autoNBStyle",
"def bJWj(YKHO, _Cnz, FE... | [
"0.68723756",
"0.680534",
"0.664778",
"0.6631029",
"0.65700924",
"0.6557619",
"0.65369594",
"0.65324837",
"0.64972377",
"0.6488084",
"0.645928",
"0.64299136",
"0.64125246",
"0.63882816",
"0.63882816",
"0.6315145",
"0.62851995",
"0.6176772",
"0.61572033",
"0.6064849",
"0.59825... | 0.7530604 | 0 |
Returns the face shading colour on push buttons/backgrounds, mimicking as closely as possible the platform UI colours. | def zsAF():
if lnPd.Platform == '__WXMAC__':
if hasattr(lnPd, 'MacThemeColour'):
frve = lnPd.MacThemeColour(PE7J.Appearance.kThemeBrushToolbarBackground)
else:
u7tq = lnPd.Brush(lnPd.BLACK)
u7tq.MacSetTheme(PE7J.Appearance.kThemeBrushToolbarBackground)
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def oM89(YKHO):\n YKHO.colour = [YKHO.getH(), YKHO.getS(), 1]\n return YKHO.colour",
"def mvpM(YKHO):\n rAV8 = int(YKHO.STYLE_DEFAULTS['bg'].lstrip('#'))\n if YKHO.link_missing:\n rAV8 += 100\n if YKHO._active:\n rAV8 += 123\n if YKHO.row_index % 2:\n rAV8 += 111\n retur... | [
"0.60450596",
"0.60161895",
"0.5937642",
"0.5891759",
"0.58110976",
"0.573711",
"0.5727056",
"0.57220286",
"0.56971425",
"0.5652414",
"0.56453437",
"0.5643448",
"0.56384075",
"0.56363225",
"0.5631236",
"0.5617876",
"0.5613097",
"0.55831015",
"0.55682886",
"0.556503",
"0.55421... | 0.5790796 | 5 |
Gets the value of a certain setting. | def oTYK(YKHO, id):
if id == eJoP:
return YKHO._sash_size
elif id == QhUP:
return YKHO._caption_size
elif id == vAJm:
return YKHO._gripper_size
elif id == TfBa:
return YKHO._border_size
elif id == _kzS:
return YKHO._button_size
elif id == rJsv:
ret... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def U5a0(YKHO, leAC, YqMg):\n return YKHO.parser.get(leAC, YqMg)",
"def o59G(YKHO, YqMg):\n return YKHO.do_rpc('get_setting', key=H5ew)",
"def o59G(YKHO, id):\n return KNMi.getSetting(id)",
"def BWXx(YKHO, P5wt):\n if P5wt not in YKHO.values:\n return False\n return YKHO.values[P5wt]",
... | [
"0.8637872",
"0.81520337",
"0.7711588",
"0.76064265",
"0.7602906",
"0.7487841",
"0.74137616",
"0.7238473",
"0.7137286",
"0.70844334",
"0.7015805",
"0.7014859",
"0.6951652",
"0.6878789",
"0.68306273",
"0.6830544",
"0.67940104",
"0.6745043",
"0.66864866",
"0.6671265",
"0.666615... | 0.0 | -1 |
Gets the colour of a certain setting. | def ucuE(YKHO, id):
if id == KohJ:
return YKHO._background_brush.GetColour()
elif id == E7Wy:
return YKHO._background_gradient_colour
elif id == HqfM:
return YKHO._sash_brush.GetColour()
elif id == TJAd:
return YKHO._inactive_caption_colour
elif id == CTRD:
re... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def wGtj(YKHO):\n return YKHO.colour",
"def qfpW(YKHO):\n return YKHO.settings['color']",
"def wGtj(YKHO) -> str:\n return YKHO.colour",
"def PICn(YKHO) -> h8nf[str]:\n return YKHO.color",
"def PICn(YKHO):\n return YKHO.color",
"def PbNz(YKHO):\n return YKHO._colour",
"def PICn(YKHO):... | [
"0.7717305",
"0.74701536",
"0.74588746",
"0.71331877",
"0.7119621",
"0.70299745",
"0.7029074",
"0.7020273",
"0.7017668",
"0.6981525",
"0.6959796",
"0.69440645",
"0.6936623",
"0.6925226",
"0.69127655",
"0.6909953",
"0.6882268",
"0.68792254",
"0.6877973",
"0.6877973",
"0.687797... | 0.63338554 | 69 |
Draws the pane border. | def _hee(YKHO, Bc4p, KnxT, mawX, tmvf):
subD = lnPd.Rect(*mawX)
Bc4p.SetPen(YKHO._border_pen)
Bc4p.SetBrush(lnPd.TRANSPARENT_BRUSH)
e7ZM = YKHO.GetMetric(TfBa)
if tmvf.IsToolbar():
for P2GO in Ni9Y(0, e7ZM):
Bc4p.SetPen(lnPd.WHITE_PEN)
Bc4p.DrawLine(subD.x, subD.y, su... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def VIrI(YKHO):\n YKHO.wts(0, 0, '╭' + '─' * (YKHO.width - 2) + '╮', YKHO._borderColor)\n YKHO.wts(YKHO.height - 2, 0, '└' + '─' * (YKHO.width - 2) + '╯', YKHO._borderColor)\n for s7Kh in range(1, YKHO.height - 2):\n YKHO.wts(s7Kh, 0, '│', YKHO._borderColor)\n YKHO.wts(s7Kh, YKHO.width - 1, ... | [
"0.7275298",
"0.71526355",
"0.6954762",
"0.6848935",
"0.65986234",
"0.6576923",
"0.6537121",
"0.64875793",
"0.6364771",
"0.6359175",
"0.63137954",
"0.6294444",
"0.6259349",
"0.6220067",
"0.6207264",
"0.61783844",
"0.60921574",
"0.6089073",
"0.60816747",
"0.6064524",
"0.605987... | 0.75473917 | 0 |
Returns whether a dock is valid or not. In order to be valid, a dock needs to have a nonzero `dock_direction`. | def plAY(YKHO):
return YKHO.dock_direction != 0 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ohXu(YKHO):\n return not YKHO.HasFlag(YKHO.optionFloating)",
"def hsCN(YKHO):\n return YKHO.IsTopDockable() or YKHO.IsBottomDockable() or YKHO.IsLeftDockable() or YKHO.IsRightDockable() or YKHO.IsNotebookDockable()",
"def NRDG(tO9_):\n return tO9_ & 240 == WRos.BASE",
"def SoUQ(YKHO, XP5J):\n ... | [
"0.72080857",
"0.714613",
"0.6523869",
"0.652144",
"0.65043306",
"0.64776564",
"0.64776564",
"0.6417146",
"0.63634837",
"0.6204398",
"0.610355",
"0.60985845",
"0.6064441",
"0.5979239",
"0.5955779",
"0.59088194",
"0.58576226",
"0.58336926",
"0.5716748",
"0.56084394",
"0.558726... | 0.7511353 | 0 |
Returns whether the dock is vertical or not. | def ZR3j(YKHO):
return YKHO.dock_direction in [XsVj, DL_X, Isai] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ZR3j(YKHO):\n return YKHO.dock_direction in [XsVj, DL_X]",
"def vuqD(YKHO):\n return YKHO.start.y == YKHO.end.y",
"def WnvX(YKHO):\n return YKHO._vertical",
"def vuqD(YKHO):\n return YKHO.slope == float('+inf')",
"def vusA(YKHO):\n return YKHO.dock_direction in [mqNd, cDJc]",
"def vusA... | [
"0.88800097",
"0.7342384",
"0.6945133",
"0.6634582",
"0.646672",
"0.646672",
"0.6405187",
"0.6190984",
"0.60094726",
"0.60079986",
"0.59889454",
"0.59482485",
"0.5903679",
"0.5898499",
"0.58681864",
"0.5840189",
"0.5811312",
"0.57681817",
"0.5758462",
"0.5615806",
"0.55846757... | 0.885405 | 1 |
Assigns the properties of the `other` L{AuiDockingGuideInfo} to `self`. | def ftxo(YKHO, Elif):
YKHO.host = Elif.host
YKHO.dock_direction = Elif.dock_direction | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO, Elif=None):\n if Elif:\n YKHO.Assign(Elif)\n else:\n YKHO.host = None\n YKHO.dock_direction = ZdXA",
"def sUFK(YKHO, Elif):\n if Elif.use_alpha:\n YKHO.use_alpha = True\n if Elif.mipmap:\n YKHO.mipmap = True",
"def op6U(YKHO, Elif):\n YKHO.data =... | [
"0.61917937",
"0.5796462",
"0.57851976",
"0.57408786",
"0.5673639",
"0.54709053",
"0.5445581",
"0.54435277",
"0.54345316",
"0.54075396",
"0.53254753",
"0.53195214",
"0.528257",
"0.52810717",
"0.52804095",
"0.5259784",
"0.525975",
"0.5232427",
"0.51898503",
"0.5163943",
"0.512... | 0.68227524 | 0 |
Hosts a docking guide window. | def NPYu(YKHO, MKlR):
YKHO.host = MKlR
return YKHO | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def eLpg(YKHO, PJWX=False):\n if ccKF.window(YKHO.window, exists=True):\n ccKF.deleteUI(YKHO.window)\n YKHO.window = ccKF.loadUI(uiFile=YKHO.uiFile, verbose=PJWX)\n ccKF.dockControl(allowedArea='all', area='right', floating=False, height=ccKF.window(YKHO.window, query=True, height=True), content=YK... | [
"0.72235006",
"0.72037995",
"0.70266575",
"0.6894837",
"0.6864495",
"0.6756456",
"0.6360665",
"0.629573",
"0.61398375",
"0.6050475",
"0.6024135",
"0.60065866",
"0.6006061",
"0.5997298",
"0.5986016",
"0.5977732",
"0.59727854",
"0.59450877",
"0.58869064",
"0.5861312",
"0.586131... | 0.0 | -1 |
Sets the guide window to left docking. | def rbtA(YKHO):
YKHO.dock_direction = XsVj
return YKHO | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rbtA(YKHO):\n YKHO.dock_direction = XsVj\n return YKHO",
"def YWYp():\n WZHJ = x0jD()\n cIiC = e60G(WZHJ)\n y2Jm = _tYi()\n LrGk = LufI(WZHJ, cIiC)\n Oy_y = R_pu()\n XsU7(WZHJ, LrGk, Oy_y, cIiC, y2Jm)\n dBDR(WZHJ)",
"def lNk1(YKHO, Fg_i=True):\n return YKHO.SetFlag(YKHO.option... | [
"0.83066505",
"0.72037303",
"0.705597",
"0.6664943",
"0.665297",
"0.663993",
"0.6555387",
"0.64147013",
"0.64079",
"0.64079",
"0.638987",
"0.6369498",
"0.63216674",
"0.6307417",
"0.62807673",
"0.6265466",
"0.62431693",
"0.62093174",
"0.6203829",
"0.61915314",
"0.618263",
"0... | 0.83180314 | 0 |
Sets the guide window to right docking. | def E_PP(YKHO):
YKHO.dock_direction = DL_X
return YKHO | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def E_PP(YKHO):\n YKHO.dock_direction = DL_X\n return YKHO",
"def rbtA(YKHO):\n YKHO.dock_direction = XsVj\n return YKHO",
"def rbtA(YKHO):\n YKHO.dock_direction = XsVj\n return YKHO",
"def PwZr(YKHO):\n YKHO.dock_direction = Isai\n return YKHO",
"def Uu6A():\n WZHJ = x0jD()\n ... | [
"0.7573268",
"0.65851176",
"0.6541352",
"0.64673394",
"0.64516723",
"0.64174044",
"0.626115",
"0.62072784",
"0.60597163",
"0.6028947",
"0.60126406",
"0.60061234",
"0.5987798",
"0.59126395",
"0.5877589",
"0.5877589",
"0.58770305",
"0.58770305",
"0.58750963",
"0.58750963",
"0.5... | 0.76075417 | 0 |
Sets the guide window to bottom docking. | def OgpD(YKHO):
YKHO.dock_direction = cDJc
return YKHO | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Pyf2():\n WZHJ = x0jD()\n cIiC = UBsI(WZHJ)\n y2Jm = z5FS()\n LrGk = B2MA(WZHJ, cIiC)\n Oy_y = AqHL()\n XsU7(WZHJ, LrGk, Oy_y, cIiC, y2Jm)\n dBDR(WZHJ)",
"def i1WG(YKHO, Fg_i=True):\n return YKHO.SetFlag(YKHO.optionBottomDockable, Fg_i)",
"def b2yS(YKHO):\n return uaAZ.BottomDock... | [
"0.67939603",
"0.6751474",
"0.65987515",
"0.6402743",
"0.6238667",
"0.6238667",
"0.6057415",
"0.5987111",
"0.59651",
"0.5920315",
"0.5919303",
"0.5902333",
"0.5899091",
"0.5852561",
"0.5799384",
"0.5784188",
"0.5761596",
"0.57263285",
"0.57003707",
"0.5682642",
"0.5679366",
... | 0.8266319 | 0 |
Sets the guide window to center docking. | def PwZr(YKHO):
YKHO.dock_direction = Isai
return YKHO | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PwZr(YKHO):\n YKHO.dock_direction = Isai\n return YKHO",
"def uJJX(YKHO):\n YKHO.dock_direction = gxxc\n return YKHO",
"def uJJX(YKHO):\n YKHO.dock_direction = gxxc\n return YKHO",
"def e39W(YKHO):\n ut8L = YKHO.frameGeometry()\n hgjH = CsJA.QDesktopWidget().availableGeometry().ce... | [
"0.8253774",
"0.78256774",
"0.78256774",
"0.75601804",
"0.7402098",
"0.74007595",
"0.73669374",
"0.72941446",
"0.72546536",
"0.7245482",
"0.72454506",
"0.7221114",
"0.7221114",
"0.7194136",
"0.7189238",
"0.7143885",
"0.7046777",
"0.7003679",
"0.68895805",
"0.68404603",
"0.682... | 0.8273445 | 0 |
Sets the guide window to centre docking. | def uJJX(YKHO):
YKHO.dock_direction = gxxc
return YKHO | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PwZr(YKHO):\n YKHO.dock_direction = Isai\n return YKHO",
"def PwZr(YKHO):\n YKHO.dock_direction = Isai\n return YKHO",
"def A4Ls(YKHO):\n jOpO = YKHO.frameGeometry()\n U7YL = x5x0.QDesktopWidget().availableGeometry().center()\n jOpO.moveCenter(U7YL)\n YKHO.move(jOpO.topLeft())",
"... | [
"0.8172649",
"0.8153238",
"0.7406542",
"0.73597497",
"0.72777116",
"0.72612965",
"0.7173229",
"0.7143849",
"0.71281296",
"0.7093151",
"0.70891476",
"0.70891476",
"0.7062553",
"0.69391596",
"0.69327396",
"0.6898496",
"0.68089384",
"0.67505133",
"0.66243064",
"0.65991724",
"0.6... | 0.79671586 | 3 |
Returns whether the event has been vetoed or not. | def IcNi(YKHO):
return YKHO.veto_flag | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def eTp3(YKHO):\n return YKHO.canveto_flag and YKHO.veto_flag",
"def Debg(YKHO):\n return YKHO._coordinator.get_event_timestamp(YKHO._event_name) > 0",
"def HdmS(YKHO, tvqc: Event | None) -> bool:\n if tvqc is None:\n return False\n wzkt = GhSD.utcnow()\n BWXx = wzkt > tvqc.start\n if ... | [
"0.7350837",
"0.67622906",
"0.6651429",
"0.6512991",
"0.6456846",
"0.64160496",
"0.63918924",
"0.63666856",
"0.6268295",
"0.6229335",
"0.62082946",
"0.6146036",
"0.60950154",
"0.6070359",
"0.6067431",
"0.6064287",
"0.60387945",
"0.6015309",
"0.5991997",
"0.59817016",
"0.59513... | 0.6457589 | 4 |
Sets whether the event can be vetoed or not. | def qr2x(YKHO, d9zh):
YKHO.canveto_flag = d9zh | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def eTp3(YKHO):\n return YKHO.canveto_flag and YKHO.veto_flag",
"def jAVC(YKHO, qa7V=True):\n YKHO.veto_flag = qa7V",
"def jAVC(YKHO):\n YKHO.notify.Veto()",
"def jAVC(YKHO):\n YKHO.notify.Veto()",
"def jAVC(YKHO):\n YKHO.notify.Veto()",
"def bkD6(YKHO, tvqc):\n qIxc = YKHO.lhs.lower()\... | [
"0.72897667",
"0.65620476",
"0.60493636",
"0.60493636",
"0.60493636",
"0.57558876",
"0.5602257",
"0.55629426",
"0.55550814",
"0.55550814",
"0.5546493",
"0.5496637",
"0.53906447",
"0.5225306",
"0.5193479",
"0.5191024",
"0.5186003",
"0.51511526",
"0.5084371",
"0.50838584",
"0.5... | 0.7489401 | 0 |
Returns whether the event can be vetoed and has been vetoed. | def eTp3(YKHO):
return YKHO.canveto_flag and YKHO.veto_flag | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def HdmS(YKHO, tvqc: Event | None) -> bool:\n if tvqc is None:\n return False\n wzkt = GhSD.utcnow()\n BWXx = wzkt > tvqc.start\n if BWXx and tvqc.end is not None and (wzkt > tvqc.end):\n BWXx = False\n return BWXx",
"def Debg(YKHO):\n return YKHO._coordinator.get_event_timestamp(... | [
"0.63925517",
"0.63817364",
"0.6282871",
"0.62060064",
"0.61551934",
"0.6141569",
"0.6138371",
"0.61244446",
"0.6073676",
"0.6011909",
"0.59805596",
"0.5907706",
"0.5884316",
"0.58793664",
"0.58715385",
"0.5868676",
"0.58605933",
"0.5830408",
"0.5819803",
"0.58110166",
"0.580... | 0.7996117 | 0 |
Setter for the `dock_direction`. | def l6St(YKHO, BWXx):
YKHO._dock_direction = BWXx | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def LgK1(YKHO, XSoh):\n YKHO.dock_direction = XSoh\n return YKHO",
"def jDJr(YKHO):\n if YKHO.IsMaximized():\n return Isai\n else:\n return YKHO._dock_direction",
"def E_PP(YKHO):\n YKHO.dock_direction = DL_X\n return YKHO",
"def E_PP(YKHO):\n YKHO.dock_direction = DL_X\n ... | [
"0.85225415",
"0.75735766",
"0.6798211",
"0.6797819",
"0.6488544",
"0.6343182",
"0.63319045",
"0.63221693",
"0.6156559",
"0.6143301",
"0.61408556",
"0.61297894",
"0.61273736",
"0.61009353",
"0.60432637",
"0.6022159",
"0.6019626",
"0.598727",
"0.598727",
"0.59435993",
"0.59414... | 0.92109865 | 0 |
Returns ``True`` if the L{AuiPaneInfo} structure is valid. | def plAY(YKHO):
return YKHO.window != None | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cJ84(YKHO):\n if YKHO.noteName is not None and YKHO.accidental is not None and (YKHO.octave is not None):\n return True\n else:\n return False",
"def SGVO(YKHO) -> bool:\n try:\n YKHO.shape\n return True\n except ValueError:\n return False",
"def f_K4(YKHO):\n... | [
"0.6283246",
"0.6239051",
"0.60240394",
"0.59009534",
"0.58352405",
"0.5772161",
"0.5739922",
"0.5727973",
"0.56903815",
"0.56702906",
"0.5638258",
"0.56261975",
"0.56015843",
"0.56005794",
"0.5588418",
"0.5572299",
"0.5568913",
"0.5547519",
"0.5540568",
"0.5531149",
"0.55229... | 0.5957856 | 3 |
Returns ``True`` if the pane can be resized. | def RK6C(YKHO):
return YKHO.HasFlag(YKHO.optionResizable) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def XY00(YKHO):\n return YKHO._frame._root.resizable() == '1 1'",
"def iSbL(YKHO, Q7me):\n if Q7me.type == cUPW.typeDockSizer and Q7me.dock and (len(Q7me.dock.panes) == 1) and Q7me.dock.panes[0].IsFixed():\n return False\n if Q7me.pane:\n _quW, DH71 = YKHO.CalculatePaneSizerLimits(Q7me.doc... | [
"0.77891964",
"0.7201728",
"0.6686305",
"0.65925074",
"0.65391445",
"0.63635117",
"0.6287839",
"0.62853944",
"0.62115324",
"0.6161217",
"0.6148276",
"0.60985786",
"0.60951585",
"0.60282123",
"0.59404045",
"0.59027517",
"0.58637625",
"0.5843882",
"0.5796168",
"0.57954997",
"0.... | 0.8081038 | 0 |
Returns ``True`` if the pane is floating. | def qIYd(YKHO):
return YKHO.HasFlag(YKHO.optionFloating) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ohXu(YKHO):\n return not YKHO.HasFlag(YKHO.optionFloating)",
"def MXm7(YKHO):\n return YKHO.style['float'] in ('left', 'right')",
"def auK0(YKHO):\n if YKHO.IsNotebookPage():\n YKHO.notebook_id = -1\n YKHO.dock_direction = ZdXA\n return YKHO.SetFlag(YKHO.optionFloating, True)",
... | [
"0.74767244",
"0.7346096",
"0.6699153",
"0.667248",
"0.6427305",
"0.6373534",
"0.62479013",
"0.6099473",
"0.60950106",
"0.60859966",
"0.6081412",
"0.5959551",
"0.5941673",
"0.58763844",
"0.5859681",
"0.58306855",
"0.5765531",
"0.5741636",
"0.57403046",
"0.57358146",
"0.572917... | 0.7530499 | 0 |
Returns ``True`` if the pane is docked. | def ohXu(YKHO):
return not YKHO.HasFlag(YKHO.optionFloating) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def hsCN(YKHO):\n return YKHO.IsTopDockable() or YKHO.IsBottomDockable() or YKHO.IsLeftDockable() or YKHO.IsRightDockable() or YKHO.IsNotebookDockable()",
"def SoUQ(YKHO, XP5J):\n if not XP5J.IsDockable():\n return False\n return not (lnPd.GetKeyState(lnPd.WXK_CONTROL) or lnPd.GetKeyState(lnPd.WX... | [
"0.809563",
"0.79630136",
"0.77650845",
"0.71777445",
"0.7008792",
"0.6915604",
"0.6801288",
"0.6799676",
"0.6793538",
"0.6777023",
"0.6777023",
"0.66777647",
"0.66671634",
"0.66539377",
"0.6620259",
"0.6608674",
"0.653697",
"0.6521842",
"0.64180726",
"0.63974726",
"0.639738"... | 0.77057517 | 3 |
Returns ``True`` if the pane can be docked at the top of the managed frame. | def gwoz(YKHO):
return YKHO.HasFlag(YKHO.optionTopDockable) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def boPh(YKHO) -> bool:\n return bool(YKHO.tk_ref.wm_attributes('-topmost'))",
"def SliA(YKHO, Fg_i=True):\n return YKHO.SetFlag(YKHO.optionTopDockable, Fg_i)",
"def SoUQ(YKHO, XP5J):\n if not XP5J.IsDockable():\n return False\n return not (lnPd.GetKeyState(lnPd.WXK_CONTROL) or lnPd.GetKeySt... | [
"0.72676885",
"0.7170616",
"0.712148",
"0.70631135",
"0.69901675",
"0.67408603",
"0.6738462",
"0.6666272",
"0.6664079",
"0.65832627",
"0.65653217",
"0.6417876",
"0.6378034",
"0.635362",
"0.6307065",
"0.62824607",
"0.6255136",
"0.6186318",
"0.6186318",
"0.6185061",
"0.6165054"... | 0.7986919 | 0 |
Returns ``True`` if the pane can be docked at the left of the managed frame. | def ChG4(YKHO):
return YKHO.HasFlag(YKHO.optionLeftDockable) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lNk1(YKHO, Fg_i=True):\n return YKHO.SetFlag(YKHO.optionLeftDockable, Fg_i)",
"def SoUQ(YKHO, XP5J):\n if not XP5J.IsDockable():\n return False\n return not (lnPd.GetKeyState(lnPd.WXK_CONTROL) or lnPd.GetKeyState(lnPd.WXK_ALT))",
"def vusA(YKHO):\n return YKHO.dock_direction in [mqNd, cD... | [
"0.7521541",
"0.7219707",
"0.7084051",
"0.7084051",
"0.69991446",
"0.66504127",
"0.6630161",
"0.6599856",
"0.6542682",
"0.64216214",
"0.6383891",
"0.63113624",
"0.6309315",
"0.6262476",
"0.62610734",
"0.6231436",
"0.62255484",
"0.6219926",
"0.6192721",
"0.6180059",
"0.6158756... | 0.8306176 | 0 |
Returns ``True`` if the pane can be docked at the right of the managed frame. | def WnP5(YKHO):
return YKHO.HasFlag(YKHO.optionRightDockable) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ChG4(YKHO):\n return YKHO.HasFlag(YKHO.optionLeftDockable)",
"def SoUQ(YKHO, XP5J):\n if not XP5J.IsDockable():\n return False\n return not (lnPd.GetKeyState(lnPd.WXK_CONTROL) or lnPd.GetKeyState(lnPd.WXK_ALT))",
"def B0B4(YKHO, Fg_i=True):\n return YKHO.SetFlag(YKHO.optionRightDockable,... | [
"0.72060704",
"0.7194491",
"0.7192107",
"0.7054755",
"0.70026946",
"0.6583333",
"0.6503559",
"0.64736164",
"0.64736164",
"0.6443396",
"0.64289445",
"0.625686",
"0.6243335",
"0.6214862",
"0.61371076",
"0.6113744",
"0.60832953",
"0.6079247",
"0.6065051",
"0.60296327",
"0.601261... | 0.79358083 | 0 |
Returns ``True`` if the pane can be docked. | def hsCN(YKHO):
return YKHO.IsTopDockable() or YKHO.IsBottomDockable() or YKHO.IsLeftDockable() or YKHO.IsRightDockable() or YKHO.IsNotebookDockable() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def SoUQ(YKHO, XP5J):\n if not XP5J.IsDockable():\n return False\n return not (lnPd.GetKeyState(lnPd.WXK_CONTROL) or lnPd.GetKeyState(lnPd.WXK_ALT))",
"def S_b7(YKHO):\n return YKHO.HasFlag(YKHO.optionNotebookDockable)",
"def ohXu(YKHO):\n return not YKHO.HasFlag(YKHO.optionFloating)",
"de... | [
"0.8383165",
"0.79422504",
"0.7402884",
"0.71668786",
"0.7027924",
"0.69642043",
"0.69042546",
"0.6842199",
"0.67834246",
"0.67783046",
"0.66356593",
"0.65688616",
"0.6538978",
"0.65364164",
"0.64181453",
"0.64181453",
"0.63627315",
"0.6343571",
"0.63016444",
"0.62745696",
"0... | 0.8269535 | 1 |
Returns ``True`` if the docked frame can be undocked or moved to another dock position. | def tq3Z(YKHO):
return YKHO.HasFlag(YKHO.optionMovable) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def plAY(YKHO):\n return YKHO.dock_direction != 0",
"def hsCN(YKHO):\n return YKHO.IsTopDockable() or YKHO.IsBottomDockable() or YKHO.IsLeftDockable() or YKHO.IsRightDockable() or YKHO.IsNotebookDockable()",
"def dUjC(YKHO) -> bool:\n return YKHO.position > 0",
"def SoUQ(YKHO, XP5J):\n if not XP5... | [
"0.72581035",
"0.6931725",
"0.68675643",
"0.68654543",
"0.6833761",
"0.68009114",
"0.67564166",
"0.6437089",
"0.6417781",
"0.63406235",
"0.6312537",
"0.6243378",
"0.6234907",
"0.6234907",
"0.6192431",
"0.6107522",
"0.61062753",
"0.60985804",
"0.60392606",
"0.59970284",
"0.599... | 0.5633107 | 35 |
Returns ``True`` if the pane should be destroyed when it is closed. Normally a pane is simply hidden when the close button is clicked. Calling L{DestroyOnClose} with a ``True`` input parameter will cause the window to be destroyed when the user clicks the pane's close button. | def W8HJ(YKHO):
return YKHO.HasFlag(YKHO.optionDestroyOnClose) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def EM8p(YKHO):\n YKHO._is_open = False\n\n def DMIq(tmvf):\n if tmvf.IsShown():\n tmvf.Show(False)\n YKHO._PaneInfoOperation(DMIq)",
"def eFgP() -> bool:\n global WINDOW\n global IMPL\n global ACTIVE_CALLBACK\n try:\n YWvJ(zkpy, gJE7).shutdown()\n YWvJ(_y2g.w... | [
"0.6165463",
"0.5955125",
"0.5797732",
"0.57554525",
"0.5754566",
"0.5741677",
"0.5664195",
"0.5664195",
"0.5601963",
"0.5515464",
"0.55014473",
"0.54783773",
"0.54485697",
"0.5432871",
"0.5432871",
"0.54051095",
"0.54017675",
"0.53944874",
"0.53879744",
"0.53851706",
"0.5375... | 0.6870239 | 0 |
Returns ``True`` if a pane can be docked on top to another to create a L{AuiNotebook}. | def S_b7(YKHO):
return YKHO.HasFlag(YKHO.optionNotebookDockable) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def hsCN(YKHO):\n return YKHO.IsTopDockable() or YKHO.IsBottomDockable() or YKHO.IsLeftDockable() or YKHO.IsRightDockable() or YKHO.IsNotebookDockable()",
"def SoUQ(YKHO, XP5J):\n if not XP5J.IsDockable():\n return False\n return not (lnPd.GetKeyState(lnPd.WXK_CONTROL) or lnPd.GetKeyState(lnPd.WX... | [
"0.76106584",
"0.754566",
"0.70945215",
"0.7022",
"0.68168026",
"0.6673742",
"0.65811116",
"0.65620047",
"0.65579444",
"0.64485514",
"0.6405809",
"0.6401847",
"0.6270297",
"0.620159",
"0.6186351",
"0.6160464",
"0.61526847",
"0.60935724",
"0.60935724",
"0.6065445",
"0.60267097... | 0.7548452 | 1 |
Returns ``True`` if the pane can be snapped at the top of the managed frame. | def Cd0g(YKHO):
return YKHO.HasFlag(YKHO.optionTopSnapped) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def boPh(YKHO) -> bool:\n return bool(YKHO.tk_ref.wm_attributes('-topmost'))",
"def E6Uu(YKHO):\n return YKHO.IsTopSnappable() or YKHO.IsBottomSnappable() or YKHO.IsLeftSnappable() or YKHO.IsRightSnappable()",
"def LZ8M(YKHO):\n return YKHO.HasFlag(YKHO.optionGripperTop)",
"def MUNl(YKHO) -> bool:\n... | [
"0.6853788",
"0.6803645",
"0.6708585",
"0.65666133",
"0.6397",
"0.63376814",
"0.6270519",
"0.61501426",
"0.6142688",
"0.6133972",
"0.59888613",
"0.5933649",
"0.58996546",
"0.5796362",
"0.572407",
"0.57069945",
"0.56703645",
"0.56233484",
"0.55486906",
"0.5545288",
"0.5501686"... | 0.7326903 | 0 |
Returns ``True`` if the pane can be snapped on the left of the managed frame. | def sAaN(YKHO):
return YKHO.HasFlag(YKHO.optionLeftSnapped) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def XVHw(YKHO):\n z2tq = oyIN.rot90(oyIN.rot90(oyIN.rot90(YKHO.grid)))\n return rApN(z2tq).canSwipeBase()",
"def pyiP(YKHO):\n return YKHO._position > 0",
"def pyiP(YKHO):\n return YKHO._position > 0",
"def ChG4(YKHO):\n return YKHO.HasFlag(YKHO.optionLeftDockable)",
"def IUJc(YKHO):\n if... | [
"0.71358085",
"0.69617885",
"0.6941924",
"0.67683357",
"0.6638139",
"0.6531771",
"0.64567375",
"0.6420476",
"0.6209809",
"0.6123377",
"0.60639226",
"0.60639226",
"0.60475826",
"0.5988509",
"0.5961007",
"0.58798033",
"0.5862166",
"0.58583295",
"0.5843659",
"0.58025306",
"0.571... | 0.75845706 | 0 |
Returns ``True`` if the pane can be snapped on the right of the managed frame. | def Z7v2(YKHO):
return YKHO.HasFlag(YKHO.optionRightSnapped) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def E6Uu(YKHO):\n return YKHO.IsTopSnappable() or YKHO.IsBottomSnappable() or YKHO.IsLeftSnappable() or YKHO.IsRightSnappable()",
"def aDSl(YKHO):\n z2tq = oyIN.rot90(YKHO.grid)\n return rApN(z2tq).canSwipeBase()",
"def sAaN(YKHO):\n return YKHO.HasFlag(YKHO.optionLeftSnapped)",
"def WnP5(YKHO):\... | [
"0.7057148",
"0.68516845",
"0.65550035",
"0.65246683",
"0.6393147",
"0.635673",
"0.63148284",
"0.6303497",
"0.624154",
"0.6121345",
"0.6117716",
"0.5987822",
"0.59390646",
"0.5928689",
"0.59148234",
"0.5877882",
"0.5874098",
"0.58716965",
"0.5838192",
"0.58022255",
"0.5702921... | 0.6949687 | 1 |
Returns ``True`` if the pane displays a border. | def U2m3(YKHO):
return YKHO.HasFlag(YKHO.optionPaneBorder) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def MpF7(YKHO):\n return YKHO._border_actor is not None",
"def PNGQ(YKHO, oWb2=True):\n return YKHO.SetFlag(YKHO.optionPaneBorder, oWb2)",
"def MpF7(YKHO, WKvO, LVAh, MX3a):\n return YKHO.__board[LVAh][WKvO] & YKHO.BORDERS[MX3a]",
"def Tdtb(YKHO):\n return YKHO.container['is_outline_shown']",
"... | [
"0.8343027",
"0.72044456",
"0.7014265",
"0.68145645",
"0.6704621",
"0.6628715",
"0.645814",
"0.64419526",
"0.64419526",
"0.6192074",
"0.61056703",
"0.60778475",
"0.60535806",
"0.60533077",
"0.59513414",
"0.59326327",
"0.5906813",
"0.5831712",
"0.58259726",
"0.5825781",
"0.577... | 0.8531683 | 0 |
Returns ``True`` if the pane displays a button to close the pane. | def ZSP0(YKHO):
return YKHO.HasFlag(YKHO.buttonClose) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ZSP0(YKHO, ah8_):\n if ah8_ >= YKHO._tabs.GetPageCount():\n return False\n f0lG = YKHO._tabs.GetPage(ah8_)\n return f0lG.hasCloseButton",
"def ArNP(YKHO, oWb2=True):\n return YKHO.SetFlag(YKHO.buttonClose, oWb2)",
"def Qi8A(tvqc: EventType, TEdI: WidgetType) -> bool:\n return tvqc.key... | [
"0.732585",
"0.68737775",
"0.6395429",
"0.6322526",
"0.63026893",
"0.6297201",
"0.62655133",
"0.621652",
"0.61985815",
"0.61985815",
"0.6195054",
"0.61260784",
"0.6109563",
"0.6106459",
"0.6061215",
"0.60590947",
"0.59708637",
"0.5968491",
"0.59066886",
"0.5869411",
"0.585884... | 0.76059353 | 0 |
Returns the minimization style for this pane. | def iK6u(YKHO):
return YKHO.minimize_mode | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _Cnz(YKHO):\n return YKHO._style",
"def _Cnz(YKHO):\n return YKHO._style",
"def _Cnz(YKHO):\n return YKHO.container['style']",
"def _Cnz(YKHO):\n return YKHO['style']",
"def _Cnz(YKHO):\n if YKHO._style is None:\n YKHO._style = None if len(YKHO) == 0 else YKHO.top.style\n retur... | [
"0.6489852",
"0.6489852",
"0.6485022",
"0.62985003",
"0.6208684",
"0.61244863",
"0.60851854",
"0.5993042",
"0.5726199",
"0.56899226",
"0.5680486",
"0.566289",
"0.5637074",
"0.55266976",
"0.5475262",
"0.5433001",
"0.5429947",
"0.5426588",
"0.5426588",
"0.53761494",
"0.53233826... | 0.62820035 | 4 |
Associate a `wx.Window` derived window to this pane. This normally does not need to be specified, as the window pointer is automatically assigned to the L{AuiPaneInfo} structure as soon as it is added to the manager. | def ao30(YKHO, yzQ0):
YKHO.window = yzQ0
return YKHO | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ek6D(YKHO, KAOR: Union[Nobleman, Location], KnxT: tk.Toplevel):\n YKHO.extra_windows[KAOR.__class__][KAOR.id] = KnxT",
"def IlWn(YKHO, tmvf):\n YKHO._is_toolbar = tmvf.IsToolbar()\n YKHO._pane_window = tmvf.window\n if isinstance(tmvf.window, oI1p.AuiToolBar):\n tmvf.window.SetAuiManager(Y... | [
"0.6478197",
"0.6409282",
"0.6275228",
"0.6253931",
"0.6060902",
"0.5997093",
"0.59502923",
"0.5916337",
"0.58973974",
"0.5763271",
"0.57339835",
"0.56416655",
"0.5608211",
"0.5589476",
"0.5581529",
"0.55784506",
"0.55668205",
"0.55484265",
"0.54338163",
"0.5424323",
"0.54221... | 0.56116563 | 12 |
Sets the name of the pane so it can be referenced in lookup functions. If a name is not specified by the user, a random name is assigned to the pane when it is added to the manager. | def av29(YKHO, mWFP):
YKHO.name = mWFP
return YKHO | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lt1V(YKHO, mWFP):\n YKHO.__name = mWFP\n YKHO._window.chat_panel.place_name = mWFP\n YKHO.encode_message(action='NO', selected_name=mWFP)",
"def lFwr(YKHO, mWFP):\n F6jf = YKHO.scene()\n if F6jf:\n mWFP = F6jf.uniqueNodeName(mWFP)\n YKHO._objectName = mWFP\n YKHO._titleFont = None... | [
"0.6991475",
"0.68129975",
"0.67374283",
"0.6693999",
"0.6678985",
"0.66226614",
"0.6592273",
"0.6585533",
"0.6585533",
"0.6585533",
"0.6585533",
"0.6585533",
"0.6552184",
"0.6539413",
"0.6539413",
"0.65264314",
"0.6517182",
"0.6490359",
"0.6458293",
"0.64479816",
"0.6444573"... | 0.0 | -1 |
Sets the pane dock position to the left side of the frame. | def rbtA(YKHO):
YKHO.dock_direction = XsVj
return YKHO | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rbtA(YKHO):\n YKHO.dock_direction = XsVj\n return YKHO",
"def PwZr(YKHO):\n YKHO.dock_direction = Isai\n return YKHO",
"def PwZr(YKHO):\n YKHO.dock_direction = Isai\n return YKHO",
"def lNk1(YKHO, Fg_i=True):\n return YKHO.SetFlag(YKHO.optionLeftDockable, Fg_i)",
"def bFb7(YKHO, LF... | [
"0.80922186",
"0.6927621",
"0.6903508",
"0.664879",
"0.6647591",
"0.6609576",
"0.66012806",
"0.64781165",
"0.64554185",
"0.6420343",
"0.6420343",
"0.6419259",
"0.6375192",
"0.63599986",
"0.63237935",
"0.62306",
"0.6230208",
"0.61837256",
"0.61837256",
"0.61771524",
"0.6149121... | 0.8101279 | 0 |
Sets the pane dock position to the right side of the frame. | def E_PP(YKHO):
YKHO.dock_direction = DL_X
return YKHO | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def E_PP(YKHO):\n YKHO.dock_direction = DL_X\n return YKHO",
"def WaKS(YKHO):\n YKHO.rect.centerx += 9",
"def bjjd(YKHO):\n if YKHO.xcor() > 230:\n YKHO.setx(250)\n else:\n kNbz = YKHO.xcor() + 40\n YKHO.setx(kNbz)",
"def rbtA(YKHO):\n YKHO.dock_direction = XsVj\n re... | [
"0.7750616",
"0.6681599",
"0.65727633",
"0.63813365",
"0.63555",
"0.62704015",
"0.6238487",
"0.6238487",
"0.61414665",
"0.6122975",
"0.60319656",
"0.5933092",
"0.5928182",
"0.5922095",
"0.5912058",
"0.58820724",
"0.58637697",
"0.58568245",
"0.58548456",
"0.5834407",
"0.583396... | 0.7749053 | 1 |
Sets the pane dock position to the bottom of the frame. | def OgpD(YKHO):
YKHO.dock_direction = cDJc
return YKHO | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def WFW4(YKHO, tvqc):\n YKHO._floating = False\n YKHO._dock_area = tvqc.GetPane().dock_direction\n lnPd.PostEvent(YKHO, WQcW())",
"def b2yS(YKHO):\n return uaAZ.BottomDockWidgetArea",
"def LeKO(YKHO, jkHn):\n if YKHO._dock_area != jkHn:\n YKHO._dock_area = jkHn\n\n def DMIq(tmvf):\... | [
"0.6443922",
"0.6334392",
"0.63237363",
"0.62428707",
"0.6122906",
"0.60688245",
"0.6048632",
"0.6048632",
"0.6037089",
"0.598452",
"0.59400076",
"0.59202224",
"0.5903336",
"0.5762981",
"0.5633123",
"0.56228405",
"0.56228405",
"0.56215614",
"0.5591429",
"0.55896246",
"0.55532... | 0.78852373 | 1 |
Determines the layer of the docked pane. The dock layer is similar to an onion, the innermost layer being layer 0. Each shell moving in the outward direction has a higher layer number. This allows for more complex docking layout formation. | def FNYZ(YKHO, gEmA):
YKHO.dock_layer = gEmA
return YKHO | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def vFhC(OlQx, Lo0Y):\n sfCQ = 0\n for HwiE in OlQx:\n if HwiE.dock_direction == Lo0Y and HwiE.dock_layer > sfCQ and (not HwiE.fixed):\n sfCQ = HwiE.dock_layer\n return sfCQ",
"def jDJr(YKHO):\n if YKHO.IsMaximized():\n return Isai\n else:\n return YKHO._dock_direct... | [
"0.6363719",
"0.61353594",
"0.60692835",
"0.60426605",
"0.59526855",
"0.5882909",
"0.5739862",
"0.56747663",
"0.56532884",
"0.56400216",
"0.5619393",
"0.5531013",
"0.5480846",
"0.54798466",
"0.54425395",
"0.5376989",
"0.5360709",
"0.5285671",
"0.5256091",
"0.5180714",
"0.5163... | 0.56942827 | 7 |
Indicates that a pane should be docked. It is the opposite of L{Float}. | def WRos(YKHO):
if YKHO.IsNotebookPage():
YKHO.notebook_id = -1
YKHO.dock_direction = ZdXA
return YKHO.SetFlag(YKHO.optionFloating, False) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ohXu(YKHO):\n return not YKHO.HasFlag(YKHO.optionFloating)",
"def p3Wf(YKHO, Fg_i=True):\n return YKHO.SetFlag(YKHO.optionDockFixed, Fg_i)",
"def auK0(YKHO):\n if YKHO.IsNotebookPage():\n YKHO.notebook_id = -1\n YKHO.dock_direction = ZdXA\n return YKHO.SetFlag(YKHO.optionFloating,... | [
"0.7482056",
"0.6901481",
"0.6734211",
"0.6554494",
"0.65041965",
"0.64967746",
"0.63003004",
"0.62204504",
"0.6104606",
"0.6100484",
"0.6090108",
"0.6048062",
"0.60149646",
"0.59963316",
"0.5968023",
"0.59335375",
"0.5901914",
"0.58918566",
"0.58909315",
"0.5764279",
"0.5752... | 0.639015 | 6 |
Indicates that a pane should be floated. It is the opposite of L{Dock}. | def auK0(YKHO):
if YKHO.IsNotebookPage():
YKHO.notebook_id = -1
YKHO.dock_direction = ZdXA
return YKHO.SetFlag(YKHO.optionFloating, True) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ohXu(YKHO):\n return not YKHO.HasFlag(YKHO.optionFloating)",
"def WFW4(YKHO, tvqc):\n YKHO._floating = False\n YKHO._dock_area = tvqc.GetPane().dock_direction\n lnPd.PostEvent(YKHO, WQcW())",
"def WRos(YKHO):\n if YKHO.IsNotebookPage():\n YKHO.notebook_id = -1\n YKHO.dock_direc... | [
"0.75167644",
"0.7297477",
"0.7018748",
"0.6941269",
"0.6934759",
"0.68066186",
"0.6803146",
"0.67888635",
"0.6527659",
"0.6527487",
"0.6345126",
"0.6343428",
"0.6314385",
"0.62975013",
"0.61796457",
"0.60775936",
"0.6071695",
"0.60654473",
"0.6059301",
"0.6016473",
"0.597295... | 0.6356367 | 10 |
Returns whether a pane has a L{AuiNotebook} or not. | def M9uf(YKHO):
return YKHO.notebook_id >= 0 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def VjUD(YKHO):\n return not YKHO.IsNotebookPage() and YKHO.HasNotebook()",
"def XE23(YKHO):\n return YKHO.notebook_id >= 0 and YKHO.dock_direction == xgxy",
"def _k2L():\n HhoA = [\"<class 'google.colab._shell.Shell'>\", \"<class 'ipykernel.zmqshell.ZMQInteractiveShell'>\"]\n try:\n return ... | [
"0.7485826",
"0.73099023",
"0.70319086",
"0.6919084",
"0.681877",
"0.67668426",
"0.67203736",
"0.6537574",
"0.65055865",
"0.6500534",
"0.62320626",
"0.61880094",
"0.6136282",
"0.6004576",
"0.5994897",
"0.58923745",
"0.5738401",
"0.56912917",
"0.5543475",
"0.5536119",
"0.55219... | 0.7333125 | 1 |
Returns whether the pane is a notebook control (L{AuiNotebook}). | def VjUD(YKHO):
return not YKHO.IsNotebookPage() and YKHO.HasNotebook() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def XE23(YKHO):\n return YKHO.notebook_id >= 0 and YKHO.dock_direction == xgxy",
"def _k2L():\n HhoA = [\"<class 'google.colab._shell.Shell'>\", \"<class 'ipykernel.zmqshell.ZMQInteractiveShell'>\"]\n try:\n return str(type(Zboo())) in HhoA\n except NameError:\n return False",
"def Qu... | [
"0.755382",
"0.7229581",
"0.7190489",
"0.71156687",
"0.7077992",
"0.70312446",
"0.68471134",
"0.6824245",
"0.67483425",
"0.6669437",
"0.65186095",
"0.642194",
"0.6370191",
"0.63530827",
"0.6139125",
"0.59256554",
"0.59083545",
"0.57566",
"0.5731918",
"0.55661136",
"0.5538396"... | 0.8521473 | 0 |
Indicates whether a pane can be docked at the top of the frame. | def SliA(YKHO, Fg_i=True):
return YKHO.SetFlag(YKHO.optionTopDockable, Fg_i) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def gwoz(YKHO):\n return YKHO.HasFlag(YKHO.optionTopDockable)",
"def SoUQ(YKHO, XP5J):\n if not XP5J.IsDockable():\n return False\n return not (lnPd.GetKeyState(lnPd.WXK_CONTROL) or lnPd.GetKeyState(lnPd.WXK_ALT))",
"def hsCN(YKHO):\n return YKHO.IsTopDockable() or YKHO.IsBottomDockable() or... | [
"0.79603803",
"0.71918213",
"0.71250296",
"0.6936306",
"0.6805578",
"0.6714088",
"0.6593098",
"0.6514686",
"0.64612865",
"0.63637435",
"0.6348511",
"0.63246906",
"0.6273405",
"0.6266901",
"0.6262043",
"0.6166827",
"0.6143471",
"0.60837895",
"0.60448575",
"0.59702945",
"0.5970... | 0.7140772 | 2 |
Indicates whether a pane can be docked on the left of the frame. | def lNk1(YKHO, Fg_i=True):
return YKHO.SetFlag(YKHO.optionLeftDockable, Fg_i) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ChG4(YKHO):\n return YKHO.HasFlag(YKHO.optionLeftDockable)",
"def SoUQ(YKHO, XP5J):\n if not XP5J.IsDockable():\n return False\n return not (lnPd.GetKeyState(lnPd.WXK_CONTROL) or lnPd.GetKeyState(lnPd.WXK_ALT))",
"def hsCN(YKHO):\n return YKHO.IsTopDockable() or YKHO.IsBottomDockable() o... | [
"0.82853436",
"0.73282105",
"0.7106367",
"0.6967725",
"0.6967725",
"0.65933096",
"0.65618086",
"0.6404583",
"0.63103855",
"0.6289861",
"0.62465453",
"0.6209601",
"0.62062824",
"0.6184811",
"0.6184678",
"0.61250615",
"0.61007625",
"0.60980046",
"0.6042295",
"0.60264546",
"0.60... | 0.7445132 | 1 |
Indicates whether a pane can be docked on the right of the frame. | def B0B4(YKHO, Fg_i=True):
return YKHO.SetFlag(YKHO.optionRightDockable, Fg_i) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def WnP5(YKHO):\n return YKHO.HasFlag(YKHO.optionRightDockable)",
"def SoUQ(YKHO, XP5J):\n if not XP5J.IsDockable():\n return False\n return not (lnPd.GetKeyState(lnPd.WXK_CONTROL) or lnPd.GetKeyState(lnPd.WXK_ALT))",
"def ChG4(YKHO):\n return YKHO.HasFlag(YKHO.optionLeftDockable)",
"def h... | [
"0.79560024",
"0.7219924",
"0.71675605",
"0.7103508",
"0.7001548",
"0.6486913",
"0.6461953",
"0.6423817",
"0.6404638",
"0.6292519",
"0.6292519",
"0.62582606",
"0.610057",
"0.60697347",
"0.59971416",
"0.59879476",
"0.5972422",
"0.59705406",
"0.5943206",
"0.5942908",
"0.5915022... | 0.72209376 | 1 |
Sets whether the user will be able to undock a pane and turn it into a floating window. | def xa8s(YKHO, Fg_i=True):
return YKHO.SetFlag(YKHO.optionFloatable, Fg_i) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xv0V(YKHO, nIBk):\n if isinstance(nIBk, lnPd.Point):\n XhKx = YKHO._frame.ScreenToClient(nIBk)\n qFsZ = lnPd.Point(*nIBk)\n else:\n XhKx = nIBk.GetPosition()\n qFsZ = YKHO._frame.ClientToScreen(XhKx)\n uWxa = YKHO.GetPane(YKHO._action_window)\n if not uWxa.IsOk():\n ... | [
"0.6656001",
"0.64493316",
"0.6424289",
"0.6358707",
"0.6358644",
"0.63255525",
"0.6242454",
"0.6226141",
"0.619105",
"0.6175609",
"0.6151487",
"0.6063368",
"0.6031459",
"0.60155034",
"0.5992321",
"0.5985669",
"0.59796655",
"0.5977385",
"0.59460855",
"0.5924813",
"0.5879833",... | 0.0 | -1 |
Indicates whether a pane can be moved. | def OpaH(YKHO, Fg_i=True):
return YKHO.SetFlag(YKHO.optionMovable, Fg_i) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def R4fu(YKHO, tmvf):\n Fle7 = tmvf.frame.GetRect()\n Fle7.x, Fle7.y = tmvf.floating_pos\n if Fle7 == YKHO._last_rect:\n return False\n if YKHO._last_rect.IsEmpty():\n YKHO._last_rect = lnPd.Rect(*Fle7)\n return False\n if abs(Fle7.x - YKHO._last_rect.x) > 10 or abs(Fle7.y - YKH... | [
"0.72175467",
"0.6761215",
"0.6686793",
"0.6571465",
"0.6481267",
"0.643746",
"0.63133574",
"0.624269",
"0.6154675",
"0.6097032",
"0.60429543",
"0.6009922",
"0.5958118",
"0.59407514",
"0.589162",
"0.5858265",
"0.5847263",
"0.5820074",
"0.5814508",
"0.58076245",
"0.57805645",
... | 0.5213095 | 91 |
Causes the containing dock to have no resize sash. This is useful for creating panes that span the entire width or height of a dock, but should not be resizable in the other direction. | def p3Wf(YKHO, Fg_i=True):
return YKHO.SetFlag(YKHO.optionDockFixed, Fg_i) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def WFW4(YKHO, tvqc):\n YKHO._floating = False\n YKHO._dock_area = tvqc.GetPane().dock_direction\n lnPd.PostEvent(YKHO, WQcW())",
"def H2KA(YKHO, tvqc):\n tvqc.Skip()\n YKHO.RemoveAutoNBCaption(tvqc.GetPane())",
"def C9pa(YKHO, tvqc):\n f0tD = YKHO.widget.GetDockArea()\n if not YKHO._guard... | [
"0.66582465",
"0.6636326",
"0.64186436",
"0.63008577",
"0.62003297",
"0.60853595",
"0.6069686",
"0.6019852",
"0.5984097",
"0.59785163",
"0.5939079",
"0.5939079",
"0.5838175",
"0.5733654",
"0.56771195",
"0.5663616",
"0.56538844",
"0.56456554",
"0.56301516",
"0.5609667",
"0.555... | 0.5814899 | 13 |
Specifies whether a frame can be docked or not. It is the same as specifying L{TopDockable} . L{BottomDockable} . L{LeftDockable} . L{RightDockable} . | def dvRe(YKHO, Fg_i=True):
return YKHO.TopDockable(Fg_i).BottomDockable(Fg_i).LeftDockable(Fg_i).RightDockable(Fg_i) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def hsCN(YKHO):\n return YKHO.IsTopDockable() or YKHO.IsBottomDockable() or YKHO.IsLeftDockable() or YKHO.IsRightDockable() or YKHO.IsNotebookDockable()",
"def HhBR(YKHO, JQMx):\n if YKHO._allowed_dock_areas != JQMx:\n YKHO._allowed_dock_areas = JQMx\n\n def DMIq(tmvf):\n tmvf.TopD... | [
"0.7763645",
"0.7323633",
"0.72505784",
"0.720059",
"0.71099824",
"0.7051442",
"0.6902111",
"0.6735042",
"0.6720997",
"0.66736346",
"0.66658586",
"0.6665578",
"0.6662505",
"0.6563956",
"0.6518826",
"0.64378214",
"0.6423217",
"0.63989466",
"0.6379032",
"0.63141155",
"0.6132418... | 0.7470749 | 1 |
Indicates whether a pane can be snapped on the left of the main frame. | def P_5v(YKHO, Fg_i=True):
return YKHO.SetFlag(YKHO.optionLeftSnapped, Fg_i) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sAaN(YKHO):\n return YKHO.HasFlag(YKHO.optionLeftSnapped)",
"def XVHw(YKHO):\n z2tq = oyIN.rot90(oyIN.rot90(oyIN.rot90(YKHO.grid)))\n return rApN(z2tq).canSwipeBase()",
"def ChG4(YKHO):\n return YKHO.HasFlag(YKHO.optionLeftDockable)",
"def E6Uu(YKHO):\n return YKHO.IsTopSnappable() or YKHO... | [
"0.7332077",
"0.6917727",
"0.67157257",
"0.66406685",
"0.65774155",
"0.6335585",
"0.63324994",
"0.6283493",
"0.60653013",
"0.6033239",
"0.6033239",
"0.6024617",
"0.5936599",
"0.5856269",
"0.5852574",
"0.57979584",
"0.56778735",
"0.5656789",
"0.5627861",
"0.56242484",
"0.55986... | 0.6168203 | 8 |
Indicates whether a pane can be snapped on the right of the main frame. | def KKv6(YKHO, Fg_i=True):
return YKHO.SetFlag(YKHO.optionRightSnapped, Fg_i) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def E6Uu(YKHO):\n return YKHO.IsTopSnappable() or YKHO.IsBottomSnappable() or YKHO.IsLeftSnappable() or YKHO.IsRightSnappable()",
"def Z7v2(YKHO):\n return YKHO.HasFlag(YKHO.optionRightSnapped)",
"def aDSl(YKHO):\n z2tq = oyIN.rot90(YKHO.grid)\n return rApN(z2tq).canSwipeBase()",
"def IsMH(YKHO):... | [
"0.70229304",
"0.65993756",
"0.6541208",
"0.643111",
"0.64268994",
"0.6253678",
"0.62230825",
"0.6043571",
"0.6037011",
"0.6000545",
"0.5916362",
"0.59091544",
"0.584978",
"0.58252144",
"0.5756557",
"0.5704316",
"0.569775",
"0.5690284",
"0.5671553",
"0.5669892",
"0.5661492",
... | 0.5860483 | 12 |
Specifies that the pane should adopt the default center pane settings. Centre panes usually do not have caption bars. This function provides an easy way of preparing a pane to be displayed in the center dock position. | def mcA6(YKHO):
return YKHO.CenterPane() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def MhXW(YKHO):\n YKHO.state = 0\n return YKHO.Center().PaneBorder().Resizable()",
"def IlWn(YKHO, tmvf):\n YKHO._is_toolbar = tmvf.IsToolbar()\n YKHO._pane_window = tmvf.window\n if isinstance(tmvf.window, oI1p.AuiToolBar):\n tmvf.window.SetAuiManager(YKHO._mgr)\n YKHO._pane_window.Repa... | [
"0.73569775",
"0.67429024",
"0.65407056",
"0.6524122",
"0.6476489",
"0.6307672",
"0.6265328",
"0.6221494",
"0.62129396",
"0.62129396",
"0.6116854",
"0.6103861",
"0.6089494",
"0.60857713",
"0.6043467",
"0.5964375",
"0.59305966",
"0.5917076",
"0.5901471",
"0.5900715",
"0.589749... | 0.68091613 | 1 |
Specifies that the pane should adopt the default center pane settings. Centre panes usually do not have caption bars. This function provides an easy way of preparing a pane to be displayed in the center dock position. | def MhXW(YKHO):
YKHO.state = 0
return YKHO.Center().PaneBorder().Resizable() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def mcA6(YKHO):\n return YKHO.CenterPane()",
"def IlWn(YKHO, tmvf):\n YKHO._is_toolbar = tmvf.IsToolbar()\n YKHO._pane_window = tmvf.window\n if isinstance(tmvf.window, oI1p.AuiToolBar):\n tmvf.window.SetAuiManager(YKHO._mgr)\n YKHO._pane_window.Reparent(YKHO)\n hLZx = YKHO.CopyAttribute... | [
"0.6808625",
"0.6743776",
"0.6540958",
"0.652443",
"0.64769703",
"0.6307346",
"0.62642276",
"0.6222018",
"0.6212826",
"0.6212826",
"0.6115746",
"0.61033773",
"0.6089031",
"0.6084618",
"0.6043544",
"0.59655124",
"0.5929429",
"0.59176826",
"0.5900967",
"0.5900314",
"0.58967483"... | 0.73568016 | 0 |
Resets all the buttons and recreates them from scratch depending on the L{AuiPaneInfo} flags. | def aQOR(YKHO):
G9sr = YKHO.HasFlag(YKHO.optionFloating)
YKHO.buttons = []
if not G9sr and YKHO.HasMinimizeButton():
oD_N = Q3pN(ndZf)
YKHO.buttons.append(oD_N)
if not G9sr and YKHO.HasMaximizeButton():
oD_N = Q3pN(Gk6v)
YKHO.buttons.append(oD_N)
if not G9sr and YKHO.... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rRGy(YKHO):\n global intervalAdd_\n global intervalDel_\n global annotationAdd_\n global annotationDel_\n if YKHO.active_mode != 'intervalAdd':\n YKHO.push2_1.setChecked(False)\n LtKu = False\n if YKHO.active_mode != 'intervalDel':\n YKHO.push2_2.setChecked(False)\n ... | [
"0.69520336",
"0.6778529",
"0.6650915",
"0.64824426",
"0.6461699",
"0.6369258",
"0.63371634",
"0.6294324",
"0.6258592",
"0.62136805",
"0.61280733",
"0.6107463",
"0.6059901",
"0.6020727",
"0.5956829",
"0.59563017",
"0.58415395",
"0.58239776",
"0.58216166",
"0.58092266",
"0.580... | 0.7543496 | 0 |
Returns ``True`` if the pane `dock_direction` is vertical. | def ZR3j(YKHO):
return YKHO.dock_direction in [XsVj, DL_X] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ZR3j(YKHO):\n return YKHO.dock_direction in [XsVj, DL_X, Isai]",
"def vuqD(YKHO):\n return YKHO.start.y == YKHO.end.y",
"def vusA(YKHO):\n return YKHO.dock_direction in [mqNd, cDJc]",
"def vusA(YKHO):\n return YKHO.dock_direction in [mqNd, cDJc]",
"def vuqD(YKHO):\n return YKHO.slope == ... | [
"0.8608183",
"0.6986615",
"0.6115779",
"0.6115779",
"0.6070123",
"0.59785295",
"0.58769184",
"0.58177793",
"0.57719517",
"0.5761156",
"0.57379407",
"0.5695324",
"0.5675854",
"0.56128573",
"0.5585852",
"0.5582229",
"0.55624825",
"0.55086327",
"0.5471918",
"0.5393239",
"0.53582... | 0.8624341 | 0 |
Sets the docking direction as valid or invalid. | def dfVZ(YKHO, deVW):
YKHO._valid = deVW | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def l6St(YKHO, BWXx):\n YKHO._dock_direction = BWXx",
"def OoAS(YKHO, deVW):\n if not YKHO._useAero:\n if YKHO.targetCenter.IsValid() != deVW:\n YKHO.targetCenter.SetValid(deVW)\n YKHO.targetCenter.Refresh()\n elif YKHO._valid != deVW:\n YKHO._valid = deVW\n YK... | [
"0.69960165",
"0.6578312",
"0.6442667",
"0.62907284",
"0.599951",
"0.5979131",
"0.57812643",
"0.57514554",
"0.5750925",
"0.5519169",
"0.5509604",
"0.54560864",
"0.5445515",
"0.54104114",
"0.5371611",
"0.53694046",
"0.53514725",
"0.52908397",
"0.52882755",
"0.52751034",
"0.527... | 0.48893973 | 54 |
Sets the docking direction as valid or invalid. | def dfVZ(YKHO, deVW):
YKHO._valid = deVW | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def l6St(YKHO, BWXx):\n YKHO._dock_direction = BWXx",
"def OoAS(YKHO, deVW):\n if not YKHO._useAero:\n if YKHO.targetCenter.IsValid() != deVW:\n YKHO.targetCenter.SetValid(deVW)\n YKHO.targetCenter.Refresh()\n elif YKHO._valid != deVW:\n YKHO._valid = deVW\n YK... | [
"0.69981813",
"0.657679",
"0.6444078",
"0.62910944",
"0.59980726",
"0.59792733",
"0.5781843",
"0.57515746",
"0.57507914",
"0.5520569",
"0.55094975",
"0.5457197",
"0.54457",
"0.5410427",
"0.5372529",
"0.53703517",
"0.5354006",
"0.5290381",
"0.529009",
"0.5276595",
"0.5276349",... | 0.48891783 | 54 |
Sets whether a pane can be docked on top of another to create an automatic L{AuiNotebook}. | def OoAS(YKHO, deVW):
if not YKHO._useAero:
if YKHO.targetCenter.IsValid() != deVW:
YKHO.targetCenter.SetValid(deVW)
YKHO.targetCenter.Refresh()
elif YKHO._valid != deVW:
YKHO._valid = deVW
YKHO.Refresh() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Fytm(YKHO, Fg_i=True):\n return YKHO.SetFlag(YKHO.optionNotebookDockable, Fg_i)",
"def HhBR(YKHO, JQMx):\n if YKHO._allowed_dock_areas != JQMx:\n YKHO._allowed_dock_areas = JQMx\n\n def DMIq(tmvf):\n tmvf.TopDockable(bool(JQMx & lnPd.TOP))\n tmvf.RightDockable(bool(J... | [
"0.68458265",
"0.6812929",
"0.66739",
"0.6668429",
"0.6456061",
"0.63370925",
"0.62569666",
"0.6212836",
"0.61130404",
"0.6106818",
"0.60506004",
"0.6029368",
"0.59585834",
"0.595353",
"0.59505737",
"0.59233594",
"0.5910875",
"0.590315",
"0.58839315",
"0.58722955",
"0.5864463... | 0.54650533 | 52 |
Moves the docking guide window to the new position. | def HhJc(YKHO, oeNL):
if not YKHO._useAero:
return
U3yQ = DjJx(YKHO.GetParent()).GetAGWFlags() & mQ1O != 0
if U3yQ:
Bihd, Mxc4 = (ZlYd, CpQh)
else:
Bihd, Mxc4 = (cOc2, V2o7)
zNig = YKHO.GetSize()
lFaK, ZBEH, gffH, WHC0, vVrC = YKHO._aeroRects
yrvj = oeNL + lnPd.Point(... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def WJ9u(YKHO, oeNL):\n YKHO.target.UpdateDockGuide(oeNL)",
"def cGya(YKHO):\n YKHO.external_win = ku2A(plot=YKHO.pw, parent=YKHO)\n YKHO.external_win.closeWin.connect(lambda: YKHO.layout().takeAt(1))\n YKHO.external_win.closeWin.connect(lambda: YKHO.layout().insertWidget(1, YKHO.pw))\n YKHO.exter... | [
"0.7367187",
"0.6972234",
"0.65571654",
"0.64668304",
"0.6457338",
"0.6420111",
"0.6413183",
"0.637826",
"0.6357852",
"0.6325018",
"0.62669224",
"0.62458235",
"0.62322325",
"0.6228387",
"0.62219477",
"0.6209201",
"0.61679494",
"0.60673857",
"0.60513324",
"0.602358",
"0.602246... | 0.0 | -1 |
Returns the L{AuiManager} that manages the pane. | def YOPp(YKHO):
return YKHO._owner_mgr | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def gFxq(YKHO):\n return YKHO._mgr",
"def E5JE(YKHO):\n tvqc = D1X0.AuiManagerEvent(D1X0.wxEVT_AUI_FIND_MANAGER)\n YKHO.ProcessEvent(tvqc)\n return tvqc.GetManager()",
"def gFxq(YKHO):\n try:\n return YKHO._auiManager\n except AttributeError:\n return False",
"def DjJx(KnxT):\... | [
"0.8445037",
"0.76564884",
"0.765459",
"0.748048",
"0.62222606",
"0.62216026",
"0.62023413",
"0.6136625",
"0.60799164",
"0.60568804",
"0.589028",
"0.5872912",
"0.58648133",
"0.58295333",
"0.58217716",
"0.575772",
"0.5747115",
"0.5715215",
"0.5687101",
"0.5645966",
"0.5625903"... | 0.54924107 | 25 |
Starts the flying in and out of a floating pane. | def WETU(YKHO):
if YKHO._fly_timer.IsRunning():
return
if eNh7 < '2.9':
E9mq = lnPd.GetMouseState().LeftDown()
else:
E9mq = lnPd.GetMouseState().LeftIsDown()
if E9mq:
return
mawX = lnPd.Rect(*YKHO.GetScreenRect())
mawX.Inflate(10, 10)
if mawX.Contains(lnPd.Get... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def vPIh(YKHO, G9sr):\n if YKHO._floating != G9sr:\n YKHO._floating = G9sr\n\n def DMIq(tmvf):\n if G9sr:\n tmvf.Float()\n else:\n tmvf.Dock()\n YKHO._PaneInfoOperation(DMIq)",
"def XSpl(YKHO, tvqc):\n YKHO._floating = True\n lnPd.... | [
"0.6940245",
"0.69207466",
"0.6127598",
"0.5983125",
"0.5976425",
"0.58757144",
"0.5850159",
"0.58441466",
"0.57717437",
"0.5705414",
"0.5697044",
"0.56200284",
"0.55511975",
"0.5509322",
"0.55071783",
"0.5493444",
"0.5466956",
"0.5465208",
"0.544262",
"0.5422179",
"0.5351109... | 0.5254833 | 26 |
Actually starts the fading out of the floating pane. | def ptkH(YKHO):
while 1:
YKHO._alpha_amount -= 10
if YKHO._alpha_amount <= 0:
YKHO._alpha_amount = 255
return
YKHO.SetTransparent(YKHO._alpha_amount)
lnPd.SafeYield()
lnPd.MilliSleep(15) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def XSpl(YKHO, tvqc):\n YKHO._floating = True\n lnPd.PostEvent(YKHO, A4W6())",
"def CkKz(YKHO):\n if YKHO.fadeout_call is not None:\n if YKHO.fadeout_call.running:\n YKHO.fadeout_call.stop()\n YKHO.fadeout_counter = 0",
"def RYrS(YKHO):\n YKHO.fadeout_counter += 1\n for ... | [
"0.6757107",
"0.6192788",
"0.6148892",
"0.61389333",
"0.59404504",
"0.5844409",
"0.5830171",
"0.5798496",
"0.57507807",
"0.5750095",
"0.57161546",
"0.56980526",
"0.5676094",
"0.5658283",
"0.5652707",
"0.5638881",
"0.56355697",
"0.56355697",
"0.5628113",
"0.5557584",
"0.555748... | 0.6590306 | 1 |
This is an internal function which returns the highest layer inside the specified dock. | def vFhC(OlQx, Lo0Y):
sfCQ = 0
for HwiE in OlQx:
if HwiE.dock_direction == Lo0Y and HwiE.dock_layer > sfCQ and (not HwiE.fixed):
sfCQ = HwiE.dock_layer
return sfCQ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def slIv(YKHO, HwiE):\n for gEmA in Ni9Y(HwiE.dock_layer, -1, -1):\n nO8I = None\n for RlyF in YKHO._docks:\n if RlyF.dock_layer != gEmA:\n continue\n if RlyF.dock_direction != HwiE.dock_direction:\n continue\n if RlyF.dock_layer < Hwi... | [
"0.70433897",
"0.65521973",
"0.64822286",
"0.60385257",
"0.60349405",
"0.60275036",
"0.5966004",
"0.59567904",
"0.5920665",
"0.58677685",
"0.58261955",
"0.58136386",
"0.58051395",
"0.5793496",
"0.57923853",
"0.5780938",
"0.5776775",
"0.57645786",
"0.57601476",
"0.5749607",
"0... | 0.776223 | 0 |
This is an internal function which returns the highest layer inside the specified dock. | def dxyh(etsw, Lo0Y, rzCU):
FccS = 0
for tmvf in etsw:
if tmvf.dock_direction == Lo0Y and tmvf.dock_layer == rzCU and (tmvf.dock_row > FccS):
FccS = tmvf.dock_row
return FccS | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def vFhC(OlQx, Lo0Y):\n sfCQ = 0\n for HwiE in OlQx:\n if HwiE.dock_direction == Lo0Y and HwiE.dock_layer > sfCQ and (not HwiE.fixed):\n sfCQ = HwiE.dock_layer\n return sfCQ",
"def slIv(YKHO, HwiE):\n for gEmA in Ni9Y(HwiE.dock_layer, -1, -1):\n nO8I = None\n for RlyF ... | [
"0.77619743",
"0.7044458",
"0.655297",
"0.64852035",
"0.60399073",
"0.6032833",
"0.6025618",
"0.59538406",
"0.59210026",
"0.5865132",
"0.5827791",
"0.5814225",
"0.58022153",
"0.5794729",
"0.5792922",
"0.5779016",
"0.57786655",
"0.5765312",
"0.57596743",
"0.5751171",
"0.574715... | 0.5965817 | 7 |
Shows or hide the docking guide windows. | def tDEa(WpDv, nUHY):
for pan_ in WpDv:
if nUHY and (not pan_.host.IsShown()):
pan_.host.Show()
pan_.host.Update()
elif not nUHY and pan_.host.IsShown():
pan_.host.Hide() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FnLu(YKHO):\n if YKHO.showing:\n YKHO.toolbar_frame.pack_forget()\n YKHO.Toolbars.entryconfigure(1, label=' Show toolbar ', command=YKHO.show_hide_toolbar)\n YKHO.showing = False\n else:\n YKHO.paned_win.pack_forget()\n YKHO.on_off_project_hierarchy... | [
"0.6941068",
"0.6657138",
"0.6537214",
"0.64934033",
"0.63969696",
"0.6351539",
"0.6290115",
"0.627693",
"0.6246437",
"0.6209176",
"0.61926097",
"0.61923087",
"0.6187978",
"0.61513466",
"0.61222994",
"0.60920936",
"0.60888594",
"0.60793257",
"0.60587865",
"0.6042531",
"0.6039... | 0.7507063 | 0 |
This function is used to sort panes by dock position. | def a2RM(EBgd, HpuQ):
return (EBgd.dock_pos < HpuQ.dock_pos and [-1] or [1])[0] | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ekYZ(YKHO, HwiE):\n JaoY = YKHO._art.GetMetric(QhUP)\n QaWC = YKHO._art.GetMetric(TfBa)\n RsWN = YKHO._art.GetMetric(vAJm)\n FBNX = []\n maxY = []\n QoWA = -1\n mPbR = len(HwiE.panes)\n for wAh2 in Ni9Y(mPbR):\n tmvf = HwiE.panes[wAh2]\n if tmvf.HasFlag(QJwk.actionPane):\n... | [
"0.648773",
"0.5994767",
"0.58436674",
"0.57859063",
"0.57676315",
"0.573743",
"0.57217026",
"0.55537635",
"0.5546934",
"0.5482828",
"0.5467524",
"0.5455795",
"0.5417287",
"0.53917545",
"0.5371835",
"0.5342087",
"0.5315554",
"0.52969325",
"0.5295304",
"0.5293866",
"0.52800804... | 0.72084737 | 0 |
Returns whether `pane1` and `pane2` are in a different docking position based on pane status, docking direction, docking layer and docking row. | def BEAi(JDY5, scR0):
return JDY5.IsFloating() != scR0.IsFloating() or JDY5.dock_direction != scR0.dock_direction or JDY5.dock_layer != scR0.dock_layer or (JDY5.dock_row != scR0.dock_row) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def hsCN(YKHO):\n return YKHO.IsTopDockable() or YKHO.IsBottomDockable() or YKHO.IsLeftDockable() or YKHO.IsRightDockable() or YKHO.IsNotebookDockable()",
"def a2RM(EBgd, HpuQ):\n return (EBgd.dock_pos < HpuQ.dock_pos and [-1] or [1])[0]",
"def SoUQ(YKHO, XP5J):\n if not XP5J.IsDockable():\n re... | [
"0.6436188",
"0.6083408",
"0.6051667",
"0.59383535",
"0.5902727",
"0.5868874",
"0.58292514",
"0.5795269",
"0.5781802",
"0.5736468",
"0.5553731",
"0.5519451",
"0.54725444",
"0.54593253",
"0.539389",
"0.539389",
"0.5341171",
"0.53193474",
"0.5293799",
"0.5272596",
"0.526653",
... | 0.87607366 | 0 |
This function will return the aui manager for a given window. | def DjJx(KnxT):
if not isinstance(lnPd.GetTopLevelParent(KnxT), PsMM):
if isinstance(KnxT, oI1p.AuiToolBar):
return KnxT.GetAuiManager()
Mjtj = be6X(L9kn)
Mjtj.SetManager(None)
Mjtj.ResumePropagation(lnPd.EVENT_PROPAGATE_MAX)
if not KnxT.GetEventHandler().ProcessEvent(Mjtj):
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def gFxq(YKHO):\n return YKHO._mgr",
"def E5JE(YKHO):\n tvqc = D1X0.AuiManagerEvent(D1X0.wxEVT_AUI_FIND_MANAGER)\n YKHO.ProcessEvent(tvqc)\n return tvqc.GetManager()",
"def Xo1V():\n AsCw = EotO.MQtUtil.mainWindow()\n return h_2_(Swre(AsCw), x5x0.QMainWindow)",
"def j6V7():\n AsCw = Atav... | [
"0.7335355",
"0.7059419",
"0.690221",
"0.68322307",
"0.67576",
"0.67506754",
"0.66958606",
"0.66468036",
"0.657084",
"0.6529958",
"0.6249033",
"0.6087565",
"0.60504556",
"0.60504556",
"0.5983328",
"0.5962071",
"0.5914325",
"0.58356863",
"0.58356863",
"0.58356863",
"0.5831246"... | 0.8227463 | 0 |