-
Notifications
You must be signed in to change notification settings - Fork 0
/
gohObjects.go
176 lines (166 loc) · 8.81 KB
/
gohObjects.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
// gohObjects.go
/*
Source file auto-generated on Sat, 24 Apr 2021 04:33:11 using Gotk3 Objects Handler v1.7.8
©2018-21 hfmrow https://hfmrow.github.io
This software use gotk3 that is licensed under the ISC License:
https://github.com/gotk3/gotk3/blob/master/LICENSE
Copyright ©2018-21 hfmrow - Search And Replace v1.10 github.com/hfmrow/search-and-replace
This program comes with absolutely no warranty. See the The MIT License (MIT) for details:
https://opensource.org/licenses/mit-license.php
*/
package main
import (
"github.com/gotk3/gotk3/gtk"
"github.com/hfmrow/gotk3_gtksource/source"
)
// Control over all used objects from glade.
var obj *MainControlsObj
/******************************/
/* Main structure Declaration */
/******************************/
type MainControlsObj struct {
btnFind *gtk.Button
btnReplaceInClipboard *gtk.Button
btnScan *gtk.Button
btnShowClipboard *gtk.Button
chkCaseSensitive *gtk.CheckButton
chkCharacterClass *gtk.CheckButton
chkCharacterClassStrictMode *gtk.CheckButton
chkFollowSymlinkDir *gtk.CheckButton
chkRegex *gtk.CheckButton
chkUseEscapeChar *gtk.CheckButton
chkUseEscapeCharToReplace *gtk.CheckButton
chkWholeWord *gtk.CheckButton
chkWildcard *gtk.CheckButton
clipboard *gtk.Clipboard /*MANUAL*/
entryExtMask *gtk.Entry
entryReplace *gtk.Entry
entrySearch *gtk.Entry
fileChooserBtn *gtk.FileChooserButton
findWin *gtk.Window
findWinBtnDeselect *gtk.Button
findWinBtnInvertSel *gtk.Button
findWinCancelBtn *gtk.Button
findWinChkBackUp *gtk.CheckButton
findWinChkDispForbFiles *gtk.CheckButton
findWinChkExpandAll *gtk.CheckButton
findWinGrid *gtk.Grid
findWinGridBtn *gtk.Grid
findWinReplaceBtn *gtk.Button
findWinScrollWin *gtk.ScrolledWindow
findWinTreeView *gtk.TreeView
imgTop *gtk.Image
ImgTopEventbox *gtk.EventBox
lblExtMask *gtk.Label
lblReplace *gtk.Label
lblSearch *gtk.Label
listViewFiles *gtk.TreeView
mainBox *gtk.Box
MainButtonOptions *gtk.Button
MainTopGrig *gtk.Grid
mainUiBuilder *gtk.Builder
mainWin *gtk.Window
mainWinBtnClose *gtk.Button
Map *source.SourceMap
OptionButtonDone *gtk.Button
OptionsEntryMaxFileSize *gtk.Entry
OptionsEntryMinFileSize *gtk.Entry
OptionsImageTop *gtk.Image
OptionsLabelChooseDepth *gtk.Label
OptionsLabelEnableDirChooser *gtk.Label
OptionsLabelMaxFileSize *gtk.Label
OptionsLabelMinFileSize *gtk.Label
OptionsWindow *gtk.Window
Paned *gtk.Paned
replaceGrid *gtk.Grid
scrolledWindowTreeView *gtk.ScrolledWindow
SourceToggleButtonMapWidth *gtk.ToggleButton
spinButtonDepth *gtk.SpinButton
statusbar *gtk.Statusbar
switchFileChooserButton *gtk.Switch
textWin *gtk.Window
textWinBox *gtk.Box
textWinBtnDone *gtk.Button
textWinChkShowModifications *gtk.CheckButton
textWinChkSyntxHighlight *gtk.CheckButton
textWinChkWrap *gtk.CheckButton
textWinComboBoxLanguage *gtk.ComboBoxText
textWinComboBoxTextStyleChooser *gtk.ComboBoxText
textWinGridTop *gtk.Grid
treeviewSelection *gtk.TreeSelection
View *source.SourceView
}
/******************************/
/* GtkObjects Initialisation */
/******************************/
// gladeObjParser: Initialise Gtk3 Objects into obj structure.
func gladeObjParser() {
obj.btnFind = loadObject("btnFind").(*gtk.Button)
obj.btnReplaceInClipboard = loadObject("btnReplaceInClipboard").(*gtk.Button)
obj.btnScan = loadObject("btnScan").(*gtk.Button)
obj.btnShowClipboard = loadObject("btnShowClipboard").(*gtk.Button)
obj.chkCaseSensitive = loadObject("chkCaseSensitive").(*gtk.CheckButton)
obj.chkCharacterClass = loadObject("chkCharacterClass").(*gtk.CheckButton)
obj.chkCharacterClassStrictMode = loadObject("chkCharacterClassStrictMode").(*gtk.CheckButton)
obj.chkFollowSymlinkDir = loadObject("chkFollowSymlinkDir").(*gtk.CheckButton)
obj.chkRegex = loadObject("chkRegex").(*gtk.CheckButton)
obj.chkUseEscapeChar = loadObject("chkUseEscapeChar").(*gtk.CheckButton)
obj.chkUseEscapeCharToReplace = loadObject("chkUseEscapeCharToReplace").(*gtk.CheckButton)
obj.chkWholeWord = loadObject("chkWholeWord").(*gtk.CheckButton)
obj.chkWildcard = loadObject("chkWildcard").(*gtk.CheckButton)
obj.entryExtMask = loadObject("entryExtMask").(*gtk.Entry)
obj.entryReplace = loadObject("entryReplace").(*gtk.Entry)
obj.entrySearch = loadObject("entrySearch").(*gtk.Entry)
obj.fileChooserBtn = loadObject("fileChooserBtn").(*gtk.FileChooserButton)
obj.findWin = loadObject("findWin").(*gtk.Window)
obj.findWinBtnDeselect = loadObject("findWinBtnDeselect").(*gtk.Button)
obj.findWinBtnInvertSel = loadObject("findWinBtnInvertSel").(*gtk.Button)
obj.findWinCancelBtn = loadObject("findWinCancelBtn").(*gtk.Button)
obj.findWinChkBackUp = loadObject("findWinChkBackUp").(*gtk.CheckButton)
obj.findWinChkDispForbFiles = loadObject("findWinChkDispForbFiles").(*gtk.CheckButton)
obj.findWinChkExpandAll = loadObject("findWinChkExpandAll").(*gtk.CheckButton)
obj.findWinGrid = loadObject("findWinGrid").(*gtk.Grid)
obj.findWinGridBtn = loadObject("findWinGridBtn").(*gtk.Grid)
obj.findWinReplaceBtn = loadObject("findWinReplaceBtn").(*gtk.Button)
obj.findWinScrollWin = loadObject("findWinScrollWin").(*gtk.ScrolledWindow)
obj.findWinTreeView = loadObject("findWinTreeView").(*gtk.TreeView)
obj.imgTop = loadObject("imgTop").(*gtk.Image)
obj.ImgTopEventbox = loadObject("ImgTopEventbox").(*gtk.EventBox)
obj.lblExtMask = loadObject("lblExtMask").(*gtk.Label)
obj.lblReplace = loadObject("lblReplace").(*gtk.Label)
obj.lblSearch = loadObject("lblSearch").(*gtk.Label)
obj.listViewFiles = loadObject("listViewFiles").(*gtk.TreeView)
obj.mainBox = loadObject("mainBox").(*gtk.Box)
obj.MainButtonOptions = loadObject("MainButtonOptions").(*gtk.Button)
obj.MainTopGrig = loadObject("MainTopGrig").(*gtk.Grid)
obj.mainWin = loadObject("mainWin").(*gtk.Window)
obj.mainWinBtnClose = loadObject("mainWinBtnClose").(*gtk.Button)
obj.Map = loadObject("Map").(*source.SourceMap)
obj.OptionButtonDone = loadObject("OptionButtonDone").(*gtk.Button)
obj.OptionsEntryMaxFileSize = loadObject("OptionsEntryMaxFileSize").(*gtk.Entry)
obj.OptionsEntryMinFileSize = loadObject("OptionsEntryMinFileSize").(*gtk.Entry)
obj.OptionsImageTop = loadObject("OptionsImageTop").(*gtk.Image)
obj.OptionsLabelChooseDepth = loadObject("OptionsLabelChooseDepth").(*gtk.Label)
obj.OptionsLabelEnableDirChooser = loadObject("OptionsLabelEnableDirChooser").(*gtk.Label)
obj.OptionsLabelMaxFileSize = loadObject("OptionsLabelMaxFileSize").(*gtk.Label)
obj.OptionsLabelMinFileSize = loadObject("OptionsLabelMinFileSize").(*gtk.Label)
obj.OptionsWindow = loadObject("OptionsWindow").(*gtk.Window)
obj.Paned = loadObject("Paned").(*gtk.Paned)
obj.replaceGrid = loadObject("replaceGrid").(*gtk.Grid)
obj.scrolledWindowTreeView = loadObject("scrolledWindowTreeView").(*gtk.ScrolledWindow)
obj.SourceToggleButtonMapWidth = loadObject("SourceToggleButtonMapWidth").(*gtk.ToggleButton)
obj.spinButtonDepth = loadObject("spinButtonDepth").(*gtk.SpinButton)
obj.statusbar = loadObject("statusbar").(*gtk.Statusbar)
obj.switchFileChooserButton = loadObject("switchFileChooserButton").(*gtk.Switch)
obj.textWin = loadObject("textWin").(*gtk.Window)
obj.textWinBox = loadObject("textWinBox").(*gtk.Box)
obj.textWinBtnDone = loadObject("textWinBtnDone").(*gtk.Button)
obj.textWinChkShowModifications = loadObject("textWinChkShowModifications").(*gtk.CheckButton)
obj.textWinChkSyntxHighlight = loadObject("textWinChkSyntxHighlight").(*gtk.CheckButton)
obj.textWinChkWrap = loadObject("textWinChkWrap").(*gtk.CheckButton)
obj.textWinComboBoxLanguage = loadObject("textWinComboBoxLanguage").(*gtk.ComboBoxText)
obj.textWinComboBoxTextStyleChooser = loadObject("textWinComboBoxTextStyleChooser").(*gtk.ComboBoxText)
obj.textWinGridTop = loadObject("textWinGridTop").(*gtk.Grid)
obj.treeviewSelection = loadObject("treeviewSelection").(*gtk.TreeSelection)
obj.View = loadObject("View").(*source.SourceView)
}