no more submodule
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
@@ -0,0 +1,66 @@
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<!-- GtkSharp target from the original nuget package -->
|
||||
<Import Project="..\targets\GtkSharp.targets" />
|
||||
|
||||
<!-- Register net8.0-gtk3.24 TFM -->
|
||||
<ItemGroup>
|
||||
<SupportedPlatform Include="gtk" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<_DefaultTargetPlatformVersion>3.24</_DefaultTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetPlatformSupported>true</TargetPlatformSupported>
|
||||
<TargetPlatformVersion Condition=" '$(TargetPlatformVersion)' == '' ">$(_DefaultTargetPlatformVersion)</TargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<SdkSupportedTargetPlatformVersion Include="3.24" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Register GtkSharp runtime -->
|
||||
<ItemGroup>
|
||||
<KnownFrameworkReference
|
||||
Include="GtkSharp"
|
||||
TargetFramework="net8.0"
|
||||
RuntimeFrameworkName="GtkSharp"
|
||||
DefaultRuntimeFrameworkVersion="**FromWorkload**"
|
||||
LatestRuntimeFrameworkVersion="**FromWorkload**"
|
||||
TargetingPackName="GtkSharp.Ref"
|
||||
TargetingPackVersion="**FromWorkload**"
|
||||
RuntimePackNamePatterns="GtkSharp.Runtime"
|
||||
RuntimePackRuntimeIdentifiers="win-x64;win-x86;linux-x64;linux-x86;osx-x64"
|
||||
Profile="GTK"
|
||||
/>
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Reference GtkSharp runtime -->
|
||||
<ItemGroup Condition=" '$(DisableImplicitFrameworkReferences)' != 'true' ">
|
||||
<FrameworkReference
|
||||
Include="GtkSharp"
|
||||
IsImplicitlyDefined="true"
|
||||
Pack="false"
|
||||
PrivateAssets="All"
|
||||
/>
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Project properties -->
|
||||
<PropertyGroup>
|
||||
<_IsGtkDefined>$([System.Text.RegularExpressions.Regex]::IsMatch('$(DefineConstants.Trim())', '(^|;)GTK($|;)'))</_IsGtkDefined>
|
||||
<DefineConstants Condition="!$(_IsGtkDefined)">GTK;$(DefineConstants)</DefineConstants>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<!-- Must be self-contained. Framework-dependent builds cannot see our custom runtime -->
|
||||
<SelfContained>true</SelfContained>
|
||||
<RuntimeIdentifier Condition=" '$(RuntimeIdentifier)' == '' and $([MSBuild]::IsOsPlatform('Windows')) and '$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture)' == 'X64' ">win-x64</RuntimeIdentifier>
|
||||
<RuntimeIdentifier Condition=" '$(RuntimeIdentifier)' == '' and $([MSBuild]::IsOsPlatform('Windows')) and '$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture)' == 'X86' ">win-x86</RuntimeIdentifier>
|
||||
<RuntimeIdentifier Condition=" '$(RuntimeIdentifier)' == '' and $([MSBuild]::IsOsPlatform('Linux')) and '$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture)' == 'X64' ">linux-x64</RuntimeIdentifier>
|
||||
<RuntimeIdentifier Condition=" '$(RuntimeIdentifier)' == '' and $([MSBuild]::IsOsPlatform('Linux')) and '$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture)' == 'X86' ">linux-x86</RuntimeIdentifier>
|
||||
<RuntimeIdentifier Condition=" '$(RuntimeIdentifier)' == '' and $([MSBuild]::IsOsPlatform('OSX')) and '$([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture)' == 'X64' ">osx-x64</RuntimeIdentifier>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"version": "3.24.24-rev.1",
|
||||
"workloads": {
|
||||
"gtk": {
|
||||
"description": ".NET SDK workload for building GtkSharp applications.",
|
||||
"packs": [
|
||||
"GtkSharp.Sdk",
|
||||
"GtkSharp.Ref",
|
||||
"GtkSharp.Runtime"
|
||||
]
|
||||
}
|
||||
},
|
||||
"packs": {
|
||||
"GtkSharp.Sdk": {
|
||||
"kind": "sdk",
|
||||
"version": "3.24.24.1"
|
||||
},
|
||||
"GtkSharp.Ref": {
|
||||
"kind": "framework",
|
||||
"version": "3.24.24.1"
|
||||
},
|
||||
"GtkSharp.Runtime": {
|
||||
"kind": "framework",
|
||||
"version": "3.24.24.1"
|
||||
},
|
||||
"GtkSharp.Workload.Template.CSharp": {
|
||||
"kind": "template",
|
||||
"version": "3.24.24.1"
|
||||
},
|
||||
"GtkSharp.Workload.Template.FSharp": {
|
||||
"kind": "template",
|
||||
"version": "3.24.24.1"
|
||||
},
|
||||
"GtkSharp.Workload.Template.VBNet": {
|
||||
"kind": "template",
|
||||
"version": "3.24.24.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
<Project>
|
||||
<Import Project="Sdk.targets" Sdk="GtkSharp.Sdk" Condition="'$(TargetPlatformIdentifier)' == 'gtk'" />
|
||||
|
||||
<ItemGroup Condition=" '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), '6.0')) ">
|
||||
<SdkSupportedTargetPlatformIdentifier Include="gtk" DisplayName="GTK" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"$schema": "http://json.schemastore.org/template",
|
||||
"author": "GtkSharp Contributors",
|
||||
"classifications": [
|
||||
"Gtk",
|
||||
"GUI App"
|
||||
],
|
||||
"name": "Gtk Application",
|
||||
"identity": "GtkSharp.Application.CSharp",
|
||||
"groupIdentity": "GtkSharp.Application",
|
||||
"shortName": "gtk",
|
||||
"tags": {
|
||||
"language": "C#",
|
||||
"type": "project"
|
||||
},
|
||||
"sourceName": "GtkNamespace",
|
||||
"preferNameDirectory": true,
|
||||
"symbols": {
|
||||
"targetframework": {
|
||||
"type": "parameter",
|
||||
"description": "The target framework for the project.",
|
||||
"defaultValue": "net8.0-gtk",
|
||||
"replaces": "$(FrameworkParameter)"
|
||||
}
|
||||
},
|
||||
"primaryOutputs": [
|
||||
{ "path": "GtkNamespace.csproj" }
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>$(FrameworkParameter)</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Remove="**\*.glade" />
|
||||
<EmbeddedResource Include="**\*.glade">
|
||||
<LogicalName>%(Filename)%(Extension)</LogicalName>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using Gtk;
|
||||
using UI = Gtk.Builder.ObjectAttribute;
|
||||
|
||||
namespace GtkNamespace
|
||||
{
|
||||
class MainWindow : Window
|
||||
{
|
||||
[UI] private Label _label1 = null;
|
||||
[UI] private Button _button1 = null;
|
||||
|
||||
private int _counter;
|
||||
|
||||
public MainWindow() : this(new Builder("MainWindow.glade")) { }
|
||||
|
||||
private MainWindow(Builder builder) : base(builder.GetRawOwnedObject("MainWindow"))
|
||||
{
|
||||
builder.Autoconnect(this);
|
||||
|
||||
DeleteEvent += Window_DeleteEvent;
|
||||
_button1.Clicked += Button1_Clicked;
|
||||
}
|
||||
|
||||
private void Window_DeleteEvent(object sender, DeleteEventArgs a)
|
||||
{
|
||||
Application.Quit();
|
||||
}
|
||||
|
||||
private void Button1_Clicked(object sender, EventArgs a)
|
||||
{
|
||||
_counter++;
|
||||
_label1.Text = "Hello World! This button has been clicked " + _counter + " time(s).";
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<requires lib="gtk+" version="3.18"/>
|
||||
<object class="GtkWindow" id="MainWindow">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="title" translatable="yes">Example Window</property>
|
||||
<property name="default_width">480</property>
|
||||
<property name="default_height">240</property>
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="margin_left">4</property>
|
||||
<property name="margin_right">4</property>
|
||||
<property name="margin_top">4</property>
|
||||
<property name="margin_bottom">4</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="GtkLabel" id="_label1">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="label" translatable="yes">Hello World!</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">0</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="_button1">
|
||||
<property name="label" translatable="yes">Click me!</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="receives_default">True</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">1</property>
|
||||
</packing>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
||||
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using Gtk;
|
||||
|
||||
namespace GtkNamespace
|
||||
{
|
||||
class Program
|
||||
{
|
||||
[STAThread]
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
Application.Init();
|
||||
|
||||
var app = new Application("org.GtkNamespace.GtkNamespace", GLib.ApplicationFlags.None);
|
||||
app.Register(GLib.Cancellable.Current);
|
||||
|
||||
var win = new MainWindow();
|
||||
app.AddWindow(win);
|
||||
|
||||
win.Show();
|
||||
Application.Run();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"$schema": "http://json.schemastore.org/template",
|
||||
"author": "GtkSharp Contributors",
|
||||
"classifications": [
|
||||
"Gtk",
|
||||
"GUI App"
|
||||
],
|
||||
"name": "Gtk Application",
|
||||
"identity": "GtkSharp.Application.FSharp",
|
||||
"groupIdentity": "GtkSharp.Application",
|
||||
"shortName": "gtk",
|
||||
"tags": {
|
||||
"language": "F#",
|
||||
"type": "project"
|
||||
},
|
||||
"sourceName": "GtkNamespace",
|
||||
"preferNameDirectory": true,
|
||||
"symbols": {
|
||||
"targetframework": {
|
||||
"type": "parameter",
|
||||
"description": "The target framework for the project.",
|
||||
"defaultValue": "net8.0-gtk",
|
||||
"replaces": "$(FrameworkParameter)"
|
||||
}
|
||||
},
|
||||
"primaryOutputs": [
|
||||
{ "path": "GtkNamespace.fsproj" }
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>$(FrameworkParameter)</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Include="MainWindow.fs" />
|
||||
<Compile Include="Program.fs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Remove="**\*.glade" />
|
||||
<EmbeddedResource Include="**\*.glade">
|
||||
<LogicalName>%(Filename)%(Extension)</LogicalName>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="GtkSharp" Version="3.24.24.*" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,24 @@
|
||||
namespace GtkNamespace
|
||||
|
||||
open Gtk
|
||||
|
||||
type MainWindow (builder : Builder) as this =
|
||||
inherit Window(builder.GetRawOwnedObject("MainWindow"))
|
||||
|
||||
let mutable _label1 : Label = null
|
||||
let mutable _button1 : Button = null
|
||||
let mutable _counter = 0;
|
||||
|
||||
do
|
||||
_label1 <- builder.GetObject("_label1") :?> Label
|
||||
_button1 <- builder.GetObject("_button1") :?> Button
|
||||
|
||||
this.DeleteEvent.Add(fun _ ->
|
||||
Application.Quit()
|
||||
)
|
||||
_button1.Clicked.Add(fun _ ->
|
||||
_counter <- _counter + 1
|
||||
_label1.Text <- "Hello World! This button has been clicked " + _counter.ToString() + " time(s)."
|
||||
)
|
||||
|
||||
new() = new MainWindow(new Builder("MainWindow.glade"))
|
||||
@@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<requires lib="gtk+" version="3.18"/>
|
||||
<object class="GtkWindow" id="MainWindow">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="title" translatable="yes">Example Window</property>
|
||||
<property name="default_width">480</property>
|
||||
<property name="default_height">240</property>
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="margin_left">4</property>
|
||||
<property name="margin_right">4</property>
|
||||
<property name="margin_top">4</property>
|
||||
<property name="margin_bottom">4</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="GtkLabel" id="_label1">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="label" translatable="yes">Hello World!</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">0</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="_button1">
|
||||
<property name="label" translatable="yes">Click me!</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="receives_default">True</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">1</property>
|
||||
</packing>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
||||
@@ -0,0 +1,18 @@
|
||||
namespace GtkNamespace
|
||||
module Program =
|
||||
|
||||
open Gtk
|
||||
|
||||
[<EntryPoint>]
|
||||
let main argv =
|
||||
Application.Init()
|
||||
|
||||
let app = new Application("org.GtkNamespace.GtkNamespace", GLib.ApplicationFlags.None)
|
||||
app.Register(GLib.Cancellable.Current) |> ignore;
|
||||
|
||||
let win = new MainWindow()
|
||||
app.AddWindow(win)
|
||||
|
||||
win.Show()
|
||||
Application.Run()
|
||||
0
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"$schema": "http://json.schemastore.org/template",
|
||||
"author": "GtkSharp Contributors",
|
||||
"classifications": [
|
||||
"Gtk",
|
||||
"GUI App"
|
||||
],
|
||||
"name": "Gtk Application",
|
||||
"identity": "GtkSharp.Application.VBNet",
|
||||
"groupIdentity": "GtkSharp.Application",
|
||||
"shortName": "gtk",
|
||||
"tags": {
|
||||
"language": "VB",
|
||||
"type": "project"
|
||||
},
|
||||
"sourceName": "GtkNamespace",
|
||||
"preferNameDirectory": true,
|
||||
"symbols": {
|
||||
"targetframework": {
|
||||
"type": "parameter",
|
||||
"description": "The target framework for the project.",
|
||||
"defaultValue": "net8.0-gtk",
|
||||
"replaces": "$(FrameworkParameter)"
|
||||
}
|
||||
},
|
||||
"primaryOutputs": [
|
||||
{ "path": "GtkNamespace.vbproj" }
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>$(FrameworkParameter)</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Remove="**\*.glade" />
|
||||
<EmbeddedResource Include="**\*.glade">
|
||||
<LogicalName>%(Filename)%(Extension)</LogicalName>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="GtkSharp" Version="3.24.24.*" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<requires lib="gtk+" version="3.18"/>
|
||||
<object class="GtkWindow" id="MainWindow">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="title" translatable="yes">Example Window</property>
|
||||
<property name="default_width">480</property>
|
||||
<property name="default_height">240</property>
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="margin_left">4</property>
|
||||
<property name="margin_right">4</property>
|
||||
<property name="margin_top">4</property>
|
||||
<property name="margin_bottom">4</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="GtkLabel" id="_label1">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="label" translatable="yes">Hello World!</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">0</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="_button1">
|
||||
<property name="label" translatable="yes">Click me!</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="receives_default">True</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">1</property>
|
||||
</packing>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
||||
@@ -0,0 +1,37 @@
|
||||
Imports System
|
||||
Imports Gtk
|
||||
Imports UI = Gtk.Builder.ObjectAttribute
|
||||
|
||||
Namespace GtkNamespace
|
||||
Public Class MainWindow
|
||||
Inherits Window
|
||||
|
||||
Private _counter = 0
|
||||
<UI>Private _label1 As Label
|
||||
<UI>Private _button1 As Button
|
||||
|
||||
Public Sub New (builder as Builder)
|
||||
MyBase.New(builder.GetRawOwnedObject("MainWindow"))
|
||||
|
||||
builder.Autoconnect (Me)
|
||||
|
||||
AddHandler MyBase.DeleteEvent, AddressOf Window_Delete
|
||||
AddHandler _button1.Clicked, AddressOf Button1_Clicked
|
||||
End Sub
|
||||
|
||||
Public Sub New ()
|
||||
Me.New(new Builder("MainWindow.glade"))
|
||||
End Sub
|
||||
|
||||
Private Sub Window_Delete (ByVal sender As Object, ByVal a As DeleteEventArgs)
|
||||
Application.Quit ()
|
||||
a.RetVal = true
|
||||
End Sub
|
||||
|
||||
Private Sub Button1_Clicked (ByVal sender As Object, ByVal a As EventArgs)
|
||||
_counter += 1
|
||||
_label1.Text = "Hello World! This button has been clicked " + _counter.ToString() + " time(s)."
|
||||
End Sub
|
||||
|
||||
End Class
|
||||
End Namespace
|
||||
@@ -0,0 +1,21 @@
|
||||
Imports System
|
||||
Imports Gtk
|
||||
|
||||
Namespace GtkNamespace
|
||||
Public Class MainClass
|
||||
|
||||
Public Shared Sub Main ()
|
||||
Application.Init ()
|
||||
|
||||
Dim app as new Application ("org.GtkNamespace.GtkNamespace", GLib.ApplicationFlags.None)
|
||||
app.Register (GLib.Cancellable.Current)
|
||||
|
||||
Dim win as new MainWindow ()
|
||||
app.AddWindow (win)
|
||||
|
||||
win.Show ()
|
||||
Application.Run ()
|
||||
End Sub
|
||||
|
||||
End Class
|
||||
End Namespace
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"$schema": "http://json.schemastore.org/template",
|
||||
"author": "GtkSharp Contributors",
|
||||
"classifications": [
|
||||
"Gtk",
|
||||
"UI"
|
||||
],
|
||||
"name": "Gtk Dialog",
|
||||
"identity": "GtkSharp.Dialog.CSharp",
|
||||
"groupIdentity": "GtkSharp.Dialog",
|
||||
"shortName": "gtkdialog",
|
||||
"tags": {
|
||||
"language": "C#",
|
||||
"type": "item"
|
||||
},
|
||||
"sourceName": "Gtk_Dialog",
|
||||
"primaryOutputs": [
|
||||
{
|
||||
"path": "Gtk_Dialog.cs"
|
||||
},
|
||||
{
|
||||
"path": "Gtk_Dialog.glade"
|
||||
}
|
||||
],
|
||||
"defaultName": "Gtk_Dialog",
|
||||
"symbols": {
|
||||
"namespace": {
|
||||
"description": "Namespace for the generated files",
|
||||
"replaces": "GtkNamespace",
|
||||
"type": "parameter"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using Gtk;
|
||||
using UI = Gtk.Builder.ObjectAttribute;
|
||||
|
||||
namespace GtkNamespace
|
||||
{
|
||||
class Gtk_Dialog : Dialog
|
||||
{
|
||||
public Gtk_Dialog() : this(new Builder("Gtk_Dialog.glade")) { }
|
||||
|
||||
private Gtk_Dialog(Builder builder) : base(builder.GetRawOwnedObject("Gtk_Dialog"))
|
||||
{
|
||||
builder.Autoconnect(this);
|
||||
DefaultResponse = ResponseType.Cancel;
|
||||
|
||||
Response += Dialog_Response;
|
||||
}
|
||||
|
||||
private void Dialog_Response(object o, ResponseArgs args)
|
||||
{
|
||||
Hide();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<requires lib="gtk+" version="3.18"/>
|
||||
<object class="GtkDialog" id="Gtk_Dialog">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="default_width">320</property>
|
||||
<property name="default_height">260</property>
|
||||
<property name="type_hint">dialog</property>
|
||||
<child internal-child="vbox">
|
||||
<object class="GtkBox">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">2</property>
|
||||
<child internal-child="action_area">
|
||||
<object class="GtkButtonBox">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="layout_style">end</property>
|
||||
<child>
|
||||
<placeholder/>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="button1">
|
||||
<property name="label">gtk-close</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="use_stock">True</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">1</property>
|
||||
</packing>
|
||||
</child>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
<property name="position">0</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<placeholder/>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<action-widgets>
|
||||
<action-widget response="-7">button1</action-widget>
|
||||
</action-widgets>
|
||||
</object>
|
||||
</interface>
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"$schema": "http://json.schemastore.org/template",
|
||||
"author": "GtkSharp Contributors",
|
||||
"classifications": [
|
||||
"Gtk",
|
||||
"UI"
|
||||
],
|
||||
"name": "Gtk Dialog",
|
||||
"identity": "GtkSharp.Dialog.FSharp",
|
||||
"groupIdentity": "GtkSharp.Dialog",
|
||||
"shortName": "gtkdialog",
|
||||
"tags": {
|
||||
"language": "F#",
|
||||
"type": "item"
|
||||
},
|
||||
"sourceName": "Gtk_Dialog",
|
||||
"primaryOutputs": [
|
||||
{
|
||||
"path": "Gtk_Dialog.fs"
|
||||
},
|
||||
{
|
||||
"path": "Gtk_Dialog.glade"
|
||||
}
|
||||
],
|
||||
"defaultName": "Gtk_Dialog",
|
||||
"symbols": {
|
||||
"namespace": {
|
||||
"description": "Namespace for the generated files",
|
||||
"replaces": "GtkNamespace",
|
||||
"type": "parameter"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
namespace GtkNamespace
|
||||
|
||||
open Gtk
|
||||
|
||||
type Gtk_Dialog (builder : Builder) as this =
|
||||
inherit Dialog(builder.GetRawOwnedObject("Gtk_Dialog"))
|
||||
do
|
||||
this.DefaultResponse <- ResponseType.Cancel;
|
||||
this.Response.Add(fun _ ->
|
||||
this.Hide();
|
||||
)
|
||||
|
||||
new() = new Gtk_Dialog(new Builder("Gtk_Dialog.glade"))
|
||||
@@ -0,0 +1,51 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<requires lib="gtk+" version="3.18"/>
|
||||
<object class="GtkDialog" id="Gtk_Dialog">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="default_width">320</property>
|
||||
<property name="default_height">260</property>
|
||||
<property name="type_hint">dialog</property>
|
||||
<child internal-child="vbox">
|
||||
<object class="GtkBox">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">2</property>
|
||||
<child internal-child="action_area">
|
||||
<object class="GtkButtonBox">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="layout_style">end</property>
|
||||
<child>
|
||||
<placeholder/>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="button1">
|
||||
<property name="label">gtk-close</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="use_stock">True</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">1</property>
|
||||
</packing>
|
||||
</child>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
<property name="position">0</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<placeholder/>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<action-widgets>
|
||||
<action-widget response="-7">button1</action-widget>
|
||||
</action-widgets>
|
||||
</object>
|
||||
</interface>
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"$schema": "http://json.schemastore.org/template",
|
||||
"author": "GtkSharp Contributors",
|
||||
"classifications": [
|
||||
"Gtk",
|
||||
"UI"
|
||||
],
|
||||
"name": "Gtk Dialog",
|
||||
"identity": "GtkSharp.Dialog.VBNet",
|
||||
"groupIdentity": "GtkSharp.Dialog",
|
||||
"shortName": "gtkdialog",
|
||||
"tags": {
|
||||
"language": "VB",
|
||||
"type": "item"
|
||||
},
|
||||
"sourceName": "Gtk_Dialog",
|
||||
"primaryOutputs": [
|
||||
{
|
||||
"path": "Gtk_Dialog.vb"
|
||||
},
|
||||
{
|
||||
"path": "Gtk_Dialog.glade"
|
||||
}
|
||||
],
|
||||
"defaultName": "Gtk_Dialog",
|
||||
"symbols": {
|
||||
"namespace": {
|
||||
"description": "Namespace for the generated files",
|
||||
"replaces": "GtkNamespace",
|
||||
"type": "parameter"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<requires lib="gtk+" version="3.18"/>
|
||||
<object class="GtkDialog" id="Gtk_Dialog">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="default_width">320</property>
|
||||
<property name="default_height">260</property>
|
||||
<property name="type_hint">dialog</property>
|
||||
<child internal-child="vbox">
|
||||
<object class="GtkBox">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">2</property>
|
||||
<child internal-child="action_area">
|
||||
<object class="GtkButtonBox">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="layout_style">end</property>
|
||||
<child>
|
||||
<placeholder/>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="button1">
|
||||
<property name="label">gtk-close</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="use_stock">True</property>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">1</property>
|
||||
</packing>
|
||||
</child>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
<property name="position">0</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<placeholder/>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<action-widgets>
|
||||
<action-widget response="-7">button1</action-widget>
|
||||
</action-widgets>
|
||||
</object>
|
||||
</interface>
|
||||
@@ -0,0 +1,27 @@
|
||||
Imports System
|
||||
Imports Gtk
|
||||
Imports UI = Gtk.Builder.ObjectAttribute
|
||||
|
||||
Namespace GtkNamespace
|
||||
Public Class Gtk_Dialog
|
||||
Inherits Dialog
|
||||
|
||||
Public Sub New (builder as Builder)
|
||||
MyBase.New (builder.GetRawOwnedObject("Gtk_Dialog"))
|
||||
|
||||
builder.Autoconnect (Me)
|
||||
DefaultResponse = ResponseType.Cancel
|
||||
|
||||
AddHandler MyBase.Response, AddressOf Dialog_OnResponse
|
||||
End Sub
|
||||
|
||||
Public Sub New ()
|
||||
Me.New (new Builder ("Gtk_Dialog.glade"))
|
||||
End Sub
|
||||
|
||||
Private Sub Dialog_OnResponse (ByVal sender As Object, ByVal args As ResponseArgs)
|
||||
Hide ()
|
||||
End Sub
|
||||
|
||||
End Class
|
||||
End Namespace
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"$schema": "http://json.schemastore.org/template",
|
||||
"author": "GtkSharp Contributors",
|
||||
"classifications": [
|
||||
"Gtk",
|
||||
"UI"
|
||||
],
|
||||
"name": "Gtk Widget",
|
||||
"identity": "GtkSharp.Widget.CSharp",
|
||||
"groupIdentity": "GtkSharp.Widget",
|
||||
"shortName": "gtkwidget",
|
||||
"tags": {
|
||||
"language": "C#",
|
||||
"type": "item"
|
||||
},
|
||||
"sourceName": "Gtk_Widget",
|
||||
"primaryOutputs": [
|
||||
{
|
||||
"path": "Gtk_Widget.cs"
|
||||
},
|
||||
{
|
||||
"path": "Gtk_Widget.glade"
|
||||
}
|
||||
],
|
||||
"defaultName": "Gtk_Widget",
|
||||
"symbols": {
|
||||
"namespace": {
|
||||
"description": "Namespace for the generated files",
|
||||
"replaces": "GtkNamespace",
|
||||
"type": "parameter"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using Gtk;
|
||||
using UI = Gtk.Builder.ObjectAttribute;
|
||||
|
||||
namespace GtkNamespace
|
||||
{
|
||||
public class Gtk_Widget : Box
|
||||
{
|
||||
public Gtk_Widget() : this(new Builder("Gtk_Widget.glade")) { }
|
||||
|
||||
private Gtk_Widget(Builder builder) : base(builder.GetRawOwnedObject("Gtk_Widget"))
|
||||
{
|
||||
builder.Autoconnect(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<requires lib="gtk+" version="3.18"/>
|
||||
<object class="GtkBox" id="${EscapedIdentifier}">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<child>
|
||||
<placeholder/>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"$schema": "http://json.schemastore.org/template",
|
||||
"author": "GtkSharp Contributors",
|
||||
"classifications": [
|
||||
"Gtk",
|
||||
"UI"
|
||||
],
|
||||
"name": "Gtk Widget",
|
||||
"identity": "GtkSharp.Widget.FSharp",
|
||||
"groupIdentity": "GtkSharp.Widget",
|
||||
"shortName": "gtkwidget",
|
||||
"tags": {
|
||||
"language": "F#",
|
||||
"type": "item"
|
||||
},
|
||||
"sourceName": "Gtk_Widget",
|
||||
"primaryOutputs": [
|
||||
{
|
||||
"path": "Gtk_Widget.fs"
|
||||
},
|
||||
{
|
||||
"path": "Gtk_Widget.glade"
|
||||
}
|
||||
],
|
||||
"defaultName": "Gtk_Widget",
|
||||
"symbols": {
|
||||
"namespace": {
|
||||
"description": "Namespace for the generated files",
|
||||
"replaces": "GtkNamespace",
|
||||
"type": "parameter"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace GtkNamespace
|
||||
|
||||
open Gtk
|
||||
|
||||
type Gtk_Widget (builder : Builder) =
|
||||
inherit Box(builder.GetRawOwnedObject("Gtk_Widget"))
|
||||
|
||||
new() = new Gtk_Widget(new Builder("Gtk_Widget.glade"))
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<requires lib="gtk+" version="3.18"/>
|
||||
<object class="GtkBox" id="${EscapedIdentifier}">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<child>
|
||||
<placeholder/>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"$schema": "http://json.schemastore.org/template",
|
||||
"author": "GtkSharp Contributors",
|
||||
"classifications": [
|
||||
"Gtk",
|
||||
"UI"
|
||||
],
|
||||
"name": "Gtk Widget",
|
||||
"identity": "GtkSharp.Widget.VBNet",
|
||||
"groupIdentity": "GtkSharp.Widget",
|
||||
"shortName": "gtkwidget",
|
||||
"tags": {
|
||||
"language": "VB",
|
||||
"type": "item"
|
||||
},
|
||||
"sourceName": "Gtk_Widget",
|
||||
"primaryOutputs": [
|
||||
{
|
||||
"path": "Gtk_Widget.vb"
|
||||
},
|
||||
{
|
||||
"path": "Gtk_Widget.glade"
|
||||
}
|
||||
],
|
||||
"defaultName": "Gtk_Widget",
|
||||
"symbols": {
|
||||
"namespace": {
|
||||
"description": "Namespace for the generated files",
|
||||
"replaces": "GtkNamespace",
|
||||
"type": "parameter"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<requires lib="gtk+" version="3.18"/>
|
||||
<object class="GtkBox" id="${EscapedIdentifier}">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<child>
|
||||
<placeholder/>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
||||
@@ -0,0 +1,20 @@
|
||||
Imports System
|
||||
Imports Gtk
|
||||
Imports UI = Gtk.Builder.ObjectAttribute
|
||||
|
||||
Namespace GtkNamespace
|
||||
Public Class Gtk_Widget
|
||||
Inherits Box
|
||||
|
||||
Public Sub New (builder as Builder)
|
||||
MyBase.New (builder.GetRawOwnedObject("Gtk_Widget"))
|
||||
|
||||
builder.Autoconnect (Me)
|
||||
End Sub
|
||||
|
||||
Public Sub New ()
|
||||
Me.New (new Builder("Gtk_Widget.glade"))
|
||||
End Sub
|
||||
|
||||
End Class
|
||||
End Namespace
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"$schema": "http://json.schemastore.org/template",
|
||||
"author": "GtkSharp Contributors",
|
||||
"classifications": [
|
||||
"Gtk",
|
||||
"UI"
|
||||
],
|
||||
"name": "Gtk Window",
|
||||
"identity": "GtkSharp.Window.CSharp",
|
||||
"groupIdentity": "GtkSharp.Window",
|
||||
"shortName": "gtkwindow",
|
||||
"tags": {
|
||||
"language": "C#",
|
||||
"type": "item"
|
||||
},
|
||||
"sourceName": "Gtk_Window",
|
||||
"primaryOutputs": [
|
||||
{
|
||||
"path": "Gtk_Window.cs"
|
||||
},
|
||||
{
|
||||
"path": "Gtk_Window.glade"
|
||||
}
|
||||
],
|
||||
"defaultName": "Gtk_Window",
|
||||
"symbols": {
|
||||
"namespace": {
|
||||
"description": "Namespace for the generated files",
|
||||
"replaces": "GtkNamespace",
|
||||
"type": "parameter"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using Gtk;
|
||||
using UI = Gtk.Builder.ObjectAttribute;
|
||||
|
||||
namespace GtkNamespace
|
||||
{
|
||||
class Gtk_Window : Window
|
||||
{
|
||||
public Gtk_Window() : this(new Builder("Gtk_Window.glade")) { }
|
||||
|
||||
private Gtk_Window(Builder builder) : base(builder.GetRawOwnedObject("Gtk_Window"))
|
||||
{
|
||||
builder.Autoconnect(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<requires lib="gtk+" version="3.18"/>
|
||||
<object class="GtkWindow" id="Gtk_Window">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="title" translatable="yes">Gtk_Window</property>
|
||||
<child>
|
||||
<placeholder/>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"$schema": "http://json.schemastore.org/template",
|
||||
"author": "GtkSharp Contributors",
|
||||
"classifications": [
|
||||
"Gtk",
|
||||
"UI"
|
||||
],
|
||||
"name": "Gtk Window",
|
||||
"identity": "GtkSharp.Window.FSharp",
|
||||
"groupIdentity": "GtkSharp.Window",
|
||||
"shortName": "gtkwindow",
|
||||
"tags": {
|
||||
"language": "F#",
|
||||
"type": "item"
|
||||
},
|
||||
"sourceName": "Gtk_Window",
|
||||
"primaryOutputs": [
|
||||
{
|
||||
"path": "Gtk_Window.fs"
|
||||
},
|
||||
{
|
||||
"path": "Gtk_Window.glade"
|
||||
}
|
||||
],
|
||||
"defaultName": "Gtk_Window",
|
||||
"symbols": {
|
||||
"namespace": {
|
||||
"description": "Namespace for the generated files",
|
||||
"replaces": "GtkNamespace",
|
||||
"type": "parameter"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace GtkNamespace
|
||||
|
||||
open Gtk
|
||||
|
||||
type Gtk_Window (builder : Builder) =
|
||||
inherit Window(builder.GetRawOwnedObject("Gtk_Window"))
|
||||
|
||||
new() = new Gtk_Window(new Builder("Gtk_Window.glade"))
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<requires lib="gtk+" version="3.18"/>
|
||||
<object class="GtkWindow" id="Gtk_Window">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="title" translatable="yes">Gtk_Window</property>
|
||||
<child>
|
||||
<placeholder/>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"$schema": "http://json.schemastore.org/template",
|
||||
"author": "GtkSharp Contributors",
|
||||
"classifications": [
|
||||
"Gtk",
|
||||
"UI"
|
||||
],
|
||||
"name": "Gtk Window",
|
||||
"identity": "GtkSharp.Window.VBNet",
|
||||
"groupIdentity": "GtkSharp.Window",
|
||||
"shortName": "gtkwindow",
|
||||
"tags": {
|
||||
"language": "VB",
|
||||
"type": "item"
|
||||
},
|
||||
"sourceName": "Gtk_Window",
|
||||
"primaryOutputs": [
|
||||
{
|
||||
"path": "Gtk_Window.vb"
|
||||
},
|
||||
{
|
||||
"path": "Gtk_Window.glade"
|
||||
}
|
||||
],
|
||||
"defaultName": "Gtk_Window",
|
||||
"symbols": {
|
||||
"namespace": {
|
||||
"description": "Namespace for the generated files",
|
||||
"replaces": "GtkNamespace",
|
||||
"type": "parameter"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<requires lib="gtk+" version="3.18"/>
|
||||
<object class="GtkWindow" id="Gtk_Window">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="title" translatable="yes">Gtk_Window</property>
|
||||
<child>
|
||||
<placeholder/>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
||||
@@ -0,0 +1,20 @@
|
||||
Imports System
|
||||
Imports Gtk
|
||||
Imports UI = Gtk.Builder.ObjectAttribute
|
||||
|
||||
Namespace GtkNamespace
|
||||
Public Class Gtk_Window
|
||||
Inherits Window
|
||||
|
||||
Public Sub New (builder as Builder)
|
||||
MyBase.New (builder.GetRawOwnedObject("Gtk_Window"))
|
||||
|
||||
builder.Autoconnect (Me)
|
||||
End Sub
|
||||
|
||||
Public Sub New ()
|
||||
Me.New (new Builder ("Gtk_Window.glade"))
|
||||
End Sub
|
||||
|
||||
End Class
|
||||
End Namespace
|
||||
@@ -0,0 +1,11 @@
|
||||
<FileList Name="GtkSharp" TargetFrameworkIdentifier=".NETCoreApp" TargetFrameworkVersion="8.0" FrameworkName="GtkSharp">
|
||||
<File Type="Managed" Path="ref/net8.0-gtk3.24/AtkSharp.dll" AssemblyName="AtkSharp" PublicKeyToken="f6892ebcc5dd81ba" AssemblyVersion="3.24.24.1" FileVersion="3.24.24.1" Profile="GTK" />
|
||||
<File Type="Managed" Path="ref/net8.0-gtk3.24/CairoSharp.dll" AssemblyName="CairoSharp" PublicKeyToken="f6892ebcc5dd81ba" AssemblyVersion="3.24.24.1" FileVersion="3.24.24.1" Profile="GTK" />
|
||||
<File Type="Managed" Path="ref/net8.0-gtk3.24/GLibSharp.dll" AssemblyName="GLibSharp" PublicKeyToken="f6892ebcc5dd81ba" AssemblyVersion="3.24.24.1" FileVersion="3.24.24.1" Profile="GTK" />
|
||||
<File Type="Managed" Path="ref/net8.0-gtk3.24/GdkSharp.dll" AssemblyName="GdkSharp" PublicKeyToken="f6892ebcc5dd81ba" AssemblyVersion="3.24.24.1" FileVersion="3.24.24.1" Profile="GTK" />
|
||||
<File Type="Managed" Path="ref/net8.0-gtk3.24/GioSharp.dll" AssemblyName="GioSharp" PublicKeyToken="f6892ebcc5dd81ba" AssemblyVersion="3.24.24.1" FileVersion="3.24.24.1" Profile="GTK" />
|
||||
<File Type="Managed" Path="ref/net8.0-gtk3.24/GtkSharp.dll" AssemblyName="GtkSharp" PublicKeyToken="f6892ebcc5dd81ba" AssemblyVersion="3.24.24.1" FileVersion="3.24.24.1" Profile="GTK" />
|
||||
<File Type="Managed" Path="ref/net8.0-gtk3.24/GtkSourceSharp.dll" AssemblyName="GtkSourceSharp" PublicKeyToken="f6892ebcc5dd81ba" AssemblyVersion="3.24.24.1" FileVersion="3.24.24.1" Profile="GTK" />
|
||||
<File Type="Managed" Path="ref/net8.0-gtk3.24/PangoSharp.dll" AssemblyName="PangoSharp" PublicKeyToken="f6892ebcc5dd81ba" AssemblyVersion="3.24.24.1" FileVersion="3.24.24.1" Profile="GTK" />
|
||||
<File Type="Managed" Path="ref/net8.0-gtk3.24/WebkitGtkSharp.dll" AssemblyName="WebkitGtkSharp" PublicKeyToken="f6892ebcc5dd81ba" AssemblyVersion="3.24.24.1" FileVersion="3.24.24.1" Profile="GTK" />
|
||||
</FileList>
|
||||
@@ -0,0 +1,11 @@
|
||||
<FileList Name="GtkSharp" TargetFrameworkIdentifier=".NETCoreApp" TargetFrameworkVersion="8.0" FrameworkName="GtkSharp">
|
||||
<File Type="Managed" Path="lib/net8.0-gtk3.24/AtkSharp.dll" AssemblyName="AtkSharp" PublicKeyToken="f6892ebcc5dd81ba" AssemblyVersion="3.24.24.1" FileVersion="3.24.24.1" Profile="GTK" />
|
||||
<File Type="Managed" Path="lib/net8.0-gtk3.24/CairoSharp.dll" AssemblyName="CairoSharp" PublicKeyToken="f6892ebcc5dd81ba" AssemblyVersion="3.24.24.1" FileVersion="3.24.24.1" Profile="GTK" />
|
||||
<File Type="Managed" Path="lib/net8.0-gtk3.24/GLibSharp.dll" AssemblyName="GLibSharp" PublicKeyToken="f6892ebcc5dd81ba" AssemblyVersion="3.24.24.1" FileVersion="3.24.24.1" Profile="GTK" />
|
||||
<File Type="Managed" Path="lib/net8.0-gtk3.24/GdkSharp.dll" AssemblyName="GdkSharp" PublicKeyToken="f6892ebcc5dd81ba" AssemblyVersion="3.24.24.1" FileVersion="3.24.24.1" Profile="GTK" />
|
||||
<File Type="Managed" Path="lib/net8.0-gtk3.24/GioSharp.dll" AssemblyName="GioSharp" PublicKeyToken="f6892ebcc5dd81ba" AssemblyVersion="3.24.24.1" FileVersion="3.24.24.1" Profile="GTK" />
|
||||
<File Type="Managed" Path="lib/net8.0-gtk3.24/GtkSharp.dll" AssemblyName="GtkSharp" PublicKeyToken="f6892ebcc5dd81ba" AssemblyVersion="3.24.24.1" FileVersion="3.24.24.1" Profile="GTK" />
|
||||
<File Type="Managed" Path="lib/net8.0-gtk3.24/GtkSourceSharp.dll" AssemblyName="GtkSourceSharp" PublicKeyToken="f6892ebcc5dd81ba" AssemblyVersion="3.24.24.1" FileVersion="3.24.24.1" Profile="GTK" />
|
||||
<File Type="Managed" Path="lib/net8.0-gtk3.24/PangoSharp.dll" AssemblyName="PangoSharp" PublicKeyToken="f6892ebcc5dd81ba" AssemblyVersion="3.24.24.1" FileVersion="3.24.24.1" Profile="GTK" />
|
||||
<File Type="Managed" Path="lib/net8.0-gtk3.24/WebkitGtkSharp.dll" AssemblyName="WebkitGtkSharp" PublicKeyToken="f6892ebcc5dd81ba" AssemblyVersion="3.24.24.1" FileVersion="3.24.24.1" Profile="GTK" />
|
||||
</FileList>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,16 @@
|
||||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup>
|
||||
<GtkUrl Condition=" '$(GtkUrl)' == '' ">https://github.com/GtkSharp/Dependencies/raw/master/gtk-3.24.24.zip</GtkUrl>
|
||||
<GtkDir Condition=" '$(GtkDir)' == '' ">$(LOCALAPPDATA)\Gtk\3.24.24</GtkDir>
|
||||
</PropertyGroup>
|
||||
|
||||
<Target Name="InstallGtk" BeforeTargets="Build" Condition=" '$(SkipGtkInstall)' != 'True' and '$(OS)' == 'Windows_NT' and !Exists('$(GtkDir)/libgtk-3-0.dll') ">
|
||||
<Message Importance="High" Text="Gtk has not been detected, downloading and installing it, set SkipGtkInstall to True to skip theese steps."/>
|
||||
<Message Importance="High" Text="Ignore Gtk extract errors, bug msbuild/issues/3884"/>
|
||||
<MakeDir Directories="$(GtkDir)"/>
|
||||
<DownloadFile SourceUrl="$(GtkUrl)" DestinationFolder="$(GtkDir)" DestinationFileName="gtk.zip" />
|
||||
<Unzip ContinueOnError="true" SourceFiles="$(GtkDir)/gtk.zip" DestinationFolder="$(GtkDir)" />
|
||||
</Target>
|
||||
|
||||
</Project>
|
||||
Reference in New Issue
Block a user