(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: com :: sun :: star :: awt ::

struct WindowDescriptor
Description
describes a window.

Elements' Summary
Type specifies the type of window.  
WindowServiceName specifies the name of the component service.  
Parent specifies the parent of the component.  
ParentIndex specifies the index of the parent window, if available.  
Bounds specifies the position and size of the window.  
WindowAttributes specifies the window attributes.  
Elements' Details
Type
WindowClass Type;
Description
specifies the type of window.
WindowServiceName
string WindowServiceName;
Description
specifies the name of the component service.

A zero length name means that the vcl creates a blank top, a container, or a simple window. The following service names are defined:

  • buttondialog
  • cancelbutton
  • checkbox
  • combobox
  • control
  • currencybox
  • currencyfield
  • datebox
  • datefield
  • dialog
  • dockingarea
  • dockingwindow
  • edit
  • errorbox
  • fixedbitmap
  • fixedimage
  • fixedline
  • fixedtext
  • floatingwindow
  • framewindow
  • groupbox
  • helpbutton
  • imagebutton
  • imageradiobutton
  • infobox
  • listbox
  • longcurrencybox
  • longcurrencyfield
  • menubutton
  • messbox
  • metricbox
  • metricfield
  • modaldialog
  • modelessdialog
  • morebutton
  • multilistbox
  • numericbox
  • numericfield
  • okbutton
  • patternbox
  • patternfield
  • pushbutton
  • querybox
  • radiobutton
  • scrollbar
  • scrollbarbox
  • simpleanimation
  • spinbutton
  • spinfield
  • throbber
  • splitter
  • splitwindow
  • statusbar
  • systemchildwindow
  • tabcontrol
  • tabdialog
  • tabpage
  • timebox
  • timefield
  • toolbox
  • tristatebox
  • warningbox
  • window
  • workwindow

Parent
XWindowPeer Parent;
Description
specifies the parent of the component.

If Parent == 0 && ParentIndex == -1, then the window is on the desktop.

ParentIndex
short ParentIndex;
Description
specifies the index of the parent window, if available.

If Parent == 0 and this struct is a member of an array, then this is the offset from the beginning of the array to the parent. A value of -1 means desktop.

Bounds
Rectangle Bounds;
Description
specifies the position and size of the window.

This member is ignored if the window attribute is WindowAttribute::FULLSIZE.

WindowAttributes
long WindowAttributes;
Description
specifies the window attributes.

Use one value out of the constant group WindowAttribute.

Top of Page

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.