1//
2// CellRendererAccel.custom - Gtk CellRendererAccel class customizations
3//
4// Author: Peter Johanson <peter@peterjohanson.com>
5//
6// Copyright (C) 2007 Peter Johanson
7//
8// This code is inserted after the automatically generated code.
9//
10//
11// This program is free software; you can redistribute it and/or
12// modify it under the terms of version 2 of the Lesser GNU General
13// Public License as published by the Free Software Foundation.
14//
15// This program is distributed in the hope that it will be useful,
16// but WITHOUT ANY WARRANTY; without even the implied warranty of
17// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18// Lesser General Public License for more details.
19//
20// You should have received a copy of the GNU Lesser General Public
21// License along with this program; if not, write to the
22// Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23// Boston, MA 02111-1307, USA.
24
25		public override void GetSize (Gtk.Widget widget, ref Gdk.Rectangle cell_area, out int x_offset, out int y_offset, out int width, out int height)
26		{
27			CellRenderer.InternalGetSize (Gtk.CellRendererAccel.GType, this, widget, ref cell_area, out x_offset, out y_offset, out width, out height);
28		}
29
30		protected override void Render (Gdk.Drawable window, Gtk.Widget widget, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gdk.Rectangle expose_area, Gtk.CellRendererState flags)
31		{
32			CellRenderer.InternalRender (Gtk.CellRendererAccel.GType, this, window, widget, background_area, cell_area, expose_area, flags);
33		}
34
35		public override Gtk.CellEditable StartEditing(Gdk.Event evnt, Gtk.Widget widget, string path, Gdk.Rectangle background_area, Gdk.Rectangle cell_area, Gtk.CellRendererState flags)
36		{
37			return Gtk.CellRenderer.InternalStartEditing (Gtk.CellRendererAccel.GType, this, evnt, widget, path, ref background_area, ref cell_area, flags);
38		}
39