Class: Gdk::Screen

Inherits:
Object
  • Object
show all
Defined in:
lib/gtk3/gdk-screen.rb

Instance Method Summary collapse

Instance Method Details

#add_style_provider(provider, priority = nil) ⇒ Object


19
20
21
# File 'lib/gtk3/gdk-screen.rb', line 19

def add_style_provider(provider, priority=nil)
  Gtk::StyleContext.add_provider_for_screen(self, provider, priority)
end

#remove_style_provider(provider) ⇒ Object


23
24
25
# File 'lib/gtk3/gdk-screen.rb', line 23

def remove_style_provider(provider)
  Gtk::StyleContext.remove_provider_for_screen(self, provider)
end