eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'AbstractSettingsApplication::MiscDisplay2SettingsAppl':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: MiscDisplay2SettingsAppl (private in AbstractSettingsApplication

This class is only visible from within AbstractSettingsApplication.

Inheritance:

   Object
   |
   +--Model
      |
      +--ApplicationModel
         |
         +--AbstractSettingsApplication
            |
            +--AbstractSettingsApplication::MiscDisplay2SettingsAppl

Package:
stx:libtool
Category:
Interface-Smalltalk
Owner:
AbstractSettingsApplication
Author:
Stefan Reise

Description:


display settings.


Class protocol:

constants
o  registryValueForHighDpiAware

o  regitsryValueForHighDpiUnAware

help specs
o  helpSpec
This resource specification was automatically generated
by the UIHelpTool of ST/X.

helpers
o  applyMarkThisApplicationAsHighDpiAware: aBoolean

o  commonSetDpiAwareModeForExpeccoBinaries: dpiAwareMode

o  setHighDpiAware
after set this key,
the next started stx/expecco instance will not be scaled by windows
you can check for success by inspect the binary properties
via windows context menu of the binary

Usage example(s):

        self unsetHighDpiAware.    
        self isHighDpiAwareSetInRegistry.
        self setHighDpiAware.          
        self isHighDpiAwareSetInRegistry.   

o  unsetHighDpiAware
after unset this key,
the next started stx/expecco instance will be scaled by windows
you can check for success by inspect the binary properties
via windows context menu of the binary

Usage example(s):

        self unsetHighDpiAware.    
        self isHighDpiAwareSetInRegistry.
        self setHighDpiAware.          
        self isHighDpiAwareSetInRegistry.

image specs
o  defaultIcon
This resource specification was automatically generated
by the ImageEditor of ST/X.

Usage example(s):

     self defaultIcon inspect
     ImageEditor openOnClass:self andSelector:#defaultIcon
     Icon flushCachedIcons

interface specs
o  windowSpec
This resource specification was automatically generated
by the UIPainter of ST/X.

Usage example(s):

     UIPainter new openOnClass:AbstractSettingsApplication::MiscDisplay2SettingsAppl andSelector:#windowSpec
     AbstractSettingsApplication::MiscDisplay2SettingsAppl new openInterface:#windowSpec
     AbstractSettingsApplication::MiscDisplay2SettingsAppl open

queries
o  isHighDpiAwareSetInRegistry
query if stx/expecco is high dpi aware,
if not: windows does scale expecco's windows (looks ugly)
if yes: windows assumes that expecco does it

Usage example(s):

        self isHighDpiAwareSetInRegistry        

o  registryKeyForHighDpiAware
self registryKeyForHighDpiAware

o  suppressScalingByWindowsHelpTextWithForView: aView
self suppressScalingByWindowsHelpTextWithForView:View new


Instance protocol:

actions
o  basicReadSettings
#markThisApplicationAsHighDpiAwareHolder is nil under linux/osx

o  basicSaveSettings
#markThisApplicationAsHighDpiAwareHolder is nil under linux/osx

aspects
o  aspects
(comment from inherited method)
if redefined to return a non-nil list of preference-key aspects,
you can then use the basicSaveSettings/basicReadSettings/hasUnsavedChanges
as inherited from here.
Otherwise, if you do not want the aspect-list-keys to be read/saved in the settings,
you MUST redefine all of the 3 above mentioned methods.

o  cartoonToolTipStyle

o  lowerOnRightClickInTitle

o  lowerOnShiftClickInTitle

o  markThisApplicationAsHighDpiAwareHolder
warning: nil if not running on linux/osx

o  nativeDialogs

o  nativeFileDialogs

o  nativeWidgets

o  opaqueTableColumnResizing

o  opaqueVariablePanelResizing

o  shadows

o  toolTipDelay

help
o  helpFilename
the path for a local help document (for offline reading)

o  helpTextForKey: aKey
(comment from inherited method)
flyByHelp interface:
return some short help text for a key.
Key is the symbol associated with some widget or menu item.
(from my helpSpec);
Return a language variant (if available).
Special: with CTRL, show how it is generated (the helpKey or action block)

initialization
o  initialize
(comment from inherited method)
must be called if redefined

queries
o  displaySupportsArbitraryShapedViews

o  displaySupportsNativeDialogs

o  displaySupportsNativeFileDialogs

o  displaySupportsNativeWidgets

o  hasUnsavedChanges
is nil unter linux

o  operatingSystemIsWindowsLike

updating
o  update: something with: aParameter from: changedObject
(comment from inherited method)
dependent is notified of some change -
Default is to try update:with:


Examples:


Notice that everything between [exBegin] and [exEnd] is extracted by the html-doc generator to create nicely formatted and clickable executable examples in the generated html-doc. (see the browser's class-documentation menu items for more) opening the application:
   AbstractSettingsApplication::MiscDisplay2SettingsAppl open
opening the application on some model:
   AbstractSettingsApplication::MiscDisplay2SettingsAppl openOn:aModel


ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Tue, 10 Dec 2024 08:49:13 GMT