get_width


Description:

[ Version ( deprecated = true , deprecated_since = "3.22" , since = "2.2" ) ]
public int get_width ()

Warning: get_width is deprecated since 3.22.

Gets the width of this in pixels.

Note:

Use per-monitor information instead

The returned size is in ”application pixels”, not in ”device pixels” (see get_monitor_scale_factor).

Parameters:

this

a Screen

Returns:

the width of this in pixels.




2022 vala-language.org