FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Haiku-PyAPI/bindings/__init__.py at main · coolcoder613eb/Haiku-PyAPI · GitHub
coolcoder613eb
Haiku-PyAPI
Repository navigation
Code
Issues
1
(1)
Pull requests
9
(9)
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Haiku-PyAPI
/
bindings
/
__init__.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
260 lines (247 loc) · 6.37 KB
Breadcrumbs
Haiku-PyAPI
/
bindings
/
__init__.py
Copy path
File metadata and controls
260 lines (247 loc) · 6.37 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
from
struct
import
unpack
from
.
AppDefs
import
*
from
.
Clipboard
import
*
from
.
Cursor
import
*
from
.
Handler
import
*
from
.
Invoker
import
*
from
.
Key
import
*
from
.
KeyStore
import
*
from
.
Looper
import
*
from
.
Application
import
*
# should to be loaded after looper
from
.
Message
import
*
from
.
MessageFilter
import
*
from
.
MessageQueue
import
*
from
.
MessageRunner
import
*
from
.
Messenger
import
*
from
.
Notification
import
*
from
.
PropertyInfo
import
*
from
.
Roster
import
*
from
.
Window
import
*
from
.
Rect
import
*
from
.
Polygon
import
*
from
.
Region
import
*
from
.
GraphicsDefs
import
*
from
.
Screen
import
*
from
.
Point
import
*
from
.
InterfaceDefs
import
*
from
.
View
import
*
from
.
Control
import
*
#from .OptionControl import *
from
.
Button
import
*
from
.
TextControl
import
*
from
.
Font
import
*
from
.
StringView
import
*
from
.
Alert
import
*
from
.
TextView
import
*
from
.
Menu
import
*
from
.
MenuItem
import
*
from
.
MenuField
import
*
from
.
LayoutItem
import
*
from
.
Layout
import
*
from
.
AbstractLayout
import
*
from
.
AbstractLayoutItem
import
*
from
.
TwoDimensionalLayout
import
*
from
.
GridLayout
import
*
from
.
GridLayoutBuilder
import
*
from
.
GroupLayout
import
*
from
.
GroupLayoutBuilder
import
*
from
.
LayoutContext
import
*
from
.
LayoutUtils
import
*
from
.
PopUpMenu
import
*
from
.
Box
import
*
from
.
SeparatorItem
import
*
from
.
Alignment
import
*
from
.
SeparatorView
import
*
from
.
MenuBar
import
*
from
.
StatusBar
import
*
from
.
CheckBox
import
*
from
.
ColorControl
import
*
from
.
RadioButton
import
*
from
.
ListView
import
*
from
.
OutlineListView
import
*
from
.
ScrollView
import
*
from
.
SupportDefs
import
*
from
.
TypeConstants
import
*
from
.
Archivable
import
*
from
.
ListItem
import
*
from
.
Bitmap
import
*
from
.
Picture
import
*
from
.
PictureButton
import
*
from
.
StringItem
import
*
from
.
TabView
import
*
from
.
ScrollBar
import
*
from
.
Shape
import
*
from
.
Size
import
*
from
.
Slider
import
*
from
.
CardLayout
import
*
from
.
CardView
import
*
from
.
ChannelControl
import
*
from
.
ChannelSlider
import
*
from
.
ControlLook
import
*
from
.
Deskbar
import
*
from
.
Gradient
import
*
from
.
GradientConic
import
*
from
.
GradientDiamond
import
*
from
.
GradientLinear
import
*
from
.
GradientRadial
import
*
from
.
GradientRadialFocus
import
*
from
.
GridView
import
*
from
.
Dragger
import
*
from
.
IconUtils
import
*
from
.
Input
import
*
from
.
PrintJob
import
*
from
.
Errors
import
*
from
.
ByteOrder
import
*
from
.
StopWatch
import
*
from
.
Beep
import
*
from
.
Architecture
import
*
from
.
Locker
import
*
#from .BlockCache import *
from
.
Autolock
import
*
from
.
DateTime
import
*
from
.
parsedate
import
*
from
.
List
import
*
from
.
String
import
*
from
.
Flattenable
import
*
from
.
AffineTransform
import
*
from
.
StringList
import
*
from
.
DataIO
import
*
from
.
BufferIO
import
*
from
.
BufferedDataIO
import
*
from
.
Url
import
*
from
.
UTF8
import
*
from
.
TLS
import
*
from
.
Job
import
*
from
.
fs_attr
import
*
from
.
OS
import
*
from
.
scheduler
import
*
from
.
StorageDefs
import
*
from
.
Statable
import
*
from
.
Entry
import
*
from
.
Node
import
*
from
.
SymLink
import
*
from
.
File
import
*
from
.
Volume
import
*
from
.
VolumeRoster
import
*
from
.
Path
import
*
from
.
FindDirectory
import
*
from
.
PathFinder
import
*
from
.
Mime
import
*
from
.
MimeType
import
*
from
.
NodeInfo
import
*
from
.
AppFileInfo
import
*
from
.
Resources
import
*
from
.
ResourceStrings
import
*
from
.
EntryList
import
*
from
.
Directory
import
*
from
.
Query
import
*
from
.
NodeMonitor
import
*
from
.
NodeInfo
import
*
from
.
DiskDeviceDefs
import
*
from
.
FilePanel
import
*
from
.
TranslationDefs
import
*
from
.
TranslatorRoster
import
*
from
.
TranslationUtils
import
*
from
.
Translator
import
*
from
.
BitmapStream
import
*
from
.
TranslatorFormats
import
*
from
.
stat
import
*
#from .ScreenSaver import *
#from .MimeSnifferAddon import *
from
.
Accelerant
import
*
#from .GraphicsCard import *
#from .InputServerDevice import *
#from .InputServerFilter import *
#from .InputServerMethod import *
#from .MailFilter import *
from
.
MailSettingsView
import
*
#from .MailProtocol import *
#from .NetworkProfile import *
from
.
NetworkSettings
import
*
#from .NetworkSettingsAddOn import *
#from .bus_manager import *
#from .ACPI import *
#from .cpufreq import *
#from .cpuidle import *
#from .module import *
from
.
SerialPort
import
*
#from .Joystick import *
#from .USBKit import *
#from .A2D import *
#from .D2A import *
#from .DigitalPort import *
from
.
Email
import
*
from
.
mail_encoding
import
*
from
.
MailComponent
import
*
from
.
MailDaemon
import
*
from
.
MailContainer
import
*
from
.
MailMessage
import
*
from
.
MailAttachment
import
*
from
.
MailSettings
import
*
from
.
Country
import
*
from
.
Language
import
*
from
.
Format
import
*
from
.
FormattingConventions
import
*
from
.
DateFormat
import
*
from
.
DateTimeFormat
import
*
from
.
TimeUnitFormat
import
*
from
.
DurationFormat
import
*
from
.
TimeFormat
import
*
from
.
UnicodeChar
import
*
from
.
StringFormat
import
*
from
.
TextEncoding
import
*
from
.
RelativeDateTimeFormat
import
*
from
.
NumberFormat
import
*
from
.
LocaleStrings
import
*
from
.
LocaleRoster
import
*
from
.
Locale
import
*
from
.
Collator
import
*
from
.
CatalogData
import
*
from
.
Catalog
import
*
from
.
TimeZone
import
*
#media
from
.
Buffer
import
*
from
.
MediaNode
import
*
from
.
BufferConsumer
import
*
from
.
TimeSource
import
*
from
.
BufferGroup
import
*
from
.
BufferProducer
import
*
from
.
Controllable
import
*
from
.
MediaAddOn
import
*
from
.
MediaDecoder
import
*
from
.
MediaDefs
import
*
from
.
MediaEncoder
import
*
from
.
ParameterWeb
import
*
from
.
MediaTrack
import
*
from
.
MediaFile
import
*
from
.
MediaFiles
import
*
from
.
MediaFormats
import
*
from
.
MediaRecorder
import
*
from
.
MediaRoster
import
*
from
.
MediaTheme
import
*
from
.
PlaySound
import
*
from
.
Sound
import
*
from
.
SoundFile
import
*
from
.
SoundPlayer
import
*
from
.
TimeCode
import
*
from
.
TimedEventQueue
import
*
#_BWindow=BWindow
#_BApplication=BApplication
#def MessageReceived(self, msg, parent):
# if msg.what in self.events:
# self.events[msg.what](msg)
# elif msg in self.events:
# self.events[msg](msg)
# else:
# print(parent,parent.MessageReceived)
# parent.MessageReceived(self, msg)
#
#class BWindow(_BWindow):
# events={}
# MessageReceived=lambda self, msg: MessageReceived(self, msg,_BWindow)
#
#class BApplication(_BApplication):
# events={}
# MessageReceived=lambda self, msg: MessageReceived(self, msg,_BApplication)
def
int32
(
bytestr
):
return
unpack
(
'i'
,
bytestr
)[
0
]
Back
|
FazBrowse Home
|
New Git URL