CreatedWindow Class Reference

List of all members.

Public Member Functions

void expose (const Rectangle &)
void sendxjunk ()

Static Public Member Functions

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

Public Attributes

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

Static Public Attributes

CreatedWindowfirst

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:


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.


The documentation for this class was generated from the following files:
Sun Jan 7 00:55:17 2007. FLTK ©2006 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.