- _gType
GType _gType [@property getter]
- gtkAlternativeButtonOrder
bool gtkAlternativeButtonOrder [@property getter]
- gtkAlternativeButtonOrder
bool gtkAlternativeButtonOrder [@property setter]
- gtkAlternativeSortArrows
bool gtkAlternativeSortArrows [@property getter]
Get gtkAlternativeSortArrows property.
- gtkAlternativeSortArrows
bool gtkAlternativeSortArrows [@property setter]
Set gtkAlternativeSortArrows property.
- gtkApplicationPreferDarkTheme
bool gtkApplicationPreferDarkTheme [@property getter]
Get gtkApplicationPreferDarkTheme property.
- gtkApplicationPreferDarkTheme
bool gtkApplicationPreferDarkTheme [@property setter]
Set gtkApplicationPreferDarkTheme property.
- gtkAutoMnemonics
bool gtkAutoMnemonics [@property getter]
Get gtkAutoMnemonics property.
- gtkAutoMnemonics
bool gtkAutoMnemonics [@property setter]
Set gtkAutoMnemonics property.
- gtkButtonImages
bool gtkButtonImages [@property getter]
Get gtkButtonImages property.
- gtkButtonImages
bool gtkButtonImages [@property setter]
Set gtkButtonImages property.
- gtkCanChangeAccels
bool gtkCanChangeAccels [@property getter]
Get gtkCanChangeAccels property.
- gtkCanChangeAccels
bool gtkCanChangeAccels [@property setter]
Set gtkCanChangeAccels property.
- gtkColorPalette
string gtkColorPalette [@property getter]
Get gtkColorPalette property.
- gtkColorPalette
string gtkColorPalette [@property setter]
Set gtkColorPalette property.
- gtkColorScheme
string gtkColorScheme [@property getter]
Get gtkColorScheme property.
- gtkColorScheme
string gtkColorScheme [@property setter]
Set gtkColorScheme property.
- gtkCursorAspectRatio
float gtkCursorAspectRatio [@property getter]
- gtkCursorAspectRatio
float gtkCursorAspectRatio [@property setter]
- gtkCursorBlink
bool gtkCursorBlink [@property getter]
Get gtkCursorBlink property.
- gtkCursorBlink
bool gtkCursorBlink [@property setter]
Set gtkCursorBlink property.
- gtkCursorBlinkTime
int gtkCursorBlinkTime [@property getter]
- gtkCursorBlinkTime
int gtkCursorBlinkTime [@property setter]
- gtkCursorBlinkTimeout
int gtkCursorBlinkTimeout [@property getter]
Get gtkCursorBlinkTimeout property.
- gtkCursorBlinkTimeout
int gtkCursorBlinkTimeout [@property setter]
Set gtkCursorBlinkTimeout property.
- gtkCursorThemeName
string gtkCursorThemeName [@property getter]
- gtkCursorThemeName
string gtkCursorThemeName [@property setter]
- gtkCursorThemeSize
int gtkCursorThemeSize [@property getter]
- gtkCursorThemeSize
int gtkCursorThemeSize [@property setter]
- gtkDecorationLayout
string gtkDecorationLayout [@property getter]
Get gtkDecorationLayout property.
- gtkDecorationLayout
string gtkDecorationLayout [@property setter]
Set gtkDecorationLayout property.
- gtkDialogsUseHeader
bool gtkDialogsUseHeader [@property getter]
Get gtkDialogsUseHeader property.
- gtkDialogsUseHeader
bool gtkDialogsUseHeader [@property setter]
Set gtkDialogsUseHeader property.
- gtkDndDragThreshold
int gtkDndDragThreshold [@property getter]
- gtkDndDragThreshold
int gtkDndDragThreshold [@property setter]
- gtkDoubleClickDistance
int gtkDoubleClickDistance [@property getter]
- gtkDoubleClickDistance
int gtkDoubleClickDistance [@property setter]
- gtkDoubleClickTime
int gtkDoubleClickTime [@property getter]
- gtkDoubleClickTime
int gtkDoubleClickTime [@property setter]
- gtkEnableAccels
bool gtkEnableAccels [@property getter]
Get gtkEnableAccels property.
- gtkEnableAccels
bool gtkEnableAccels [@property setter]
Set gtkEnableAccels property.
- gtkEnableAnimations
bool gtkEnableAnimations [@property getter]
- gtkEnableAnimations
bool gtkEnableAnimations [@property setter]
- gtkEnableEventSounds
bool gtkEnableEventSounds [@property getter]
Get gtkEnableEventSounds property.
- gtkEnableEventSounds
bool gtkEnableEventSounds [@property setter]
Set gtkEnableEventSounds property.
- gtkEnableInputFeedbackSounds
bool gtkEnableInputFeedbackSounds [@property getter]
Get gtkEnableInputFeedbackSounds property.
- gtkEnableInputFeedbackSounds
bool gtkEnableInputFeedbackSounds [@property setter]
Set gtkEnableInputFeedbackSounds property.
- gtkEnableMnemonics
bool gtkEnableMnemonics [@property getter]
Get gtkEnableMnemonics property.
- gtkEnableMnemonics
bool gtkEnableMnemonics [@property setter]
Set gtkEnableMnemonics property.
- gtkEnablePrimaryPaste
bool gtkEnablePrimaryPaste [@property getter]
Get gtkEnablePrimaryPaste property.
- gtkEnablePrimaryPaste
bool gtkEnablePrimaryPaste [@property setter]
Set gtkEnablePrimaryPaste property.
- gtkEnableTooltips
bool gtkEnableTooltips [@property getter]
Get gtkEnableTooltips property.
- gtkEnableTooltips
bool gtkEnableTooltips [@property setter]
Set gtkEnableTooltips property.
- gtkEntryPasswordHintTimeout
uint gtkEntryPasswordHintTimeout [@property getter]
Get gtkEntryPasswordHintTimeout property.
- gtkEntryPasswordHintTimeout
uint gtkEntryPasswordHintTimeout [@property setter]
Set gtkEntryPasswordHintTimeout property.
- gtkEntrySelectOnFocus
bool gtkEntrySelectOnFocus [@property getter]
- gtkEntrySelectOnFocus
bool gtkEntrySelectOnFocus [@property setter]
- gtkErrorBell
bool gtkErrorBell [@property getter]
Get gtkErrorBell property.
- gtkErrorBell
bool gtkErrorBell [@property setter]
Set gtkErrorBell property.
- gtkFallbackIconTheme
string gtkFallbackIconTheme [@property getter]
Get gtkFallbackIconTheme property.
- gtkFallbackIconTheme
string gtkFallbackIconTheme [@property setter]
Set gtkFallbackIconTheme property.
- gtkFileChooserBackend
string gtkFileChooserBackend [@property getter]
Get gtkFileChooserBackend property.
- gtkFileChooserBackend
string gtkFileChooserBackend [@property setter]
Set gtkFileChooserBackend property.
- gtkFontName
string gtkFontName [@property getter]
Get gtkFontName property.
- gtkFontName
string gtkFontName [@property setter]
Set gtkFontName property.
- gtkFontconfigTimestamp
uint gtkFontconfigTimestamp [@property getter]
- gtkFontconfigTimestamp
uint gtkFontconfigTimestamp [@property setter]
- gtkIconSizes
string gtkIconSizes [@property getter]
Get gtkIconSizes property.
- gtkIconSizes
string gtkIconSizes [@property setter]
Set gtkIconSizes property.
- gtkIconThemeName
string gtkIconThemeName [@property getter]
- gtkIconThemeName
string gtkIconThemeName [@property setter]
- gtkImModule
string gtkImModule [@property getter]
Get gtkImModule property.
- gtkImModule
string gtkImModule [@property setter]
Set gtkImModule property.
- gtkImPreeditStyle
gtk.types.IMPreeditStyle gtkImPreeditStyle [@property getter]
Get gtkImPreeditStyle property.
- gtkImPreeditStyle
gtk.types.IMPreeditStyle gtkImPreeditStyle [@property setter]
Set gtkImPreeditStyle property.
- gtkImStatusStyle
gtk.types.IMStatusStyle gtkImStatusStyle [@property getter]
Get gtkImStatusStyle property.
- gtkImStatusStyle
gtk.types.IMStatusStyle gtkImStatusStyle [@property setter]
Set gtkImStatusStyle property.
- gtkKeyThemeName
string gtkKeyThemeName [@property getter]
- gtkKeyThemeName
string gtkKeyThemeName [@property setter]
- gtkKeynavCursorOnly
bool gtkKeynavCursorOnly [@property getter]
Get gtkKeynavCursorOnly property.
- gtkKeynavCursorOnly
bool gtkKeynavCursorOnly [@property setter]
Set gtkKeynavCursorOnly property.
- gtkKeynavUseCaret
bool gtkKeynavUseCaret [@property getter]
Get gtkKeynavUseCaret property.
- gtkKeynavUseCaret
bool gtkKeynavUseCaret [@property setter]
Set gtkKeynavUseCaret property.
- gtkKeynavWrapAround
bool gtkKeynavWrapAround [@property getter]
Get gtkKeynavWrapAround property.
- gtkKeynavWrapAround
bool gtkKeynavWrapAround [@property setter]
Set gtkKeynavWrapAround property.
- gtkLabelSelectOnFocus
bool gtkLabelSelectOnFocus [@property getter]
- gtkLabelSelectOnFocus
bool gtkLabelSelectOnFocus [@property setter]
- gtkLongPressTime
uint gtkLongPressTime [@property getter]
Get gtkLongPressTime property.
- gtkLongPressTime
uint gtkLongPressTime [@property setter]
Set gtkLongPressTime property.
- gtkMenuBarAccel
string gtkMenuBarAccel [@property getter]
Get gtkMenuBarAccel property.
- gtkMenuBarAccel
string gtkMenuBarAccel [@property setter]
Set gtkMenuBarAccel property.
- gtkMenuBarPopupDelay
int gtkMenuBarPopupDelay [@property getter]
Get gtkMenuBarPopupDelay property.
- gtkMenuBarPopupDelay
int gtkMenuBarPopupDelay [@property setter]
Set gtkMenuBarPopupDelay property.
- gtkMenuImages
bool gtkMenuImages [@property getter]
Get gtkMenuImages property.
- gtkMenuImages
bool gtkMenuImages [@property setter]
Set gtkMenuImages property.
- gtkMenuPopdownDelay
int gtkMenuPopdownDelay [@property getter]
Get gtkMenuPopdownDelay property.
- gtkMenuPopdownDelay
int gtkMenuPopdownDelay [@property setter]
Set gtkMenuPopdownDelay property.
- gtkMenuPopupDelay
int gtkMenuPopupDelay [@property getter]
Get gtkMenuPopupDelay property.
- gtkMenuPopupDelay
int gtkMenuPopupDelay [@property setter]
Set gtkMenuPopupDelay property.
- gtkModules
string gtkModules [@property getter]
- gtkModules
string gtkModules [@property setter]
- gtkOverlayScrolling
bool gtkOverlayScrolling [@property getter]
Get gtkOverlayScrolling property.
- gtkOverlayScrolling
bool gtkOverlayScrolling [@property setter]
Set gtkOverlayScrolling property.
- gtkPrimaryButtonWarpsSlider
bool gtkPrimaryButtonWarpsSlider [@property getter]
Get gtkPrimaryButtonWarpsSlider property.
- gtkPrimaryButtonWarpsSlider
bool gtkPrimaryButtonWarpsSlider [@property setter]
Set gtkPrimaryButtonWarpsSlider property.
- gtkPrintBackends
string gtkPrintBackends [@property getter]
Get gtkPrintBackends property.
- gtkPrintBackends
string gtkPrintBackends [@property setter]
Set gtkPrintBackends property.
- gtkPrintPreviewCommand
string gtkPrintPreviewCommand [@property getter]
Get gtkPrintPreviewCommand property.
- gtkPrintPreviewCommand
string gtkPrintPreviewCommand [@property setter]
Set gtkPrintPreviewCommand property.
- gtkRecentFilesEnabled
bool gtkRecentFilesEnabled [@property getter]
Get gtkRecentFilesEnabled property.
- gtkRecentFilesEnabled
bool gtkRecentFilesEnabled [@property setter]
Set gtkRecentFilesEnabled property.
- gtkRecentFilesLimit
int gtkRecentFilesLimit [@property getter]
Get gtkRecentFilesLimit property.
- gtkRecentFilesLimit
int gtkRecentFilesLimit [@property setter]
Set gtkRecentFilesLimit property.
- gtkRecentFilesMaxAge
int gtkRecentFilesMaxAge [@property getter]
Get gtkRecentFilesMaxAge property.
- gtkRecentFilesMaxAge
int gtkRecentFilesMaxAge [@property setter]
Set gtkRecentFilesMaxAge property.
- gtkScrolledWindowPlacement
gtk.types.CornerType gtkScrolledWindowPlacement [@property getter]
Get gtkScrolledWindowPlacement property.
- gtkScrolledWindowPlacement
gtk.types.CornerType gtkScrolledWindowPlacement [@property setter]
Set gtkScrolledWindowPlacement property.
- gtkShellShowsAppMenu
bool gtkShellShowsAppMenu [@property getter]
- gtkShellShowsAppMenu
bool gtkShellShowsAppMenu [@property setter]
- gtkShellShowsDesktop
bool gtkShellShowsDesktop [@property getter]
- gtkShellShowsDesktop
bool gtkShellShowsDesktop [@property setter]
- gtkShellShowsMenubar
bool gtkShellShowsMenubar [@property getter]
- gtkShellShowsMenubar
bool gtkShellShowsMenubar [@property setter]
- gtkShowInputMethodMenu
bool gtkShowInputMethodMenu [@property getter]
- gtkShowInputMethodMenu
bool gtkShowInputMethodMenu [@property setter]
- gtkShowUnicodeMenu
bool gtkShowUnicodeMenu [@property getter]
- gtkShowUnicodeMenu
bool gtkShowUnicodeMenu [@property setter]
- gtkSoundThemeName
string gtkSoundThemeName [@property getter]
Get gtkSoundThemeName property.
- gtkSoundThemeName
string gtkSoundThemeName [@property setter]
Set gtkSoundThemeName property.
- gtkSplitCursor
bool gtkSplitCursor [@property getter]
- gtkSplitCursor
bool gtkSplitCursor [@property setter]
- gtkThemeName
string gtkThemeName [@property getter]
- gtkThemeName
string gtkThemeName [@property setter]
- gtkTimeoutExpand
int gtkTimeoutExpand [@property getter]
- gtkTimeoutExpand
int gtkTimeoutExpand [@property setter]
- gtkTimeoutInitial
int gtkTimeoutInitial [@property getter]
- gtkTimeoutInitial
int gtkTimeoutInitial [@property setter]
- gtkTimeoutRepeat
int gtkTimeoutRepeat [@property getter]
- gtkTimeoutRepeat
int gtkTimeoutRepeat [@property setter]
- gtkTitlebarDoubleClick
string gtkTitlebarDoubleClick [@property getter]
Get gtkTitlebarDoubleClick property.
- gtkTitlebarDoubleClick
string gtkTitlebarDoubleClick [@property setter]
Set gtkTitlebarDoubleClick property.
- gtkTitlebarMiddleClick
string gtkTitlebarMiddleClick [@property getter]
Get gtkTitlebarMiddleClick property.
- gtkTitlebarMiddleClick
string gtkTitlebarMiddleClick [@property setter]
Set gtkTitlebarMiddleClick property.
- gtkTitlebarRightClick
string gtkTitlebarRightClick [@property getter]
Get gtkTitlebarRightClick property.
- gtkTitlebarRightClick
string gtkTitlebarRightClick [@property setter]
Set gtkTitlebarRightClick property.
- gtkToolbarIconSize
gtk.types.IconSize gtkToolbarIconSize [@property getter]
Get gtkToolbarIconSize property.
- gtkToolbarIconSize
gtk.types.IconSize gtkToolbarIconSize [@property setter]
Set gtkToolbarIconSize property.
- gtkToolbarStyle
gtk.types.ToolbarStyle gtkToolbarStyle [@property getter]
Get gtkToolbarStyle property.
- gtkToolbarStyle
gtk.types.ToolbarStyle gtkToolbarStyle [@property setter]
Set gtkToolbarStyle property.
- gtkTooltipBrowseModeTimeout
int gtkTooltipBrowseModeTimeout [@property getter]
Get gtkTooltipBrowseModeTimeout property.
- gtkTooltipBrowseModeTimeout
int gtkTooltipBrowseModeTimeout [@property setter]
Set gtkTooltipBrowseModeTimeout property.
- gtkTooltipBrowseTimeout
int gtkTooltipBrowseTimeout [@property getter]
Get gtkTooltipBrowseTimeout property.
- gtkTooltipBrowseTimeout
int gtkTooltipBrowseTimeout [@property setter]
Set gtkTooltipBrowseTimeout property.
- gtkTooltipTimeout
int gtkTooltipTimeout [@property getter]
Get gtkTooltipTimeout property.
- gtkTooltipTimeout
int gtkTooltipTimeout [@property setter]
Set gtkTooltipTimeout property.
- gtkTouchscreenMode
bool gtkTouchscreenMode [@property getter]
Get gtkTouchscreenMode property.
- gtkTouchscreenMode
bool gtkTouchscreenMode [@property setter]
Set gtkTouchscreenMode property.
- gtkVisibleFocus
gtk.types.PolicyType gtkVisibleFocus [@property getter]
Get gtkVisibleFocus property.
- gtkVisibleFocus
gtk.types.PolicyType gtkVisibleFocus [@property setter]
Set gtkVisibleFocus property.
- gtkXftAntialias
int gtkXftAntialias [@property getter]
- gtkXftAntialias
int gtkXftAntialias [@property setter]
- gtkXftDpi
int gtkXftDpi [@property getter]
- gtkXftDpi
int gtkXftDpi [@property setter]
- gtkXftHinting
int gtkXftHinting [@property getter]
- gtkXftHinting
int gtkXftHinting [@property setter]
- gtkXftHintstyle
string gtkXftHintstyle [@property getter]
- gtkXftHintstyle
string gtkXftHintstyle [@property setter]
- gtkXftRgba
string gtkXftRgba [@property getter]
- gtkXftRgba
string gtkXftRgba [@property setter]
- _setGObject
void _setGObject(void* cObj, Flag!"Take" take)
Set the GObject of a D ObjectWrap wrapper.
- _cPtr
void* _cPtr(Flag!"Dup" dup)
Get a pointer to the underlying C object.
- _ref
void* _ref(void* gObj)
Calls g_object_ref() on a GObject.
- _unref
_unref(void* gObj)
Calls g_object_unref() on a GObject.
- _getGType
GType _getGType()
Get the GType of an object.
- _gType
GType _gType [@property getter]
- self
ObjectWrap self()
Convenience method to return this cast to a type. For use in D with statements.
- _getDObject
T _getDObject(void* cptr, Flag!"Take" take)
Template to get the D object from a C GObject and cast it to the given D object type.
- connectSignalClosure
gulong connectSignalClosure(string signalDetail, DClosure closure, Flag!"After" after)
Connect a D closure to an object signal.
- setProperty
void setProperty(string propertyName, T val)
Template for setting a GObject property.
- getProperty
T getProperty(string propertyName)
Template for getting a GObject property.
- compatControl
size_t compatControl(size_t what, void* data)
- bindProperty
gobject.binding.Binding bindProperty(string sourceProperty, gobject.object.ObjectWrap target, string targetProperty, gobject.types.BindingFlags flags)
Creates a binding between source_property on source and target_property
on target.
- bindPropertyFull
gobject.binding.Binding bindPropertyFull(string sourceProperty, gobject.object.ObjectWrap target, string targetProperty, gobject.types.BindingFlags flags, gobject.closure.Closure transformTo, gobject.closure.Closure transformFrom)
Creates a binding between source_property on source and target_property
on target, allowing you to set the transformation functions to be used by
the binding.
- forceFloating
void forceFloating()
This function is intended for #GObject implementations to re-enforce
a floating[floating-ref] object reference. Doing this is seldom
required: all #GInitiallyUnowneds are created with a floating reference
which usually just needs to be sunken by calling gobject.object.ObjectWrap.refSink.
- freezeNotify
void freezeNotify()
Increases the freeze count on object. If the freeze count is
non-zero, the emission of "notify" signals on object is
stopped. The signals are queued until the freeze count is decreased
to zero. Duplicate notifications are squashed so that at most one
#GObject::notify signal is emitted for each property modified while the
object is frozen.
- getData
void* getData(string key)
- getProperty
void getProperty(string propertyName, gobject.value.Value value)
Gets a property of an object.
- getQdata
void* getQdata(glib.types.Quark quark)
- getv
void getv(string[] names, gobject.value.Value[] values)
Gets n_properties properties for an object.
Obtained properties will be set to values. All properties must be valid.
Warnings will be emitted and undefined behaviour may result if invalid
properties are passed in.
- isFloating
bool isFloating()
Checks whether object has a floating[floating-ref] reference.
- notify
void notify(string propertyName)
Emits a "notify" signal for the property property_name on object.
- notifyByPspec
void notifyByPspec(gobject.param_spec.ParamSpec pspec)
Emits a "notify" signal for the property specified by pspec on object.
- refSink
gobject.object.ObjectWrap refSink()
Increase the reference count of object, and possibly remove the
floating[floating-ref] reference, if object has a floating reference.
- runDispose
void runDispose()
Releases all references to other objects. This can be used to break
reference cycles.
- setData
void setData(string key, void* data)
Each object carries around a table of associations from
strings to pointers. This function lets you set an association.
- setProperty
void setProperty(string propertyName, gobject.value.Value value)
Sets a property on an object.
- stealData
void* stealData(string key)
Remove a specified datum from the object's data associations,
without invoking the association's destroy handler.
- stealQdata
void* stealQdata(glib.types.Quark quark)
This function gets back user data pointers stored via
gobject.object.ObjectWrap.setQdata and removes the data from object
without invoking its destroy() function (if any was
set).
Usually, calling this function is only required to update
user data pointers with a destroy notifier, for example:
- thawNotify
void thawNotify()
- watchClosure
void watchClosure(gobject.closure.Closure closure)
This function essentially limits the life time of the closure to
the life time of the object. That is, when the object is finalized,
the closure is invalidated by calling gobject.closure.Closure.invalidate on
it, in order to prevent invocations of the closure with a finalized
(nonexisting) object. Also, gobject.object.ObjectWrap.ref_ and gobject.object.ObjectWrap.unref are
added as marshal guards to the closure, to ensure that an extra
reference count is held on object during invocation of the
closure. Usually, this function will be called on closures that
use this object as closure data.
- connectNotify
gulong connectNotify(string detail, T callback, Flag!"After" after)
Connect to Notify signal.
GtkSettings provide a mechanism to share global settings between applications.
On the X window system, this sharing is realized by an XSettings
manager that is usually part of the desktop environment, along with utilities that let the user change these settings. In the absence of an Xsettings manager, GTK+ reads default values for settings from settings.ini files in /etc/gtk-3.0, $XDG_CONFIG_DIRS/gtk-3.0 and $XDG_CONFIG_HOME/gtk-3.0. These files must be valid key files (see #GKeyFile), and have a section called Settings. Themes can also provide default values for settings by installing a settings.ini file next to their gtk.css file.
Applications can override system-wide settings by setting the property of the GtkSettings object with gobject.object.ObjectWrap.set. This should be restricted to special cases though; GtkSettings are not meant as an application configuration facility. When doing so, you need to be aware that settings that are specific to individual widgets may not be available before the widget type has been realized at least once. The following example demonstrates a way to do this:
There is one GtkSettings instance per screen. It can be obtained with gtk.settings.Settings.getForScreen, but in many cases, it is more convenient to use gtk.widget.Widget.getSettings. gtk.settings.Settings.getDefault returns the GtkSettings instance for the default screen.