![]() Returns the window position in screen coordinates, whether the window is a child window or a top level one. Returns the position and size of the window as a wxRect object. This gets the position of the window in pixels, relative to the parent window for the child windows or relative to the display origin for the top level windows. Sets the scrollbar properties of a built-in scrollbar. SetScrollbar (int orientation, int position, int thumbSize, int range, bool refresh=true) Sets the position of one of the built-in scrollbars. SetScrollPos (int orientation, int pos, bool refresh=true) Physically scrolls the pixels in the window and move child windows accordingly. ScrollWindow (int dx, int dy, const wxRect *rect=NULL) Scrolls the window by the given number of pages down (if pages is positive) or up. Scrolls the window by the given number of lines down (if lines is positive) or up. Return whether a scrollbar is always shown. IsScrollbarAlwaysShown (int orient) const Returns true if this window currently has a scroll bar for this orientation. Returns true if this window can have a scroll bar in this orientation. Returns the built-in scrollbar thumb size. More.ĪlwaysShowScrollbars (bool hflag=true, bool vflag=true)Ĭall this function to force one or both scrollbars to be always shown, even if the window is big enough to show its entire contents without scrolling. the window will be removed from its current parent window (e.g. More.Ĭheck if the specified window is a descendant of this one. Returns the previous window before this one among the parent's children or NULL if this window is the first child. Returns the parent of the window, or NULL if there is no parent. Returns the next window after this one among the parent's children or NULL if this window is the last child. Returns the grandparent of a window, or NULL if there isn't one. Returns a const reference to the list of the window's children. Returns a reference to the list of the window's children. More.įind a child of this window, by name. This function is called by wxWidgets keyboard navigation code when the user gives the focus to this window from keyboard (e.g. This sets the window to receive keyboard input. More.Įnables or disables visible indication of keyboard focus. This method is only implemented by ports which have support for native TAB traversal (such as GTK+ 2.0). Returns true if the window (or in case of composite controls, its main child window) has focus. More.Ĭan this window itself have focus? More.Ĭan this window have focus right now? More.Ĭan this window be assigned focus from keyboard right now? More. More.ĭisable giving focus to this window using the keyboard navigation keys. Overridden to indicate whether this window or one of its children accepts focus. This method may be overridden in the derived classes to return false to indicate that while this control can, in principle, have focus if the user clicks it with the mouse, it shouldn't be included in the TAB traversal chain when using the keyboard. This method may be overridden in the derived classes to return false to indicate that this control doesn't accept input at all (i.e. More.Ĭreate ( wxWindow *parent, wxWindowID id, const wxPoint &pos= wxDefaultPosition, const wxSize &size= wxDefaultSize, long style=0, const wxString &name=wxPanelNameStr)Ĭonstruct the actual window object after creating the C++ object. WxWindow ( wxWindow *parent, wxWindowID id, const wxPoint &pos= wxDefaultPosition, const wxSize &size= wxDefaultSize, long style=0, const wxString &name=wxPanelNameStr)Ĭonstructs a window, which can be a child of a frame, dialog or any other non-control window. Public Member Functions inherited from wxWindow If the platform supports it, sets the shape of the window to that depicted by region. ![]() Public Member Functions inherited from wxNonOwnedWindow Move the popup window to the right position, i.e. Position (const wxPoint &ptOrigin, const wxSize &sizePopup) WxPopupWindow ( wxWindow *parent, int flags= wxBORDER_NONE)Ĭreate ( wxWindow *parent, int flags= wxBORDER_NONE)Ĭreate method for two-step creation. Public Member Functions inherited from wxPopupWindow More.Ĭalled when a mouse is pressed while the popup is shown. Popup the window (this will show it too). WxPopupTransientWindow ( wxWindow *parent, int flags= wxBORDER_NONE) Category: Managed Windows See also wxPopupWindow
0 Comments
Leave a Reply. |