fltk::CreatedWindow Class Reference

List of all members.

Detailed Description

When fltk tells X about a window, one of these objects is created. Warning: this object is highly subject to change! It's definition is only here so that xid(Window) can be declared inline:


Public Member Functions

void expose (const Rectangle &)
void sendxjunk ()

Static Public Member Functions

static void create (Window *, XVisualInfo *, Colormap, int background=-1)
static CreatedWindowfind (const Window *window)
static CreatedWindowset_xid (Window *, XWindow)

Public Attributes

XWindow backbuffer
bool backbuffer_bad
Rectangle current_size
::Cursor cursor
const Widgetcursor_for
XWindow frontbuffer
CreatedWindownext
bool overlay
Region region
bool wait_for_expose
Windowwindow
XWindow xid

Static Public Attributes

static CreatedWindowfirst


Member Function Documentation

void CreatedWindow::create Window window,
XVisualInfo *  visual,
Colormap  colormap,
int  background = -1
[static]
 

This function calls XCreateWindow and sets things up so that xid(window) returns the created X window id. This also does a lot of other ugly X stuff, including setting the label, resize limitations, etc. The background is a pixel to use for X's automatic fill color, use -1 to indicate that no background filling should be done.

CreatedWindow * CreatedWindow::set_xid Window window,
XWindow  winxid
[static]
 

Set things up so that xid(window) returns winxid. Thus you will make that Window draw into an existing X window.


Fri Apr 2 15:19:54 2010. FLTK ©2007 Bill Spitzak and others.
Permission is granted to reproduce this manual or any portion for any purpose, provided this copyright and permission notice are preserved.