Re: Application of preconditions for status transitions from data input in views



On Mon, 2011-10-10 at 11:57 +0200, Markus Elfring wrote:
> Now I have got an use case where I appreciate some effects from this
> automatic
> setting. But I would like to apply input validation before model
> attributes will
> be actually changed.
> 
> I imagine that I need something from the model software infrastructure
> to
> intercept a write request to an attribute so that it will become
> possible for an
> enquiry in the (graphical) user interface if the desired change will
> need
> additional information. How do you get the corresponding view to
> display a
> required confirmation dialogue? 

This example shows how you might do validation before accepting the
value:
http://developer.gnome.org/gtkmm-tutorial/unstable/sec-treeview-examples.html.en#sec-editable-cells-example

-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]