mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-27 02:05:28 +00:00
59faab866e
* gtk/Makefile.am : add new file. * gtk/glue/makefile.win32 : add missing file. * gtk/NodeCellDataFunc.cs : new callback delegate type and marshaler for NodeStore tree views using GtkTreeCellDataFuncs. * gtk/NodeStore.cs : add internal GetNode overload by TreeIter. * gtk/NodeView.cs : add AppendColumn overload that uses data funcs. * gtk/TreeViewColumn.custom : manual implementation for SetCellDataFunc to support both TreeIter and ITreeNode models. We need to hold a ref to a delegate for each cell renderer on a column. [Fixes #63062] * sample/NodeViewDemo.cs : use a NodeCellDataFunc for one of the cell renderers in the tree. svn path=/trunk/gtk-sharp/; revision=37904
39 lines
1.1 KiB
Plaintext
Executable file
39 lines
1.1 KiB
Plaintext
Executable file
GTK_CFLAGS=`pkg-config --cflags gtk+-win32-2.0 libglade-2.0`
|
|
GTK_LIBS=`pkg-config --libs gtk+-win32-2.0 libglade-2.0`
|
|
CC=gcc -mno-cygwin -mms-bitfields
|
|
DLLWRAP=dllwrap -mno-cygwin -mms-bitfields --target i386-mingw32 --export-all-symbols
|
|
|
|
GLUE_OBJS = \
|
|
adjustment.o \
|
|
button.o \
|
|
cellrenderer.o \
|
|
clipboard.o \
|
|
colorseldialog.o \
|
|
combo.o \
|
|
container.o \
|
|
dialog.o \
|
|
fileselection.o \
|
|
inputdialog.o \
|
|
layout.o \
|
|
nodestore.o \
|
|
object.o \
|
|
paned.o \
|
|
selectiondata.o \
|
|
style.o \
|
|
widget.o \
|
|
win32dll.o
|
|
|
|
all: gtksharpglue-2.dll
|
|
|
|
|
|
%.o: %.c
|
|
$(CC) -c $(CFLAGS) $(GTK_CFLAGS) -o $@ $^
|
|
|
|
|
|
gtksharpglue-2.dll: $(GLUE_OBJS)
|
|
$(DLLWRAP) --output-lib=libgtksharpglue-2.a --dllname=gtksharpglue-2.dll --driver-name=gcc --output-def=gtksharpglue-2.def $(GLUE_OBJS) $(GTK_LIBS)
|
|
|
|
|
|
clean:
|
|
rm -f gtksharpglue-2.dll *.o libgtksharpglue-2.a
|