36 #define FL_WINDOW 0xF0
37 #define FL_DOUBLE_WINDOW 0xF1
60 static char *default_xclass_;
65 const char* iconlabel_;
69 int minw, minh, maxw, maxh;
142 Fl_Window(
int w,
int h,
const char* title= 0);
147 Fl_Window(
int x,
int y,
int w,
int h,
const char* title = 0);
176 virtual void resize(
int,
int,
int,
int);
263 void hotspot(
int x,
int y,
int offscreen = 0);
265 void hotspot(
const Fl_Widget*,
int offscreen = 0);
314 void size_range(
int a,
int b,
int c=0,
int d=0,
int e=0,
int f=0,
int g=0) {
315 minw=a; minh=b; maxw=c; maxh=d; dw=e; dh=f; aspect=g; size_range_();}
322 void label(
const char*);
324 void iconlabel(
const char*);
326 void label(
const char* label,
const char* iconlabel);
329 static void default_xclass(
const char*);
330 static const char *default_xclass();
331 const char* xclass()
const;
332 void xclass(
const char* c);
333 const void* icon()
const;
334 void icon(
const void * ic);
383 void show(
int argc,
char **argv);
394 void fullscreen_off(
int,
int,
int,
int);
void set_non_modal()
A "non-modal" window (terminology borrowed from Microsoft Windows) acts like a modal() one in that it...
Definition: Fl_Window.H:213
This widget produces an actual window.
Definition: Fl_Window.H:58
void force_position(int force)
Sets an internal flag that tells FLTK and the window manager to honor position requests.
Definition: Fl_Window.H:98
Fl_Cursor
The following constants define the mouse cursors that are available in FLTK.
Definition: Enumerations.H:882
const char * label() const
See void Fl_Window::label(const char*)
Definition: Fl_Window.H:318
int force_position() const
Returns the internal state of the window's FORCE_POSITION flag.
Definition: Fl_Window.H:110
unsigned int border() const
See void Fl_Window::border(int)
Definition: Fl_Window.H:191
void set_override()
Activates the flags NOBORDER|FL_OVERRIDE.
Definition: Fl_Window.H:193
virtual Fl_Window * as_window()
Returns an Fl_Window pointer if this widget is an Fl_Window.
Definition: Fl_Window.H:428
void free_position()
Undoes the effect of a previous resize() or show() so that the next time show() is called the window ...
Definition: Fl_Window.H:277
unsigned int non_modal() const
Returns true if this window is modal or non-modal.
Definition: Fl_Window.H:215
unsigned int modal() const
Returns true if this window is modal.
Definition: Fl_Window.H:206
void draw()
Draws the widget.
Definition: Fl_Group.cxx:741
The Fl_Group class is the FLTK container widget.
Definition: Fl_Group.H:45
int handle(int)
Handles the specified event.
Definition: Fl_Group.cxx:150
void set_tooltip_window()
Marks the window as a tooltip window.
Definition: Fl_Window.H:251
void clear_border()
Fast inline function to turn the window manager border off.
Definition: Fl_Window.H:189
void resize(int, int, int, int)
Resizes the Fl_Group widget and all of its children.
Definition: Fl_Group.cxx:637
unsigned int Fl_Color
an FLTK color value
Definition: Enumerations.H:769
static Fl_Window * current_
Stores the last window that was made current.
Definition: Fl_Window.H:85
void hotspot(const Fl_Widget &p, int offscreen=0)
See void Fl_Window::hotspot(int x, int y, int offscreen = 0)
Definition: Fl_Window.H:267
unsigned int menu_window() const
Returns true if this window is a menu window.
Definition: Fl_Window.H:233
void set_menu_window()
Marks the window as a menu window.
Definition: Fl_Window.H:230
void size_range(int a, int b, int c=0, int d=0, int e=0, int f=0, int g=0)
Sets the allowable range the user can resize this window to.
Definition: Fl_Window.H:314
void set_modal()
A "modal" window, when shown(), will prevent any events from being delivered to other windows in the ...
Definition: Fl_Window.H:204
int shown()
Returns non-zero if show() has been called (but not hide() ).
Definition: Fl_Window.H:341
const char * iconlabel() const
See void Fl_Window::iconlabel(const char*)
Definition: Fl_Window.H:320
unsigned int tooltip_window() const
Returns true if this window is a tooltip window.
Definition: Fl_Window.H:254
static Fl_Group * current()
Returns the currently active group.
Definition: Fl_Group.cxx:89
unsigned char uchar
unsigned char
Definition: fl_types.h:39