On Thu, 2012-02-16 at 22:52 +0100, Alaney Dória wrote: > From what I've being studding glom code, we could provide an interface > for table events like: > > OnNewRecord / OnFieldUpdate / OnFillDatabase .
There are probably already appropriate places to respond to these user events, though I'd have to check and make that clearer. > Those events can be introduced in Box_Data_Details and Box_Data_List > methods. Thought I still need to understand how is supported the running > custom python script, so some hint would be very appreciated. For each > table we would have the flowing on xml: > > <events> > <event name="event_name" onevent="event">python script</event> > </events> > > I would like to navigate more through this, so I would like to know the > best way to tackle this in terms of programming. My first Idea is to > make callbacks available on methods such > Box_Data_Details::on_flowtable_field_edited, > Box_Data_Details::fill_from_database. this is also a first step for > supporting notifications in future. I think we should first clarify what this should achieve, as we are doing in this bug report: https://bugzilla.gnome.org/show_bug.cgi?id=669468 Sorry for not answering this before. I do not check this mailing list often enough. I will try to be better. -- Murray Cumming murr...@murrayc.com www.murrayc.com www.openismus.com _______________________________________________ glom-devel-list mailing list glom-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/glom-devel-list