[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [platform-swt-dev] patch for gtk2 binding
|
SWT needs to be a first class citizen w.r.t. GTK. We definately want to use native widgets whenever they are available/compatible and remove all possible uses of deprecated methods. It seems to me though, that there are still some cases where there is a disconnect between the SWT and GTK programming models which can only be resolved by using deprecated methods. [Silenio/Boris: True?] If we find that this is unavoidable, we would likely need to get some of these things either un-deprecated or equivalent functionality added to GTK.
You're right though, we definately have places where we just did the expedient thing to get R2.0 shipped. The biggest task for the GTK/SWT developers over the summer is to get rid of these.
McQ.
| Jeffrey Morgan <Jeffrey.Morgan@xxxxxxxxxxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx
07/10/2002 01:00 PM
Please respond to platform-swt-dev
|
To: "'platform-swt-dev@xxxxxxxxxxx'" <platform-swt-dev@xxxxxxxxxxx>
cc:
Subject: RE: [platform-swt-dev] patch for gtk2 binding |
The API documents on the GTK website list it
under the Deprecated category. Please see:
http://developer.gnome.org/doc/API/2.0/gtk/index.html
SWT will continue to work fine with the GtkPixmap
class but it has been suggested on a few lists and
in the GNOME 2 porting guide that developers should
be using GtkImage.
SWT/GTK is currently using several deprecated GTK
APIs. I would guess this was primarily done in order to
meet the 2.0 freeze dates. What is the policy going
forward on using deprecated APIs? Is it a priority
to move away from these methods? Also, is it a priority
to replace emulated objects with native peers where
they exist (CoolBar, CoolItem)?
Thanks
-Jeff
> -----Original Message-----
> From: Steve Northover [mailto:Steve_Northover@xxxxxxx]
> Sent: Wednesday, July 10, 2002 12:35 PM
> To: platform-swt-dev@xxxxxxxxxxx
> Subject: RE: [platform-swt-dev] patch for gtk2 binding
>
>
>
> It's not deprecated in the doc.
>
>
>
>
>
>
> Jeffrey Morgan
>
>
> <Jeffrey.Morgan@Bristol To:
> "'platform-swt-dev@xxxxxxxxxxx'"
> <platform-swt-dev@xxxxxxxxxxx>
> West.com> cc:
>
>
> Sent by:
> Subject: RE: [platform-swt-dev] patch for gtk2 binding
>
> platform-swt-dev-admin@
>
>
> eclipse.org
>
>
>
>
>
>
>
>
> 07/10/02 12:22 PM
>
>
> Please respond to
>
>
> platform-swt-dev
>
>
>
>
>
>
>
>
>
>
>
> GtkPixmap is deprecated in GTK2. The first line of
> code in the header file is "#ifndef GTK_DISABLE_DEPRECATED"
> and is not closed until the last line in the file.
>
>
> > -----Original Message-----
> > From: Steve Northover [mailto:Steve_Northover@xxxxxxx]
> > Sent: Wednesday, July 10, 2002 11:48 AM
> > To: platform-swt-dev@xxxxxxxxxxx
> > Subject: Re: [platform-swt-dev] patch for gtk2 binding
> >
> >
> >
> > Hi again Jeff. As GtkPixmap is not deprecated, why should we
> > get rid of
> > it?
> >
> > Steve
> >
> > _______________________________________________
> > platform-swt-dev mailing list
> > platform-swt-dev@xxxxxxxxxxx
> > http://dev.eclipse.org/mailman/listinfo/platform-swt-dev
> >
>
>
>
>
>
>
>
> _______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/platform-swt-dev
>