FLTK logo

Articles & FAQs

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Submit Article | Link To Search Results ]

Search: 
Which Articles: 
Search supports 'and', 'or', 'not', and parenthesis. More info...


21 article(s) found, showing 11 to 21:

Previous 20 ]

ID Title Last Modified Comment(s)  
  369How Do I Compile FLTK? Jan 29, 20050  
 

In most cases you can just type "make". This will run configure with  the default of no options and then compile everything.

 
  370How Do I Compile FLTK Under Microsoft Windows? Jan 29, 20054  
 

There are two ways to build FLTK under Microsoft Windows. The first is to use the Visual C++ 6.0 project files under the "visualc" directory. Just open (or double-click on) the "fltk.dsw" file to get the whole shebang, and buil...

 
  371Why Does FLTK Use the DLL Link Model? Jan 29, 20050  
 

Microsoft's fundamental problem with its three different styles (actually six) of linking libraries is exactly that: a Microsoft problem.

 
  372How Do I Use the FLTK DLL? Jan 29, 20050  
 

When compiling an application or DLL that uses the FLTK DLL, you will need to define the FL_DLL preprocessor symbol to get the correct linkage commands embedded within the FLTK header files.

 
  373Why Doesn't My FLTK Application Link? Jan 29, 20050  
 

The most common link error involves a missing select() function, which is located in the WSOCK32.LIB or WS2_32.LIB libraries.  You'll also need to link against the FLTK library (obviously), which is the F...

 
  374How Can I Use Anti-Aliased Fonts? Jan 29, 20050  
 

Configure FLTK with the --enable-xft option, e.g.:

 
  375Directing All Input to a Window Jan 29, 20050  
 

FLTK supports modal windows, which force all input to the currently visible modal window.  You can make a window modal by using the Fl_Window::set_modal() method.

 
  376Waiting for a Window to Close Jan 29, 20050  
 

The easiest way to wait for a window to close is to use the Fl_Window::shown() and Fl::wait() methods in a while loop:

 
  377Adding Global Keyboard Shortcuts Jan 29, 20050  
 

You can make the menubar shortcuts apply to all windows by using the Fl_Menu_Bar::global() method.

 
  379How Can I Use a Class Method as a Callback? Jan 29, 20052  
 

To get the this pointer for the class you can pass the pointer as the user_data argument for your callback. Typically this is then used to call a non-static method:

class MyClass {
  static...
 
  380How Can I Change the Window Icon? Jan 29, 20050  
 

See Appendix F - Operating System Specific Issues in the FLTK Programming Manual. Specifically, read the sections on the Fl_Window::icon() method.

 
     
Previous 20 ]
 
 

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