Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] SWT.EMBEDDABLE on gtk is not reusable

Hi there!

I made a bug about this earlier [1] and I'd be interested in
implementing a fix. Short summary is that the GtkWidget backing the
Composite gets disposed (without Composite getting disposed) when the
XEmbed client goes away after being attached.

I tried to look around for required blocks but could someone verify
I'm not going to the entirely wrong way? For example, are all signals
defined in Widget.java for consistency or should the socket signals be
in for example Composite as it is the first subclass of widget capable
of receiving one.

Also, not sure if this is a feature of XEmbed and/or Win32 but under
windows, if you have a subwindow (WS_CHILD and maximized I believe) on
your SWT.EMBEDDABLE composite it stays centered and grows from there
whereas in linux (gtk) the embedded component is anchored to the left
top corner, expanding towards right and bottom. Any ideas how I could
replicate the windows behaviour on gtk?

1 = https://bugs.eclipse.org/bugs/show_bug.cgi?id=342253

-- 
-- Joonas Koivunen


Back to the top