Ejemplo n.º 1
0
        public bool ForeachCell(bool includeempty, ForeachCellHandler handler)
        {
            for (int r = 0; r < d_rows; ++r)
            {
                for (int c = 0; c < d_columns; ++c)
                {
                    Gtk.Widget child = d_children[r, c];

                    if (includeempty || child != null)
                    {
                        if (!handler(r, c, child))
                        {
                            return(false);
                        }
                    }
                }
            }

            return(true);
        }
Ejemplo n.º 2
0
 public bool ForeachCell(ForeachCellHandler handler)
 {
     return(ForeachCell(true, handler));
 }