FLTK logo

Re: [fltk.general] button value

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 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: button value Jonathan Murphy Jul 12, 2007  
 
"MacArthur, Ian (SELEX) (UK)" <ian.macarthur-xmadGBvRevyakBO8gow8eQ@public.gmane.org> writes:

> Where did you get the incorrect interpretation? If there are weaknesses
> in the docs, please post an STR outlining the clarification that is
> required.

I just misinterpreted it, but I think that the documentation is
ambiguous. I'll post an STR suggesting that this:

    * 0: The value is unchanged.
    * FL_TOGGLE_BUTTON: The value is inverted.

be changed to something like:

   * 0: The value is immutable except where explicitly set by value(int).
   * FL_TOGGLE_BUTTON: The value toggles between 0 and 1 when the user
     clicks the button.

Jonathan.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

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'.