[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Help needed to get the drawable window_id

Hi, sorry for the late reply,

The Table needs to be realized, which you can do by calling OS.gtk_widget_realize(table.handle). Calling table.getBackground() will also accomplish this since it makes the gtk_widget_realize call.

Grant


HariBabu wrote:

Hi,

I have created a table(or tree) inside a view. To get the table's window_id, i have written a getter method inside swt's Display class. So that i can use this window_id to display the xnest into my view.

Here the problem is window_id getting generated when a drawable event occurs (i guess). I want to get this table's window_id immeaditely after the table object is created.

Please give me your suggestion.

Old threads related to this issue
=================================
http://dev.eclipse.org/newslists/news.eclipse.platform.swt/msg37723.html
http://dev.eclipse.org/newslists/news.eclipse.platform/msg70140.html

Thanks
-HariBabu