Merge pull request #21 from bl8/gtk-settings-props

Gtk.Settings: Add all properties as a fixup
This commit is contained in:
Mike Kestner 2011-08-01 07:45:00 -07:00
commit fe776b3a48
2 changed files with 68 additions and 141 deletions

View File

@ -519,6 +519,74 @@
<attr path="/api/namespace/object[@cname='GtkScrolledWindow']/method[@name='GetPolicy']/*/*[@type='GtkPolicyType*']" name="pass_as">out</attr>
<attr path="/api/namespace/object[@cname='GtkScrolledWindow']/method[@name='GetVscrollbar']" name="name">GetVScrollbar</attr>
<attr path="/api/namespace/object[@cname='GtkScrolledWindow']/signal[@name='ScrollChild']/return-type" name="type">void</attr>
<add-node path="/api/namespace/object[@cname='GtkSettings']">
<property name="AlternativeButtonOrder" cname="gtk-alternative-button-order" type="gboolean" readable="true" writeable="true" />
<property name="AlternativeSortArrows" cname="gtk-alternative-sort-arrows" type="gboolean" readable="true" writeable="true" />
<property name="ApplicationPreferDarkTheme" cname="gtk-application-prefer-dark-theme" type="gboolean" readable="true" writeable="true" />
<property name="AutoMnemonics" cname="gtk-auto-mnemonics" type="gboolean" readable="true" writeable="true" />
<property name="ButtonImages" cname="gtk-button-images" type="gboolean" readable="true" writeable="true" />
<property name="CanChangeAccels" cname="gtk-can-change-accels" type="gboolean" readable="true" writeable="true" />
<property name="ColorPalette" cname="gtk-color-palette" type="gchar*" readable="true" writeable="true" />
<property name="ColorScheme" cname="gtk-color-scheme" type="gchar*" readable="true" writeable="true" />
<property name="CursorBlink" cname="gtk-cursor-blink" type="gboolean" readable="true" writeable="true" />
<property name="CursorBlinkTime" cname="gtk-cursor-blink-time" type="gint" readable="true" writeable="true" />
<property name="CursorBlinkTimeout" cname="gtk-cursor-blink-timeout" type="gint" readable="true" writeable="true" />
<property name="CursorThemeName" cname="gtk-cursor-theme-name" type="gchar*" readable="true" writeable="true" />
<property name="CursorThemeSize" cname="gtk-cursor-theme-size" type="gint" readable="true" writeable="true" />
<property name="DndDragThreshold" cname="gtk-dnd-drag-threshold" type="gint" readable="true" writeable="true" />
<property name="DoubleClickDistance" cname="gtk-double-click-distance" type="gint" readable="true" writeable="true" />
<property name="DoubleClickTime" cname="gtk-double-click-time" type="gint" readable="true" writeable="true" />
<property name="EnableAccels" cname="gtk-enable-accels" type="gboolean" readable="true" writeable="true" />
<property name="EnableAnimations" cname="gtk-enable-animations" type="gboolean" readable="true" writeable="true" />
<property name="EnableEventSounds" cname="gtk-enable-event-sounds" type="gboolean" readable="true" writeable="true" />
<property name="EnableInputFeedbackSounds" cname="gtk-enable-input-feedback-sounds" type="gboolean" readable="true" writeable="true" />
<property name="EnableMnemonics" cname="gtk-enable-mnemonics" type="gboolean" readable="true" writeable="true" />
<property name="EnableTooltips" cname="gtk-enable-tooltips" type="gboolean" readable="true" writeable="true" />
<property name="EntryPasswordHintTimeout" cname="gtk-entry-password-hint-timeout" type="guint" readable="true" writeable="true" />
<property name="EntrySelectOnFocus" cname="gtk-entry-select-on-focus" type="gboolean" readable="true" writeable="true" />
<property name="ErrorBell" cname="gtk-error-bell" type="gboolean" readable="true" writeable="true" />
<property name="FallbackIconTheme" cname="gtk-fallback-icon-theme" type="gchar*" readable="true" writeable="true" />
<property name="FileChooserBackend" cname="gtk-file-chooser-backend" type="gchar*" readable="true" writeable="true" />
<property name="FontName" cname="gtk-font-name" type="gchar*" readable="true" writeable="true" />
<property name="FontconfigTimestamp" cname="gtk-fontconfig-timestamp" type="guint" readable="true" writeable="true" />
<property name="IconSizes" cname="gtk-icon-sizes" type="gchar*" readable="true" writeable="true" />
<property name="IconThemeName" cname="gtk-icon-theme-name" type="gchar*" readable="true" writeable="true" />
<property name="ImModule" cname="gtk-im-module" type="gchar*" readable="true" writeable="true" />
<property name="KeyThemeName" cname="gtk-key-theme-name" type="gchar*" readable="true" writeable="true" />
<property name="KeynavCursorOnly" cname="gtk-keynav-cursor-only" type="gboolean" readable="true" writeable="true" />
<property name="KeynavWrapAround" cname="gtk-keynav-wrap-around" type="gboolean" readable="true" writeable="true" />
<property name="LabelSelectOnFocus" cname="gtk-label-select-on-focus" type="gboolean" readable="true" writeable="true" />
<property name="MenuBarAccel" cname="gtk-menu-bar-accel" type="gchar*" readable="true" writeable="true" />
<property name="MenuBarPopupDelay" cname="gtk-menu-bar-popup-delay" type="gint" readable="true" writeable="true" />
<property name="MenuImages" cname="gtk-menu-images" type="gboolean" readable="true" writeable="true" />
<property name="MenuPopdownDelay" cname="gtk-menu-popdown-delay" type="gint" readable="true" writeable="true" />
<property name="MenuPopupDelay" cname="gtk-menu-popup-delay" type="gint" readable="true" writeable="true" />
<property name="Modules" cname="gtk-modules" type="gchar*" readable="true" writeable="true" />
<property name="PrintBackends" cname="gtk-print-backends" type="gchar*" readable="true" writeable="true" />
<property name="PrintPreviewCommand" cname="gtk-print-preview-command" type="gchar*" readable="true" writeable="true" />
<property name="RecentFilesLimit" cname="gtk-recent-files-limit" type="gint" readable="true" writeable="true" />
<property name="RecentFilesMaxAge" cname="gtk-recent-files-max-age" type="gint" readable="true" writeable="true" />
<property name="ScrolledWindowPlacement" cname="gtk-scrolled-window-placement" type="GtkCornerType*" readable="true" writeable="true" />
<property name="ShowInputMethodMenu" cname="gtk-show-input-method-menu" type="gboolean" readable="true" writeable="true" />
<property name="ShowUnicodeMenu" cname="gtk-show-unicode-menu" type="gboolean" readable="true" writeable="true" />
<property name="SoundThemeName" cname="gtk-sound-theme-name" type="gchar*" readable="true" writeable="true" />
<property name="SplitCursor" cname="gtk-split-cursor" type="gboolean" readable="true" writeable="true" />
<property name="ThemeName" cname="gtk-theme-name" type="gchar*" readable="true" writeable="true" />
<property name="TimeoutExpand" cname="gtk-timeout-expand" type="gint" readable="true" writeable="true" />
<property name="TimeoutInitial" cname="gtk-timeout-initial" type="gint" readable="true" writeable="true" />
<property name="TimeoutRepeat" cname="gtk-timeout-repeat" type="gint" readable="true" writeable="true" />
<property name="ToolbarIconSize" cname="gtk-toolbar-icon-size" type="GtkIconSize*" readable="true" writeable="true" />
<property name="ToolbarStyle" cname="gtk-toolbar-style" type="GtkToolbarStyle*" readable="true" writeable="true" />
<property name="TooltipBrowseModeTimeout" cname="gtk-tooltip-browse-mode-timeout" type="gint" readable="true" writeable="true" />
<property name="TooltipBrowseTimeout" cname="gtk-tooltip-browse-timeout" type="gint" readable="true" writeable="true" />
<property name="TooltipTimeout" cname="gtk-tooltip-timeout" type="gint" readable="true" writeable="true" />
<property name="TouchscreenMode" cname="gtk-touchscreen-mode" type="gboolean" readable="true" writeable="true" />
<property name="XftAntialias" cname="gtk-xft-antialias" type="gint" readable="true" writeable="true" />
<property name="XftDpi" cname="gtk-xft-dpi" type="gint" readable="true" writeable="true" />
<property name="XftHinting" cname="gtk-xft-hinting" type="gint" readable="true" writeable="true" />
<property name="XftHintstyle" cname="gtk-xft-hintstyle" type="gchar*" readable="true" writeable="true" />
<property name="XftRgba" cname="gtk-xft-rgba" type="gchar*" readable="true" writeable="true" />
</add-node>
<attr path="/api/namespace/object[@cname='GtkSeparatorToolItem']/property[@name='Draw']" name="new_flag">1</attr>
<attr path="/api/namespace/object[@cname='GtkSizeGroup']/method[@name='GetWidgets']/return-type" name="element_type">GtkWidget*</attr>
<attr path="/api/namespace/object[@cname='GtkSpinButton']/constructor[@cname='gtk_spin_button_new_with_range']" name="hidden">1</attr>

View File

@ -27,144 +27,3 @@
return IntPtr.Zero;
}
}
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 ();
}
}