Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXPicker Class Reference

A Picker button allows you to identify an arbitrary location on the screen. More...

#include <FXPicker.h>

Inheritance diagram for FX::FXPicker:

FX::FXButton FX::FXLabel FX::FXFrame FX::FXWindow FX::FXDrawable FX::FXId FX::FXObject

List of all members.

Public Member Functions

 FXPicker (FXComposite *p, const FXString &text, FXIcon *ic=NULL, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=BUTTON_NORMAL, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=DEFAULT_PAD, FXint pr=DEFAULT_PAD, FXint pt=DEFAULT_PAD, FXint pb=DEFAULT_PAD)


Detailed Description

A Picker button allows you to identify an arbitrary location on the screen.

It generates SEL_CHANGED callbacks while the user is moving the mouse, and a final SEL_COMMAND when a location has been identified. The void* parameter in the callback is a pointer to FXPoint, the location, in root-coordinates, of the place where the click took place.


Constructor & Destructor Documentation

FX::FXPicker::FXPicker ( FXComposite p,
const FXString text,
FXIcon ic = NULL,
FXObject tgt = NULL,
FXSelector  sel = 0,
FXuint  opts = BUTTON_NORMAL,
FXint  x = 0,
FXint  y = 0,
FXint  w = 0,
FXint  h = 0,
FXint  pl = DEFAULT_PAD,
FXint  pr = DEFAULT_PAD,
FXint  pt = DEFAULT_PAD,
FXint  pb = DEFAULT_PAD 
)

Construct picker button with text and icon.

Copyright © 1997-2009 Jeroen van der Zijp