Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
76335936
Kaydet (Commit)
76335936
authored
Ara 31, 2001
tarafından
Just van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Oops, forgot to mark CreateScrollBarControl and CreateSliderControl
as Carbon-only
üst
20a03d1c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
_Ctlmodule.c
Mac/Modules/ctl/_Ctlmodule.c
+12
-0
ctlscan.py
Mac/Modules/ctl/ctlscan.py
+2
-0
No files found.
Mac/Modules/ctl/_Ctlmodule.c
Dosyayı görüntüle @
76335936
...
...
@@ -5012,6 +5012,8 @@ static PyObject *Ctl_CreateBevelButtonControl(PyObject *_self, PyObject *_args)
}
#endif
#if TARGET_API_MAC_CARBON
static
PyObject
*
Ctl_CreateSliderControl
(
PyObject
*
_self
,
PyObject
*
_args
)
{
PyObject
*
_res
=
NULL
;
...
...
@@ -5057,6 +5059,7 @@ static PyObject *Ctl_CreateSliderControl(PyObject *_self, PyObject *_args)
setcallback
(
_res
,
kMyControlActionProcTag
,
liveTrackingProc
,
&
c_callback
);
return
_res
;
}
#endif
#if TARGET_API_MAC_CARBON
...
...
@@ -5824,6 +5827,8 @@ static PyObject *Ctl_CreateCheckBoxControl(PyObject *_self, PyObject *_args)
}
#endif
#if TARGET_API_MAC_CARBON
static
PyObject
*
Ctl_CreateScrollBarControl
(
PyObject
*
_self
,
PyObject
*
_args
)
{
PyObject
*
_res
=
NULL
;
...
...
@@ -5866,6 +5871,7 @@ static PyObject *Ctl_CreateScrollBarControl(PyObject *_self, PyObject *_args)
setcallback
(
_res
,
kMyControlActionProcTag
,
liveTrackingProc
,
&
c_callback
);
return
_res
;
}
#endif
#if TARGET_API_MAC_CARBON
...
...
@@ -6256,8 +6262,11 @@ static PyMethodDef Ctl_methods[] = {
{
"CreateBevelButtonControl"
,
(
PyCFunction
)
Ctl_CreateBevelButtonControl
,
1
,
"(WindowPtr window, Rect boundsRect, CFStringRef title, UInt16 thickness, UInt16 behavior, ControlButtonContentInfo info, SInt16 menuID, UInt16 menuBehavior, UInt16 menuPlacement) -> (ControlHandle outControl)"
},
#endif
#if TARGET_API_MAC_CARBON
{
"CreateSliderControl"
,
(
PyCFunction
)
Ctl_CreateSliderControl
,
1
,
"(WindowPtr window, Rect boundsRect, SInt32 value, SInt32 minimum, SInt32 maximum, UInt16 orientation, UInt16 numTickMarks, Boolean liveTracking, PyObject* liveTrackingProc) -> (ControlHandle outControl)"
},
#endif
#if TARGET_API_MAC_CARBON
{
"CreateDisclosureTriangleControl"
,
(
PyCFunction
)
Ctl_CreateDisclosureTriangleControl
,
1
,
...
...
@@ -6373,8 +6382,11 @@ static PyMethodDef Ctl_methods[] = {
{
"CreateCheckBoxControl"
,
(
PyCFunction
)
Ctl_CreateCheckBoxControl
,
1
,
"(WindowPtr window, Rect boundsRect, CFStringRef title, SInt32 initialValue, Boolean autoToggle) -> (ControlHandle outControl)"
},
#endif
#if TARGET_API_MAC_CARBON
{
"CreateScrollBarControl"
,
(
PyCFunction
)
Ctl_CreateScrollBarControl
,
1
,
"(WindowPtr window, Rect boundsRect, SInt32 value, SInt32 minimum, SInt32 maximum, SInt32 viewSize, Boolean liveTracking, PyObject* liveTrackingProc) -> (ControlHandle outControl)"
},
#endif
#if TARGET_API_MAC_CARBON
{
"CreatePopupButtonControl"
,
(
PyCFunction
)
Ctl_CreatePopupButtonControl
,
1
,
...
...
Mac/Modules/ctl/ctlscan.py
Dosyayı görüntüle @
76335936
...
...
@@ -126,6 +126,8 @@ class MyScanner(Scanner):
'GetControlClickActivation'
,
'HandleControlContextualMenuClick'
,
"CreateScrollBarControl"
,
"CreateSliderControl"
,
"CreateBevelButtonControl"
,
"CreateImageWellControl"
,
"CreatePictureControl"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment