Adding image in the background

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • agsupriya86
    New Member
    • Mar 2007
    • 34

    Adding image in the background

    Hi,
    I want to add an image in the backgrouind of my text area.
    Im working in wxpython..
    Any help??
  • bartonc
    Recognized Expert Expert
    • Sep 2006
    • 6478

    #2
    Originally posted by agsupriya86
    Hi,
    I want to add an image in the backgrouind of my text area.
    Im working in wxpython..
    Any help??
    Looks like it can be done if your platform is GDK+:
    Originally posted by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al
    wxWindow::SetBa ckgroundStyle
    virtual void SetBackgroundSt yle(wxBackgroun dStyle style)

    Sets the background style of the window. The background style indicates whether background colour should be determined by the system (wxBG_STYLE_SYS TEM), be set to a specific colour (wxBG_STYLE_COL OUR), or should be left to the application to implement (wxBG_STYLE_CUS TOM).

    On GTK+, use of wxBG_STYLE_CUST OM allows the flicker-free drawing of a custom background, such as a tiled bitmap. Currently the style has no effect on other platforms.

    Comment

    Working...