* gtk/Layout.custom: New file, adding the Layout::BinWindow
property. * glue/layout.c: New file, adding glue for getting the bin_window of a GtkLayout. svn path=/trunk/gtk-sharp/; revision=16048
This commit is contained in:
parent
59bcb39f2f
commit
6f04d85cee
4 changed files with 64 additions and 9 deletions
|
@ -1,3 +1,11 @@
|
|||
2003-07-08 Ettore Perazzoli <ettore@ximian.com>
|
||||
|
||||
* gtk/Layout.custom: New file, adding the Layout::BinWindow
|
||||
property.
|
||||
|
||||
* glue/layout.c: New file, adding glue for getting the bin_window
|
||||
of a GtkLayout.
|
||||
|
||||
2003-07-06 Mike Kestner <mkestner@speakeasy.net>
|
||||
|
||||
* api/gtk-api.xml : regenerated
|
||||
|
|
|
@ -1,23 +1,24 @@
|
|||
lib_LTLIBRARIES = libgtksharpglue.la
|
||||
|
||||
BASESOURCES = \
|
||||
BASESOURCES = \
|
||||
adjustment.c \
|
||||
value.c \
|
||||
fileselection.c \
|
||||
clipboard.c \
|
||||
colorseldialog.c \
|
||||
combo.c \
|
||||
dialog.c \
|
||||
colorseldialog.c \
|
||||
error.c \
|
||||
event.c \
|
||||
slist.c \
|
||||
fileselection.c \
|
||||
layout.c \
|
||||
list.c \
|
||||
object.c \
|
||||
paned.c \
|
||||
slist.c \
|
||||
style.c \
|
||||
type.c \
|
||||
widget.c \
|
||||
list.c \
|
||||
clipboard.c \
|
||||
#
|
||||
value.c \
|
||||
widget.c
|
||||
|
||||
|
||||
GNOMESOURCES = \
|
||||
canvasitem.c \
|
||||
|
|
19
glue/layout.c
Normal file
19
glue/layout.c
Normal file
|
@ -0,0 +1,19 @@
|
|||
/* layout.c: Glue to access fields in GtkLayout.
|
||||
*
|
||||
* Author: Ettore Perazzoli <ettore@perazzoli.org>
|
||||
*
|
||||
* Copyright (C) 2003 Ettore Perazzoli
|
||||
*/
|
||||
|
||||
#include <gtk/gtklayout.h>
|
||||
|
||||
|
||||
GdkWindow *gtksharp_gtk_layout_get_bin_window (GtkLayout *layout);
|
||||
|
||||
GdkWindow *
|
||||
gtksharp_gtk_layout_get_bin_window (GtkLayout *layout)
|
||||
{
|
||||
return layout->bin_window;
|
||||
}
|
||||
|
||||
|
27
gtk/Layout.custom
Normal file
27
gtk/Layout.custom
Normal file
|
@ -0,0 +1,27 @@
|
|||
//
|
||||
// Gtk.Widget.custom - Gtk Widget class customizations
|
||||
//
|
||||
// Author: Ettore Perazzoli <ettore@perazzoli.org>
|
||||
// Rachel Hestilow <hestilow@ximian.com>
|
||||
//
|
||||
// Copyright (C) 2003 Ettore Perazzoli, Rachel Hestilow
|
||||
//
|
||||
// This code is inserted after the automatically generated code.
|
||||
//
|
||||
|
||||
[DllImport("gtksharpglue")]
|
||||
static extern IntPtr gtksharp_gtk_layout_get_bin_window (IntPtr layout);
|
||||
|
||||
public Gdk.Window BinWindow {
|
||||
get {
|
||||
IntPtr raw = gtksharp_gtk_layout_get_bin_window (Handle);
|
||||
|
||||
if (raw != (IntPtr) 0) {
|
||||
Gdk.Window ret = (Gdk.Window) GLib.Object.GetObject (raw);
|
||||
ret.Ref ();
|
||||
return ret;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue