class RBT::GUI::Gtk::UrlAction
Constants
- HEIGHT
#¶ ↑
HEIGHT
¶ ↑#¶ ↑
- TITLE
#¶ ↑
TITLE
¶ ↑#¶ ↑
- USE_THIS_FONT
#¶ ↑
USE_THIS_FONT
¶ ↑#¶ ↑
- WIDTH
#¶ ↑
WIDTH
¶ ↑#¶ ↑
Public Class Methods
new( commandline_arguments = ARGV, run_already = true )
click to toggle source
run( i = ARGV )
click to toggle source
Public Instance Methods
border_size?()
click to toggle source
connect_skeleton()
click to toggle source
create_entries()
click to toggle source
#¶ ↑
create_entries
¶ ↑
#¶ ↑
# File lib/rbt/gui/gtk/url_action/url_action.rb, line 130 def create_entries # ========================================================================== # # === @entry # ========================================================================== # @entry = gtk_entry @entry.set_max_length 50 # @entry.set_activates_default(true) @entry.signal_connect(:key_press_event) { |widget, event| key_pressed = Gdk::Keyval.to_name(event.keyval) case key_pressed when 'Return','KP_Enter' @entry.set_focus true @button.signal_emit :clicked else # debug info # pp key_pressed end } end
create_scrolled_windows()
click to toggle source
create_skeleton()
click to toggle source
padding?()
click to toggle source
reset()
click to toggle source
#¶ ↑
reset (reset tag)¶ ↑
#¶ ↑
# File lib/rbt/gui/gtk/url_action/url_action.rb, line 67 def reset reset_the_internal_variables infer_the_namespace # ======================================================================= # # === @configuration # ======================================================================= # @configuration = [true, __dir__, namespace?] # ======================================================================= # # === Set the title, width, height and the font in use. # ======================================================================= # title_width_height_font(TITLE, WIDTH, HEIGHT, USE_THIS_FONT) use_gtk_paradise_project_css_file infer_the_size_automatically # ======================================================================= # # === @url_action # ======================================================================= # @url_action = ::RBT::UrlAction.new('', :do_not_run_yet) end
run()
click to toggle source
send_message_to_url_action(this_action = 'query/wget')
click to toggle source