[lazarus] Event Box usage....
Samuel Liddicott
sam at campbellsci.co.uk
Fri Sep 3 05:51:02 EDT 1999
> -----Original Message-----
> From: Shane Miller [mailto:smiller at lakefield.net]
> Sent: Friday, September 03, 1999 01:58 AM
> To: lazarus at miraclec.com
> Subject: [lazarus] Event Box usage....
>
>
> I proposed using an eventbox about 20 emails ago for this purpose. The
> problem that I see is it's overhead. It adds alot to the
> resource overhead.
Only when there are events. Which isn't often.
> However, it does give us the assurance that all components will be able to
> handle certain types of events. Plus we only need the eventbox
> for certain
> components, as others basically have their own built in.
Cool
> All we need to do is when the control is created, if it is a certain type,
> create an eventbox, and then create the component. do a
> gtk_object_set_data
> and set the 'COMPONENT' to this button, label or whatever. That
> way we can
> access it through the eventbox.
Sounds good to me.
Sam
More information about the Lazarus
mailing list