module Clutter::Threads - clutter-2.2.5 Documentation

# module Clutter::Threads

### Public Class Methods

add_idle(priority=nil, &block) click to toggle source

    # File lib/clutter/threads.rb, line 32
    def add_idle(priority=nil, &block)
      priority ||= GLib::PRIORITY_DEFAULT_IDLE
      add_idle_full(priority, &block)
    end

Also aliased as: add_idle_full
add_idle_full(priority=nil, &block)
Alias for: add_idle
add_timeout(interval_or_priority, interval=nil, &block) click to toggle source

    # File lib/clutter/threads.rb, line 21
    def add_timeout(interval_or_priority, interval=nil, &block)
      if interval.nil?
        priority, interval = GLib::PRIORITY_DEFAULT, interval_or_priority
        add_timeout_full(priority, interval, &block)
      else
        priority = interval_or_priority
        add_timeout_full(priority, interval, &block)
      end
    end

Also aliased as: add_timeout_full
add_timeout_full(interval_or_priority, interval=nil, &block)
Alias for: add_timeout