godock: github.com/sqp/godock/libs/gldi/globals Index | Files

package globals

import "github.com/sqp/godock/libs/gldi/globals"

Package globals provides access to the dock global variables.

Index

Package Files

globals.go

Constants

const (
    IconNameAbout                = C.GLDI_ICON_NAME_ABOUT
    IconNameAdd                  = C.GLDI_ICON_NAME_ADD
    IconNameBold                 = C.GLDI_ICON_NAME_BOLD
    IconNameCapsLockWarning      = C.GLDI_ICON_NAME_CAPS_LOCK_WARNING
    IconNameCDROM                = C.GLDI_ICON_NAME_CDROM
    IconNameClear                = C.GLDI_ICON_NAME_CLEAR
    IconNameClose                = C.GLDI_ICON_NAME_CLOSE
    IconNameConnect              = C.GLDI_ICON_NAME_CONNECT
    IconNameCopy                 = C.GLDI_ICON_NAME_COPY
    IconNameCut                  = C.GLDI_ICON_NAME_CUT
    IconNameDelete               = C.GLDI_ICON_NAME_DELETE
    IconNameDialogAuthentication = C.GLDI_ICON_NAME_DIALOG_AUTHENTICATION
    IconNameDialogInfo           = C.GLDI_ICON_NAME_DIALOG_INFO
    IconNameDialogWarning        = C.GLDI_ICON_NAME_DIALOG_WARNING
    IconNameDialogError          = C.GLDI_ICON_NAME_DIALOG_ERROR
    IconNameDialogQuestion       = C.GLDI_ICON_NAME_DIALOG_QUESTION
    IconNameDirectory            = C.GLDI_ICON_NAME_DIRECTORY
    IconNameDisconnect           = C.GLDI_ICON_NAME_DISCONNECT
    IconNameEdit                 = C.GLDI_ICON_NAME_EDIT
    IconNameExecute              = C.GLDI_ICON_NAME_EXECUTE
    IconNameFile                 = C.GLDI_ICON_NAME_FILE
    IconNameFind                 = C.GLDI_ICON_NAME_FIND
    IconNameFindAndReplace       = C.GLDI_ICON_NAME_FIND_AND_REPLACE
    IconNameFloppy               = C.GLDI_ICON_NAME_FLOPPY
    IconNameFullScreen           = C.GLDI_ICON_NAME_FULLSCREEN
    IconNameGotoBottom           = C.GLDI_ICON_NAME_GOTO_BOTTOM
    IconNameGotoFirst            = C.GLDI_ICON_NAME_GOTO_FIRST
    IconNameGotoLast             = C.GLDI_ICON_NAME_GOTO_LAST
    IconNameGotoTop              = C.GLDI_ICON_NAME_GOTO_TOP
    IconNameGoBack               = C.GLDI_ICON_NAME_GO_BACK
    IconNameGoDown               = C.GLDI_ICON_NAME_GO_DOWN
    IconNameGoForward            = C.GLDI_ICON_NAME_GO_FORWARD
    IconNameGoUp                 = C.GLDI_ICON_NAME_GO_UP
    IconNameHardDisk             = C.GLDI_ICON_NAME_HARDDISK
    IconNameHelp                 = C.GLDI_ICON_NAME_HELP
    IconNameHome                 = C.GLDI_ICON_NAME_HOME
    IconNameIndent               = C.GLDI_ICON_NAME_INDENT
    IconNameInfo                 = C.GLDI_ICON_NAME_INFO
    IconNameItalic               = C.GLDI_ICON_NAME_ITALIC
    IconNameJumpTo               = C.GLDI_ICON_NAME_JUMP_TO
    IconNameJustifyCenter        = C.GLDI_ICON_NAME_JUSTIFY_CENTER
    IconNameJustifyFill          = C.GLDI_ICON_NAME_JUSTIFY_FILL
    IconNameJustifyLeft          = C.GLDI_ICON_NAME_JUSTIFY_LEFT
    IconNameJustifyRight         = C.GLDI_ICON_NAME_JUSTIFY_RIGHT
    IconNameLeaveFullScreen      = C.GLDI_ICON_NAME_LEAVE_FULLSCREEN
    IconNameMissingImage         = C.GLDI_ICON_NAME_MISSING_IMAGE
    IconNameMediaEject           = C.GLDI_ICON_NAME_MEDIA_EJECT
    IconNameMediaForward         = C.GLDI_ICON_NAME_MEDIA_FORWARD
    IconNameMediaNext            = C.GLDI_ICON_NAME_MEDIA_NEXT
    IconNameMediaPause           = C.GLDI_ICON_NAME_MEDIA_PAUSE
    IconNameMediaPlay            = C.GLDI_ICON_NAME_MEDIA_PLAY
    IconNameMediaPrevious        = C.GLDI_ICON_NAME_MEDIA_PREVIOUS
    IconNameMediaRecord          = C.GLDI_ICON_NAME_MEDIA_RECORD
    IconNameMediaRewind          = C.GLDI_ICON_NAME_MEDIA_REWIND
    IconNameMediaStop            = C.GLDI_ICON_NAME_MEDIA_STOP
    IconNameNetwork              = C.GLDI_ICON_NAME_NETWORK
    IconNameNew                  = C.GLDI_ICON_NAME_NEW
    IconNameOpen                 = C.GLDI_ICON_NAME_OPEN
    IconNameSetup                = C.GLDI_ICON_NAME_PAGE_SETUP
    IconNamePaste                = C.GLDI_ICON_NAME_PASTE
    IconNamePreferences          = C.GLDI_ICON_NAME_PREFERENCES
    IconNamePrint                = C.GLDI_ICON_NAME_PRINT
    IconNamePrintError           = C.GLDI_ICON_NAME_PRINT_ERROR
    IconNameProperties           = C.GLDI_ICON_NAME_PROPERTIES
    IconNameQuit                 = C.GLDI_ICON_NAME_QUIT
    IconNameRedo                 = C.GLDI_ICON_NAME_REDO
    IconNameRefresh              = C.GLDI_ICON_NAME_REFRESH
    IconNameRemove               = C.GLDI_ICON_NAME_REMOVE
    IconNameRevertToSaved        = C.GLDI_ICON_NAME_REVERT_TO_SAVED
    IconNameSave                 = C.GLDI_ICON_NAME_SAVE
    IconNameSaveAs               = C.GLDI_ICON_NAME_SAVE_AS
    IconNameSelectAll            = C.GLDI_ICON_NAME_SELECT_ALL
    IconNameSelectColor          = C.GLDI_ICON_NAME_SELECT_COLOR
    IconNameSelectFont           = C.GLDI_ICON_NAME_SELECT_FONT
    IconNameSortAscending        = C.GLDI_ICON_NAME_SORT_ASCENDING
    IconNameSortDescending       = C.GLDI_ICON_NAME_SORT_DESCENDING
    IconNameSpellCheck           = C.GLDI_ICON_NAME_SPELL_CHECK
    IconNameStop                 = C.GLDI_ICON_NAME_STOP
    IconNameUnderline            = C.GLDI_ICON_NAME_UNDERLINE
    IconNameUndo                 = C.GLDI_ICON_NAME_UNDO
    IconNameUnindent             = C.GLDI_ICON_NAME_UNINDENT
    IconNameZoom100              = C.GLDI_ICON_NAME_ZOOM_100
    IconNameZoomFit              = C.GLDI_ICON_NAME_ZOOM_FIT
    IconNameZoomIn               = C.GLDI_ICON_NAME_ZOOM_IN
    IconNameZoomOut              = C.GLDI_ICON_NAME_ZOOM_OUT
)

Icon names.

Variables

var (
    // FullLock represents the full settings lock from -k option at start.
    // Config must not be changed if true.
    FullLock bool
)

func ConfigFile Uses

func ConfigFile() string

ConfigFile returns the path of the current config file (in use).

func ConfigFileDefault Uses

func ConfigFileDefault() string

ConfigFileDefault returns the path of the default config file (unchanged).

func CurrentLaunchersPath Uses

func CurrentLaunchersPath() string

CurrentLaunchersPath returns the path to the launchers dir.

func CurrentThemePath Uses

func CurrentThemePath(path ...string) string

CurrentThemePath returns the path to the current theme (in use).

func DirCurrentIcons Uses

func DirCurrentIcons() string

DirCurrentIcons returns the path to current theme icons dir.

func DirDockData Uses

func DirDockData(path ...string) string

DirDockData returns the path to the dock data dir.

func DirShareData Uses

func DirShareData(path ...string) string

DirShareData returns the path to the share data dir.

func DirUserAppData Uses

func DirUserAppData(path ...string) (string, error)

DirUserAppData returns the path to user applet common data in ~/.cairo-dock/

func FileCairoDockIcon Uses

func FileCairoDockIcon() string

FileCairoDockIcon gives the location of the cairo-dock icon.

func GtkVersion Uses

func GtkVersion() (int, int, int)

GtkVersion returns the GTK version used to compile gldi.

func Maindock Uses

func Maindock() *gldi.CairoDock

Maindock returns the primary main dock object.

func PrimaryContainer Uses

func PrimaryContainer() *gldi.Container

PrimaryContainer returns the main primary container object.

func Version Uses

func Version() string

Version returns the current version of the dock.

func VersionSplit Uses

func VersionSplit() (int, int, int)

VersionSplit returns the current version of the dock.

Package globals imports 6 packages (graph) and is imported by 10 packages. Updated 2016-09-13. Refresh now. Tools for package owners.