When you create an element its size is not defined. If you not manually
set the size, then it will be available only when the layout of the dialog
is computed.
The layout is automatically computed when the dialog is shown. If you
need the size before that, then there are alternatives. You can call
IupRefresh to compute the dialog, or you can call IupMap that internally
will call IupRefresh.
Then size will not return nil/NULL.
Best,
Scuri
On Tue, May 26, 2015 at 4:42 AM, Milind Gupta <milind.gu...@gmail.com>
wrote:
> Hi,
> I created a glcanvasbox. the rastersize attribute seems to be
> nil when I first access it. In what scenario can the rastersize be nil?
>
> Thanks,
> Milind
>
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users