# class WindowArgs

###

Module | kparts
Namespace | KParts
Class | WindowArgs
Inherits |

The WindowArgs are used to specify arguments to the "create new window" call (see the createNewWindow variant that uses WindowArgs). The primary reason for this is the javascript window.open function.

### methods

- WindowArgs ( )

  returns ctor

- WindowArgs (args)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  args | KParts.WindowArgs |

- WindowArgs (_geometry, _fullscreen, _menuBarVisible, _toolBarsVisible, _statusBarVisible, _resizable)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  _geometry | QRect |
  _fullscreen | bool |
  _menuBarVisible | bool |
  _toolBarsVisible | bool |
  _statusBarVisible | bool |
  _resizable | bool |

- WindowArgs (_x, _y, _width, _height, _fullscreen, _menuBarVisible, _toolBarsVisible, _statusBarVisible, _resizable)

  returns ctor

  Argument | Type | Default
  --- | --- | ---
  _x | int |
  _y | int |
  _width | int |
  _height | int |
  _fullscreen | bool |
  _menuBarVisible | bool |
  _toolBarsVisible | bool |
  _statusBarVisible | bool |
  _resizable | bool |

- height ( )

  returns int

- isFullScreen ( )

  returns bool

- isMenuBarVisible ( )

  returns bool

- isResizable ( )

  returns bool

- isStatusBarVisible ( )

  returns bool

- lowerWindow ( )

  returns bool

- scrollBarsVisible ( )

  returns bool

- setFullScreen (fs)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  fs | bool |

- setHeight (h)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  h | int |

- setLowerWindow (lower)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  lower | bool |

- setMenuBarVisible (visible)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  visible | bool |

- setResizable (resizable)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  resizable | bool |

- setScrollBarsVisible (visible)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  visible | bool |

- setStatusBarVisible (visible)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  visible | bool |

- setToolBarsVisible (visible)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  visible | bool |

- setWidth (w)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  w | int |

- setX (x)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  x | int |

- setY (y)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  y | int |

- toolBarsVisible ( )

  returns bool

- width ( )

  returns int

- x ( )

  returns int

- y ( )

  returns int