[Gtk-sharp-list] gtkglext-sharp
Bruno Fernandez-Ruiz
brunofr@olympum.com
Sun, 31 Aug 2003 23:55:47 +0300
Hi,
I have just started creating C# bindings for gtkglext. gtkglext adds
methods to GtkWidget, GdkWindow and GdkPixmap. For example,
gtkglwidget.h contains:
GdkGLConfig *gtk_widget_get_gl_config (GtkWidget *widget);
For the time being, I am just defining a static method:
namespace GtkGL
{
public class Widget
{
public static GdkGL.Config GetGLConfig(Gtk.Widget widget) { ... }
}
}
Any suggestions on how to get this done more cleanly, possibly using
gapi? I would like to see:
namespace Gtk
{
public class Widget
{
public GdkGL.Config GetGLConfig() { ... }
}
}
Thanks,
Bruno
--
Bruno Fernandez-Ruiz <brunofr@olympum.com>