|
|
|
|
|
by rhodysurf
3801 days ago
|
|
So it uses interfaces and anonymous fields. So if you are familiar with Qt, something like QPushButton would be implemented in go by having an anonymous field for QAbstractButton which would have an anonymous field for QWidget. Furthermore, this class has to implement an interface so it can be passed around like a normal QWidget in C++ would. That was kind of a ramble, but thats the gist of it. |
|