sketchup-api-stubs 0.7.6 → 0.7.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sketchup-api-stubs/sketchup.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Geom/BoundingBox.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Geom/Bounds2d.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Geom/LatLong.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Geom/OrientedBounds2d.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Geom/Point2d.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Geom/Point3d.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Geom/PolygonMesh.rb +21 -10
- data/lib/sketchup-api-stubs/stubs/Geom/Transformation.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Geom/Transformation2d.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Geom/UTM.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Geom/Vector2d.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Geom/Vector3d.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Layout.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Layout/AngularDimension.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Layout/AutoTextDefinition.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Layout/AutoTextDefinitions.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Layout/ConnectionPoint.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Layout/Document.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Layout/Ellipse.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Layout/Entities.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Layout/Entity.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Layout/FormattedText.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Layout/Grid.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Layout/Group.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Layout/Image.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Layout/Label.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Layout/Layer.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Layout/LayerInstance.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Layout/Layers.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Layout/LinearDimension.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Layout/LockedEntityError.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Layout/LockedLayerError.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Layout/Page.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Layout/PageInfo.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Layout/Pages.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Layout/Path.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Layout/Rectangle.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Layout/SketchUpModel.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Layout/Style.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Layout/Table.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Layout/TableCell.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Layout/TableColumn.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Layout/TableRow.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Animation.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/AppObserver.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/ArcCurve.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/AttributeDictionaries.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/AttributeDictionary.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Axes.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Behavior.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Camera.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/ClassificationSchema.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Classifications.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Color.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/ComponentDefinition.rb +2 -2
- data/lib/sketchup-api-stubs/stubs/Sketchup/ComponentInstance.rb +35 -45
- data/lib/sketchup-api-stubs/stubs/Sketchup/Console.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/ConstructionLine.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/ConstructionPoint.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Curve.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/DefinitionList.rb +76 -13
- data/lib/sketchup-api-stubs/stubs/Sketchup/DefinitionObserver.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/DefinitionsObserver.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Dimension.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/DimensionLinear.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/DimensionObserver.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/DimensionRadial.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Drawingelement.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Edge.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/EdgeUse.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Entities.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/EntitiesObserver.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Entity.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/EntityObserver.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/ExtensionsManager.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Face.rb +224 -58
- data/lib/sketchup-api-stubs/stubs/Sketchup/FrameChangeObserver.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Group.rb +52 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Http.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Http/Request.rb +48 -41
- data/lib/sketchup-api-stubs/stubs/Sketchup/Http/Response.rb +7 -7
- data/lib/sketchup-api-stubs/stubs/Sketchup/Image.rb +52 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/ImageRep.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Importer.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/InputPoint.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/InstanceObserver.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/InstancePath.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Layer.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/LayerFolder.rb +3 -3
- data/lib/sketchup-api-stubs/stubs/Sketchup/Layers.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/LayersObserver.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Licensing.rb +2 -2
- data/lib/sketchup-api-stubs/stubs/Sketchup/Licensing/ExtensionLicense.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/LineStyle.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/LineStyles.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Loop.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Material.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Materials.rb +2 -2
- data/lib/sketchup-api-stubs/stubs/Sketchup/MaterialsObserver.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Menu.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Model.rb +4 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/ModelObserver.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/OptionsManager.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/OptionsProvider.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/OptionsProviderObserver.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Page.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Pages.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/PagesObserver.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/PickHelper.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/RegionalSettings.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptionsObserver.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/SectionPlane.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Selection.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/SelectionObserver.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Set.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/ShadowInfo.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/ShadowInfoObserver.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Skp.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Style.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Styles.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Text.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Texture.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/TextureWriter.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Tool.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Tools.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/ToolsObserver.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/UVHelper.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/Vertex.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/View.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/Sketchup/ViewObserver.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/UI/Command.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/UI/HtmlDialog.rb +98 -7
- data/lib/sketchup-api-stubs/stubs/UI/Notification.rb +69 -55
- data/lib/sketchup-api-stubs/stubs/UI/Toolbar.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/UI/WebDialog.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/_top_level.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/array.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/geom.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/languagehandler.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/length.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/numeric.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/sketchup.rb +12 -1
- data/lib/sketchup-api-stubs/stubs/sketchupextension.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/string.rb +1 -1
- data/lib/sketchup-api-stubs/stubs/ui.rb +8 -4
- metadata +3 -3
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright:: Copyright
|
1
|
+
# Copyright:: Copyright 2021 Trimble Inc.
|
2
2
|
# License:: The MIT License (MIT)
|
3
3
|
|
4
4
|
# The +Sketchup::Licensing+ module contains methods for
|
@@ -10,7 +10,7 @@
|
|
10
10
|
# than their Ruby API counterparts.
|
11
11
|
#
|
12
12
|
# For more details, see:
|
13
|
-
# {
|
13
|
+
# {Licensing Example}[https://github.com/SketchUp/sketchup-ruby-api-tutorials/tree/master/examples/99_license]
|
14
14
|
#
|
15
15
|
# @version SketchUp 2015
|
16
16
|
module Sketchup::Licensing
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright:: Copyright
|
1
|
+
# Copyright:: Copyright 2021 Trimble Inc.
|
2
2
|
# License:: The MIT License (MIT)
|
3
3
|
|
4
4
|
# A collection of Materials objects. Each model contains a Materials collection
|
@@ -191,7 +191,7 @@ class Sketchup::Materials < Sketchup::Entity
|
|
191
191
|
|
192
192
|
# The {#load} method is used to load a material from file into the model.
|
193
193
|
#
|
194
|
-
# If a matching material exist in the model
|
194
|
+
# If a matching material exist in the model it will be returned instead.
|
195
195
|
#
|
196
196
|
# @example
|
197
197
|
# # Load a material from the shipped SketchUp library. (SketchUp 2016)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright:: Copyright
|
1
|
+
# Copyright:: Copyright 2021 Trimble Inc.
|
2
2
|
# License:: The MIT License (MIT)
|
3
3
|
|
4
4
|
# This is the interface to a SketchUp model. The model is the 3D drawing that
|
@@ -853,6 +853,9 @@ class Sketchup::Model
|
|
853
853
|
# The import method is used to load a file by recognizing the file extension
|
854
854
|
# and calling appropriate importer.
|
855
855
|
#
|
856
|
+
# See {Sketchup::DefinitionList#import} for importing a 3d model file as a
|
857
|
+
# component definition, without activating the UI for placing an instance.
|
858
|
+
#
|
856
859
|
# See the {file:pages/importer_options.md Importer Options} file for information
|
857
860
|
# on creating a valid hash for the various importers.
|
858
861
|
#
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright:: Copyright
|
1
|
+
# Copyright:: Copyright 2021 Trimble Inc.
|
2
2
|
# License:: The MIT License (MIT)
|
3
3
|
|
4
4
|
# The Ruby HtmlDialog class allows you to create and interact with HTML dialog
|
@@ -17,11 +17,26 @@
|
|
17
17
|
# For usage examples, including how to migrate from the old WebDialog class,
|
18
18
|
# see https://github.com/SketchUp/htmldialog-examples.
|
19
19
|
#
|
20
|
+
# HtmlDialog uses the following versions of CEF (Chromium Embedded Framework):
|
21
|
+
#
|
22
|
+
# [SketchUp 2021.1]
|
23
|
+
# CEF 88
|
24
|
+
# [SketchUp 2019.0]
|
25
|
+
# CEF 64
|
26
|
+
# [SketchUp 2018.0]
|
27
|
+
# CEF 56
|
28
|
+
# [SketchUp 2017.0]
|
29
|
+
# CEF 52
|
30
|
+
#
|
20
31
|
# @version SketchUp 2017
|
21
32
|
class UI::HtmlDialog
|
22
33
|
|
23
34
|
# Constants
|
24
35
|
|
36
|
+
CEF_VERSION = nil # Stub value.
|
37
|
+
|
38
|
+
CHROME_VERSION = nil # Stub value.
|
39
|
+
|
25
40
|
STYLE_DIALOG = nil # Stub value.
|
26
41
|
STYLE_UTILITY = nil # Stub value.
|
27
42
|
STYLE_WINDOW = nil # Stub value.
|
@@ -81,11 +96,16 @@ class UI::HtmlDialog
|
|
81
96
|
# The {#bring_to_front} method is used to bring the window to the front,
|
82
97
|
# putting it on top of other windows even if its minimized.
|
83
98
|
#
|
99
|
+
# @bug Prior to SketchUp 2021.1, on Mac, the focus the was not being set
|
100
|
+
# on the {UI::HtmlDialog}.
|
101
|
+
#
|
84
102
|
# @example
|
85
103
|
# dialog.bring_to_front
|
86
104
|
#
|
87
105
|
# @return [nil]
|
88
106
|
#
|
107
|
+
# @see Sketchup.focus
|
108
|
+
#
|
89
109
|
# @version SketchUp 2017
|
90
110
|
def bring_to_front
|
91
111
|
end
|
@@ -97,7 +117,7 @@ class UI::HtmlDialog
|
|
97
117
|
# @example
|
98
118
|
# dialog.center
|
99
119
|
#
|
100
|
-
# @return [true]
|
120
|
+
# @return [true] This always return true, never false.
|
101
121
|
#
|
102
122
|
# @version SketchUp 2017
|
103
123
|
def center
|
@@ -130,8 +150,54 @@ class UI::HtmlDialog
|
|
130
150
|
def execute_script(script)
|
131
151
|
end
|
132
152
|
|
153
|
+
# The {#get_content_size} method is used to get the content size of the HtmlDialog, in logical pixels.
|
154
|
+
#
|
155
|
+
# @example
|
156
|
+
# width, height = dialog.get_content_size
|
157
|
+
#
|
158
|
+
# @return [Array(Integer, Integer), nil] Content width and height of the HtmlDialog.
|
159
|
+
# A nil value is returned if the HtmlDialog
|
160
|
+
# is not visible.
|
161
|
+
#
|
162
|
+
# @version SketchUp 2021.1
|
163
|
+
def get_content_size
|
164
|
+
end
|
165
|
+
|
166
|
+
# The {#get_position} method is used to get the position of the HtmlDialog
|
167
|
+
# relative to the screen, in logical pixels.
|
168
|
+
#
|
169
|
+
# @example
|
170
|
+
# left, top = dialog.get_position
|
171
|
+
#
|
172
|
+
# @return [Array(Integer, Integer), nil] Left and top position of the dialog.
|
173
|
+
# A nil value is returned if the HtmlDialog
|
174
|
+
# is not visible.
|
175
|
+
#
|
176
|
+
# @version SketchUp 2021.1
|
177
|
+
def get_position
|
178
|
+
end
|
179
|
+
|
180
|
+
# The {#get_size} method is used to get the outer frame size of the HtmlDialog, in logical pixels.
|
181
|
+
#
|
182
|
+
# @example
|
183
|
+
# width, height = dialog.get_size
|
184
|
+
#
|
185
|
+
# @return [Array(Integer, Integer), nil] Outer frame width and height of the HtmlDialog.
|
186
|
+
# A nil value is returned if the HtmlDialog
|
187
|
+
# is not visible.
|
188
|
+
#
|
189
|
+
# @version SketchUp 2021.1
|
190
|
+
def get_size
|
191
|
+
end
|
192
|
+
|
133
193
|
# The new method is used to create a new HtmlDialog.
|
134
194
|
#
|
195
|
+
# When +use_content_size+ is set to +true+, +width+, +height+, +min_width+,
|
196
|
+
# +max width+, +min_height+, +max_height+ will represent the size of the
|
197
|
+
# content area of the window. This excludes the titlebar and the window frame.
|
198
|
+
# When +use_content_size+ is set to +false+ (the default value),
|
199
|
+
# the size dimensions will represent the outer frame size.
|
200
|
+
#
|
135
201
|
# The +properties+ hash accepts an optional key +style+ where the value is
|
136
202
|
# one of:
|
137
203
|
#
|
@@ -204,6 +270,8 @@ class UI::HtmlDialog
|
|
204
270
|
#
|
205
271
|
# @option properties [Boolean] :resizable (true)
|
206
272
|
#
|
273
|
+
# @option properties [Boolean] :use_content_size (false)
|
274
|
+
#
|
207
275
|
# @option properties [Integer] :width (250)
|
208
276
|
#
|
209
277
|
# @option properties [Integer] :height (250)
|
@@ -248,6 +316,23 @@ class UI::HtmlDialog
|
|
248
316
|
def set_can_close
|
249
317
|
end
|
250
318
|
|
319
|
+
# The {#set_content_size} method is used to set the content size of the HtmlDialog, in logical pixels.
|
320
|
+
#
|
321
|
+
# @example
|
322
|
+
# dialog.set_content_size(600, 400)
|
323
|
+
#
|
324
|
+
# @param [Integer] width
|
325
|
+
# Content width of the HtmlDialog.
|
326
|
+
#
|
327
|
+
# @param [Integer] height
|
328
|
+
# Content height of the HtmlDialog.
|
329
|
+
#
|
330
|
+
# @return [nil]
|
331
|
+
#
|
332
|
+
# @version SketchUp 2021.1
|
333
|
+
def set_content_size(width, height)
|
334
|
+
end
|
335
|
+
|
251
336
|
# The {#set_file} method is used to identify a local HTML file to display in the
|
252
337
|
# HtmlDialog.
|
253
338
|
#
|
@@ -296,6 +381,9 @@ class UI::HtmlDialog
|
|
296
381
|
# The {#set_position} method is used to set the position of the HtmlDialog
|
297
382
|
# relative to the screen, in pixels.
|
298
383
|
#
|
384
|
+
# @bug Prior to SketchUp 2021.1, on Windows, calling this method incorrectly
|
385
|
+
# set the focus on the {UI::HtmlDialog}.
|
386
|
+
#
|
299
387
|
# @example
|
300
388
|
# dialog.set_position(100, 50)
|
301
389
|
#
|
@@ -305,24 +393,27 @@ class UI::HtmlDialog
|
|
305
393
|
# @param [Integer] top
|
306
394
|
# The number of pixels from the top of the screen.
|
307
395
|
#
|
308
|
-
# @return [true]
|
396
|
+
# @return [true] This always return true, never false.
|
309
397
|
#
|
310
398
|
# @version SketchUp 2017
|
311
399
|
def set_position(left, top)
|
312
400
|
end
|
313
401
|
|
314
|
-
# The {#set_size} method is used to set the size of the HtmlDialog, in pixels.
|
402
|
+
# The {#set_size} method is used to set the outer frame size of the HtmlDialog, in pixels.
|
403
|
+
#
|
404
|
+
# @bug Prior to SketchUp 2021.1, on Windows, calling this method incorrectly
|
405
|
+
# set the focus on the {UI::HtmlDialog}.
|
315
406
|
#
|
316
407
|
# @example
|
317
408
|
# dialog.set_size(320, 240)
|
318
409
|
#
|
319
410
|
# @param [Integer] width
|
320
|
-
#
|
411
|
+
# Outer frame width of the HtmlDialog.
|
321
412
|
#
|
322
413
|
# @param [Integer] height
|
323
|
-
#
|
414
|
+
# Outer frame height of the HtmlDialog.
|
324
415
|
#
|
325
|
-
# @return [true]
|
416
|
+
# @return [true] This always return true, never false.
|
326
417
|
#
|
327
418
|
# @version SketchUp 2017
|
328
419
|
def set_size(width, height)
|