class MultimediaParadise::GUI::Gtk::VideoCollection

Public Class Methods

gtk3_widget() click to toggle source
#

MultimediaParadise::GUI::VideoCollection.gtk3_widget

#
# File lib/multimedia_paradise/gui/gtk3/video_collection/video_collection.rb, line 26
def self.gtk3_widget
  new
end
run() click to toggle source
#

MultimediaParadise::GUI::VideoCollection.run

#
# File lib/multimedia_paradise/gui/gtk2/video_collection/video_collection.rb, line 37
def self.run
  require 'gtk_paradise/run.rb'
  video_collection = new
  r = ::Gtk.run
  r << video_collection
  r.modify_background(:normal, :mediumaquamarine)
  video_collection.set_size_request(
    video_collection.width?,
    video_collection.height?
  )
  r.enable_simple_exit
  r.do_maximize_width
  r.top_left_then_run
end
run_gtk3_widget() click to toggle source
#

MultimediaParadise::GUI::VideoCollection.run_gtk3_widget

#
# File lib/multimedia_paradise/gui/gtk3/video_collection/video_collection.rb, line 33
def self.run_gtk3_widget
  new
  ::Gtk.enable_default_css
  ::Gtk.main
end