window.h File Reference


Classes

class  wxWindow
 wxWindow is the base class for all windows and represents any visible object om screen. More...

Enumerations

enum  wxBackgroundStyle {
  wxBG_STYLE_SYSTEM,
  wxBG_STYLE_COLOUR,
  wxBG_STYLE_CUSTOM,
  wxBG_STYLE_TRANSPARENT
}
 Background styles. More...
enum  wxShowEffect {
  wxSHOW_EFFECT_ROLL_TO_LEFT,
  wxSHOW_EFFECT_ROLL_TO_RIGHT,
  wxSHOW_EFFECT_ROLL_TO_TOP,
  wxSHOW_EFFECT_ROLL_TO_BOTTOM,
  wxSHOW_EFFECT_SLIDE_TO_LEFT,
  wxSHOW_EFFECT_SLIDE_TO_RIGHT,
  wxSHOW_EFFECT_SLIDE_TO_TOP,
  wxSHOW_EFFECT_SLIDE_TO_BOTTOM,
  wxSHOW_EFFECT_BLEND,
  wxSHOW_EFFECT_EXPAND
}
 Valid values for wxWindow::ShowWithEffect() and wxWindow::HideWithEffect(). More...
enum  wxWindowVariant {
  wxWINDOW_VARIANT_NORMAL,
  wxWINDOW_VARIANT_SMALL,
  wxWINDOW_VARIANT_MINI,
  wxWINDOW_VARIANT_LARGE,
  wxWINDOW_VARIANT_MAX
}
 Different window variants, on platforms like eg mac uses different rendering sizes. More...
enum  wxUpdateUI {
  wxUPDATE_UI_NONE,
  wxUPDATE_UI_RECURSE,
  wxUPDATE_UI_FROMIDLE
}
 Flags which can be used in wxWindow::UpdateWindowUI(). More...

Functions

wxWindowwxFindWindowAtPointer (wxPoint &pt)
 Find the deepest window at the mouse pointer position, returning the window and current pointer position in screen coordinates.
wxWindowwxGetActiveWindow ()
 Gets the currently active window (implemented for MSW and GTK only currently, always returns NULL in the other ports).
wxWindowwxGetTopLevelParent (wxWindow *window)
 Returns the first top level parent of the given window, or in other words, the frame or dialog containing it, or NULL.

Enumeration Type Documentation

Background styles.

See wxWindow::SetBackgroundStyle().

Enumerator:
wxBG_STYLE_SYSTEM  Use the default background, as determined by the system or the current theme.

wxBG_STYLE_COLOUR  Use a solid colour for the background, this style is set automatically if you call SetBackgroundColour() so you only need to set it explicitly if you had changed the background style to something else before.

wxBG_STYLE_CUSTOM  Don't draw the background at all, it's supposed that it is drawn by the user-defined erase background event handler.

This style should be used to avoid flicker when the background is entirely custom-drawn.

wxBG_STYLE_TRANSPARENT  The background is (partially) transparent,this style is automatically set if you call SetTransparent() which is used to set the transparency level.

Valid values for wxWindow::ShowWithEffect() and wxWindow::HideWithEffect().

Enumerator:
wxSHOW_EFFECT_ROLL_TO_LEFT  Roll window to the left.
wxSHOW_EFFECT_ROLL_TO_RIGHT  Roll window to the right.
wxSHOW_EFFECT_ROLL_TO_TOP  Roll window to the top.
wxSHOW_EFFECT_ROLL_TO_BOTTOM  Roll window to the bottom.
wxSHOW_EFFECT_SLIDE_TO_LEFT  Slide window to the left.
wxSHOW_EFFECT_SLIDE_TO_RIGHT  Slide window to the right.
wxSHOW_EFFECT_SLIDE_TO_TOP  Slide window to the top.
wxSHOW_EFFECT_SLIDE_TO_BOTTOM  Slide window to the bottom.
wxSHOW_EFFECT_BLEND  Fade in or out effect.
wxSHOW_EFFECT_EXPAND  Expanding or collapsing effect.

enum wxUpdateUI

Flags which can be used in wxWindow::UpdateWindowUI().

Enumerator:
wxUPDATE_UI_NONE 
wxUPDATE_UI_RECURSE 
wxUPDATE_UI_FROMIDLE  Invoked from On(Internal)Idle.

Different window variants, on platforms like eg mac uses different rendering sizes.

Enumerator:
wxWINDOW_VARIANT_NORMAL  Normal size.
wxWINDOW_VARIANT_SMALL  Smaller size (about 25 % smaller than normal).
wxWINDOW_VARIANT_MINI  Mini size (about 33 % smaller than normal).
wxWINDOW_VARIANT_LARGE  Large size (about 25 % larger than normal).
wxWINDOW_VARIANT_MAX 



wxWidgets logo

[ top ]