[Glade-devel] Invalid property values



Hi all,
    During my struggle with GtkTable, I found a bug (which I havent entered into
bugzilla), and it take a slight design enhancement to fix, here is the bug:

- Create a table of size 3x3 (for example)
- Add a widget to the last position (bottom right)
- Decrease the dimentions of the table

Now we have an orphaned GladeWidget.

I'd like to implement a "verify_property" function to complement 
"set_funciton" and "get_function" in order to refuse to decrese these
dimentions.

Another option would be to make set_property return boolean except it
wouldn't offer flexability to dissallow values that have no custom set_property
method...

What do people think ?

Cheers,
                                                     -Tristan




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