mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-16 11:34:47 +02:00
2004-05-28 Mike Kestner <mkestner@ximian.com>
* gtk/Makefile.am : add new custom. * gtk/Settings.custom: add props for unparsed API. svn path=/trunk/gtk-sharp/; revision=28350
This commit is contained in:
parent
581dbea8ec
commit
71d07af98a
@ -1,3 +1,8 @@
|
|||||||
|
2004-05-28 Mike Kestner <mkestner@ximian.com>
|
||||||
|
|
||||||
|
* gtk/Makefile.am : add new custom.
|
||||||
|
* gtk/Settings.custom: add props for unparsed API.
|
||||||
|
|
||||||
2004-05-27 Mike Kestner <mkestner@ximian.com>
|
2004-05-27 Mike Kestner <mkestner@ximian.com>
|
||||||
|
|
||||||
* glib/Object.cs: mark GType property public.
|
* glib/Object.cs: mark GType property public.
|
||||||
|
@ -63,6 +63,7 @@ customs = \
|
|||||||
RadioMenuItem.custom \
|
RadioMenuItem.custom \
|
||||||
ScrolledWindow.custom \
|
ScrolledWindow.custom \
|
||||||
SelectionData.custom \
|
SelectionData.custom \
|
||||||
|
Settings.custom \
|
||||||
SpinButton.custom \
|
SpinButton.custom \
|
||||||
Stock.custom \
|
Stock.custom \
|
||||||
Style.custom \
|
Style.custom \
|
||||||
|
149
gtk/Settings.custom
Normal file
149
gtk/Settings.custom
Normal file
@ -0,0 +1,149 @@
|
|||||||
|
// Gtk.Settings.custom - Gtk Settings class customizations
|
||||||
|
//
|
||||||
|
// Author: Mike Kestner <mkestner@ximian.com>
|
||||||
|
//
|
||||||
|
// Copyright (C) 2004 Novell, Inc.
|
||||||
|
//
|
||||||
|
// This code is inserted after the automatically generated code.
|
||||||
|
|
||||||
|
|
||||||
|
public bool CursorBlink {
|
||||||
|
get {
|
||||||
|
GLib.Value val = GetProperty ("gtk-cursor-blink");
|
||||||
|
bool ret = (bool) val;
|
||||||
|
val.Dispose ();
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
GLib.Value val = new GLib.Value(value);
|
||||||
|
SetProperty("gtk-cursor-blink", val);
|
||||||
|
val.Dispose ();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public int CursorBlinkTime {
|
||||||
|
get {
|
||||||
|
GLib.Value val = GetProperty ("gtk-cursor-blink-time");
|
||||||
|
int ret = (int) val;
|
||||||
|
val.Dispose ();
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
GLib.Value val = new GLib.Value(value);
|
||||||
|
SetProperty("gtk-cursor-blink-time", val);
|
||||||
|
val.Dispose ();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public int DndDragThreshold {
|
||||||
|
get {
|
||||||
|
GLib.Value val = GetProperty ("gtk-dnd-drag-threshold");
|
||||||
|
int ret = (int) val;
|
||||||
|
val.Dispose ();
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
GLib.Value val = new GLib.Value(value);
|
||||||
|
SetProperty("gtk-dnd-drag-threshold", val);
|
||||||
|
val.Dispose ();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public int DoubleClickTime {
|
||||||
|
get {
|
||||||
|
GLib.Value val = GetProperty ("gtk-double-click-time");
|
||||||
|
int ret = (int) val;
|
||||||
|
val.Dispose ();
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
GLib.Value val = new GLib.Value(value);
|
||||||
|
SetProperty("gtk-double-click-time", val);
|
||||||
|
val.Dispose ();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public string FontName {
|
||||||
|
get {
|
||||||
|
GLib.Value val = GetProperty ("gtk-font-name");
|
||||||
|
string ret = (string) val;
|
||||||
|
val.Dispose ();
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
GLib.Value val = new GLib.Value(value);
|
||||||
|
SetProperty("gtk-font-name", val);
|
||||||
|
val.Dispose ();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public string IconSizes {
|
||||||
|
get {
|
||||||
|
GLib.Value val = GetProperty ("gtk-icon-sizes");
|
||||||
|
string ret = (string) val;
|
||||||
|
val.Dispose ();
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
GLib.Value val = new GLib.Value(value);
|
||||||
|
SetProperty("gtk-icon-sizes", val);
|
||||||
|
val.Dispose ();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public string KeyThemeName {
|
||||||
|
get {
|
||||||
|
GLib.Value val = GetProperty ("gtk-key-theme-name");
|
||||||
|
string ret = (string) val;
|
||||||
|
val.Dispose ();
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
GLib.Value val = new GLib.Value(value);
|
||||||
|
SetProperty("gtk-key-theme-name", val);
|
||||||
|
val.Dispose ();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public string MenuBarAccel {
|
||||||
|
get {
|
||||||
|
GLib.Value val = GetProperty ("gtk-menu-bar-accel");
|
||||||
|
string ret = (string) val;
|
||||||
|
val.Dispose ();
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
GLib.Value val = new GLib.Value(value);
|
||||||
|
SetProperty("gtk-menu-bar-accel", val);
|
||||||
|
val.Dispose ();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool SplitCursor {
|
||||||
|
get {
|
||||||
|
GLib.Value val = GetProperty ("gtk-split-cursor");
|
||||||
|
bool ret = (bool) val;
|
||||||
|
val.Dispose ();
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
GLib.Value val = new GLib.Value(value);
|
||||||
|
SetProperty("gtk-split-cursor", val);
|
||||||
|
val.Dispose ();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public string ThemeName {
|
||||||
|
get {
|
||||||
|
GLib.Value val = GetProperty ("gtk-theme-name");
|
||||||
|
string ret = (string) val;
|
||||||
|
val.Dispose ();
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
set {
|
||||||
|
GLib.Value val = new GLib.Value(value);
|
||||||
|
SetProperty("gtk-theme-name", val);
|
||||||
|
val.Dispose ();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user