mirror of https://github.com/mono/CppSharp.git
6 changed files with 30 additions and 18 deletions
@ -0,0 +1,16 @@ |
|||||||
|
using System; |
||||||
|
using System.Runtime.InteropServices; |
||||||
|
using Mono.Cxxi; |
||||||
|
|
||||||
|
namespace Qt.Gui { |
||||||
|
public partial class QWidget { |
||||||
|
|
||||||
|
public void Resize (int width, int height) |
||||||
|
{ |
||||||
|
var size = new QSize (width, height); |
||||||
|
impl.resize (Native, ref size); |
||||||
|
} |
||||||
|
|
||||||
|
} |
||||||
|
} |
||||||
|
|
Loading…
Reference in new issue