[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-swt-dev] Custom Controls and Package-Private Methods
|
Hi Conrad,
Thanks for replying. I thought about the Widget#sendEvent(int, Event),
but now have noticed there already is a public
Widget#notifyListeners(int, Event) which invokes the first.
BTW, Widget#notifyListeners(int, Event) creates an event if null was
passed, though the called Widget#sendEvent(int, Event, boolean) already
does.
--
Best regards,
Thomas Singer
=============
syntevo GmbH
https://www.syntevo.com
https://www.syntevo.com/blog
On 2018-07-03 21:30, Conrad Groth wrote:
Which methods do you have in mind?
Keep in mind, that a lot of the event handling stuff is platform specific,
so making a method protected requires to have that protected method on
Win32, GTK and Cocoa.
Best Regards
Conrad
-----Ursprüngliche Nachricht-----
Von: platform-swt-dev-bounces@xxxxxxxxxxx
[mailto:platform-swt-dev-bounces@xxxxxxxxxxx] Im Auftrag von Thomas Singer
Gesendet: Freitag, 29. Juni 2018 06:56
An: platform-swt-dev@xxxxxxxxxxx
Betreff: [platform-swt-dev] Custom Controls and Package-Private Methods
Hi all,
I'm in the process of writing the 3rd own control derived from Composite
and would like to utilize the normal event handling. Unfortunately,
those methods are package-private. What would you think about making
some of the central ones protected?