Class: UI::WebDialog

Inherits:
Object show all
Defined in:
lib/webdialog.rb

Instance Method Summary collapse

Instance Method Details

#add_action_callback(callback_name) {|dialog, param| ... } ⇒ Nil

Parameters:

Yields:

  • (dialog, param)

Yield Parameters:

Returns:

  • (Nil)


11
12
# File 'lib/webdialog.rb', line 11

def add_action_callback(callback_name)
end

#allow_actions_from_host(hostname) ⇒ Nil

Parameters:

Returns:

  • (Nil)


17
18
# File 'lib/webdialog.rb', line 17

def allow_actions_from_host(hostname)
end

#bring_to_frontNil

Returns:

  • (Nil)


21
22
# File 'lib/webdialog.rb', line 21

def bring_to_front
end

#closeNil

Returns:

  • (Nil)


25
26
# File 'lib/webdialog.rb', line 25

def close
end

#execute_script(script) ⇒ Nil

Parameters:

Returns:

  • (Nil)


31
32
# File 'lib/webdialog.rb', line 31

def execute_script(script)
end

#get_default_dialog_colorString

Returns:



35
36
# File 'lib/webdialog.rb', line 35

def get_default_dialog_color
end

#get_element_value(element_id) ⇒ Nil

Parameters:

Returns:

  • (Nil)


41
42
# File 'lib/webdialog.rb', line 41

def get_element_value(element_id)
end

#max_heightInteger

Returns:

  • (Integer)


45
46
# File 'lib/webdialog.rb', line 45

def max_height
end

#max_height=(value) ⇒ Integer

Parameters:

  • value (Integer)

Returns:

  • (Integer)


51
52
# File 'lib/webdialog.rb', line 51

def max_height=(value)
end

#max_widthInteger

Returns:

  • (Integer)


55
56
# File 'lib/webdialog.rb', line 55

def max_width
end

#max_width=(value) ⇒ Integer

Parameters:

  • value (Integer)

Returns:

  • (Integer)


61
62
# File 'lib/webdialog.rb', line 61

def max_width=(value)
end

#min_heightInteger

Returns:

  • (Integer)


65
66
# File 'lib/webdialog.rb', line 65

def min_height
end

#min_height=(value) ⇒ Integer

Parameters:

  • value (Integer)

Returns:

  • (Integer)


71
72
# File 'lib/webdialog.rb', line 71

def min_height=(value)
end

#min_widthInteger

Returns:

  • (Integer)


75
76
# File 'lib/webdialog.rb', line 75

def min_width
end

#min_width=(value) ⇒ Integer

Parameters:

  • value (Integer)

Returns:

  • (Integer)


81
82
# File 'lib/webdialog.rb', line 81

def min_width=(value)
end

Parameters:

  • value (Boolean)

Returns:

  • (Boolean)


87
88
# File 'lib/webdialog.rb', line 87

def navigation_buttons_enabled=(value)
end

Returns:

  • (Boolean)


91
92
# File 'lib/webdialog.rb', line 91

def navigation_buttons_enabled?
end

#new(title, scrollable, preferences_key, width, height, left, top, resizable) ⇒ UI::WebDialog #new(options) ⇒ UI::WebDialog

Overloads:

  • #new(title, scrollable, preferences_key, width, height, left, top, resizable) ⇒ UI::WebDialog

    Parameters:

    • title (String)
    • scrollable (Boolean)
    • preferences_key (String)
    • width (Integer)
    • height (Integer)
    • left (Integer)
    • top (Integer)
    • resizable (Boolean)
  • #new(options) ⇒ UI::WebDialog

    Parameters:

    • preferences_key (Hash)

      options

    Options Hash (options):

    • :dialog_title (String)
    • :preferences_key (String)
    • :scrollable (Boolean)
    • :resizable (Boolean)
    • :top (Integer)
    • :left (Integer)
    • :width (Integer)
    • :height (Integer)
    • :mac_only_use_nswindow (Boolean)

Returns:



117
118
# File 'lib/webdialog.rb', line 117

def new(*args)
end

#post_urlNil

Parameters:

Returns:

  • (Nil)


124
125
# File 'lib/webdialog.rb', line 124

def post_url
end

#screen_scale_factorFloat

Returns screen scale factor.

Returns:

  • (Float)

    screen scale factor

Since:

  • SketchUp 2014



129
130
# File 'lib/webdialog.rb', line 129

def screen_scale_factor
end

#set_background_color(color) ⇒ Nil

Parameters:

Returns:

  • (Nil)


135
136
# File 'lib/webdialog.rb', line 135

def set_background_color(color)
end

#set_file(filename, path = nil) ⇒ Nil

Parameters:

Returns:

  • (Nil)


142
143
# File 'lib/webdialog.rb', line 142

def set_file(filename, path = nil)
end

#set_full_security(value) ⇒ UI::WebDialog

Parameters:

  • value (Boolean)

Returns:

Since:

  • SketchUp 7.1



150
151
# File 'lib/webdialog.rb', line 150

def set_full_security(value)
end

#set_html(html) ⇒ Nil

Parameters:

Returns:

  • (Nil)


156
157
# File 'lib/webdialog.rb', line 156

def set_html(html)
end

#set_on_close {|dialog| ... } ⇒ Nil

Yields:

  • (dialog)

Yield Parameters:

Returns:

  • (Nil)


163
164
# File 'lib/webdialog.rb', line 163

def set_on_close
end

#set_position(left, top) ⇒ Nil

Parameters:

  • left (Integer)
  • top (Integer)

Returns:

  • (Nil)


170
171
# File 'lib/webdialog.rb', line 170

def set_position(left, top)
end

#set_size(width, height) ⇒ Nil

Parameters:

  • width (Integer)
  • height (Integer)

Returns:

  • (Nil)


177
178
# File 'lib/webdialog.rb', line 177

def set_size(width, height)
end

#set_url(url) ⇒ Nil

Parameters:

Returns:

  • (Nil)


183
184
# File 'lib/webdialog.rb', line 183

def set_url(url)
end

#show {|dialog| ... } ⇒ Nil

Yields:

  • (dialog)

Yield Parameters:

Returns:

  • (Nil)


190
191
# File 'lib/webdialog.rb', line 190

def show
end

#show_modal {|dialog| ... } ⇒ Nil

Yields:

  • (dialog)

Yield Parameters:

Returns:

  • (Nil)


197
198
# File 'lib/webdialog.rb', line 197

def show_modal
end

#visible?Boolean

Returns:

  • (Boolean)


200
201
# File 'lib/webdialog.rb', line 200

def visible?
end