mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-16 11:34:47 +02:00
* 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
@ -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>
|
2003-07-06 Mike Kestner <mkestner@speakeasy.net>
|
||||||
|
|
||||||
* api/gtk-api.xml : regenerated
|
* api/gtk-api.xml : regenerated
|
||||||
|
@ -1,23 +1,24 @@
|
|||||||
lib_LTLIBRARIES = libgtksharpglue.la
|
lib_LTLIBRARIES = libgtksharpglue.la
|
||||||
|
|
||||||
BASESOURCES = \
|
BASESOURCES = \
|
||||||
adjustment.c \
|
adjustment.c \
|
||||||
value.c \
|
clipboard.c \
|
||||||
fileselection.c \
|
colorseldialog.c \
|
||||||
combo.c \
|
combo.c \
|
||||||
dialog.c \
|
dialog.c \
|
||||||
colorseldialog.c \
|
|
||||||
error.c \
|
error.c \
|
||||||
event.c \
|
event.c \
|
||||||
slist.c \
|
fileselection.c \
|
||||||
|
layout.c \
|
||||||
|
list.c \
|
||||||
object.c \
|
object.c \
|
||||||
paned.c \
|
paned.c \
|
||||||
|
slist.c \
|
||||||
style.c \
|
style.c \
|
||||||
type.c \
|
type.c \
|
||||||
widget.c \
|
value.c \
|
||||||
list.c \
|
widget.c
|
||||||
clipboard.c \
|
|
||||||
#
|
|
||||||
|
|
||||||
GNOMESOURCES = \
|
GNOMESOURCES = \
|
||||||
canvasitem.c \
|
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 New Issue
Block a user