Documentation

  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  ]
 

class Fl_Double_Window


Class Hierarchy

Include Files

    #include <FL/Fl_Double_Window.H>
    

Description

The Fl_Double_Window class provides a double-buffered window. If possible this will use the X double buffering extension (Xdbe). If not, it will draw the window data into an off-screen pixmap, and then copy it to the on-screen window.

It is highly recommended that you put the following code before the first show() of any window in your program:

    Fl::visual(FL_DOUBLE|FL_INDEX)
    
This makes sure you can use Xdbe on servers where double buffering does not exist for every visual.

Methods

Fl_Double_Window::Fl_Double_Window(int w, int h, const char *label = 0)
Fl_Double_Window::Fl_Double_Window(int x, int y, int w, int h, const char *label = 0)

Creates a new Fl_Double_Window widget using the given position, size, and label (title) string.

virtual Fl_Double_Window::~Fl_Double_Window()

The destructor also deletes all the children. This allows a whole tree to be deleted at once, without having to keep a pointer to all the children in the user code.

User Comments [ Add Comment ]

From Thomas Geijtenbeek, 14:12 Feb 11, 2003 (score=1)

The pixmap() method does not seem to be implemented, at least not under WIN32...
Reply ]

From Zax, 17:38 Sep 03, 2003 (score=3)

Hey mr. Geijtenbeek...

nice to see you are still an active programmer. funny that we bump into the same discussion page...

  • Zax

(and sorry for abusing the discussion page for this personal issue)
Reply ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2015 by Bill Spitzak and others. This project is hosted by Seriss Corporation. Please report site problems to 'erco@seriss.com'.