How do I get the top-level HTML widget from a gnc_report_window?

Bill Gribble grib@gnumatic.com
Fri, 29 Dec 2000 08:31:20 -0600


On Fri, Dec 29, 2000 at 01:56:45PM +1100, Robert Graham Merkel wrote:
> Bill, I'm busily working on the pane code, and I need to get the
> actual widget from a gnc_report_window and shove it in a container.  
> 
> How do I do so?

You do it the other way 'round: pass it the container (must be a
GtkContainer) as the argument to the gnc_report_window constructor.

If you really need to do it the other way I can add the
infrastructure, but ATM when you create the report window it gets
realized and shown so it need to know where it's going in advance.

b.g.