Codebase list ruby-fxruby / 5c2d0227-fc30-4ad3-b307-ed5ef791dacb/upstream rdoc-sources / FXId.rb
5c2d0227-fc30-4ad3-b307-ed5ef791dacb/upstream

Tree @5c2d0227-fc30-4ad3-b307-ed5ef791dacb/upstream (Download .tar.gz)

FXId.rb @5c2d0227-fc30-4ad3-b307-ed5ef791dacb/upstreamraw · history · blame

module Fox
  #
  # Encapsulates a server side resource.
  #
  class FXId < FXObject

    # Application {FXApp}
    attr_reader :app

    # User data [Object]
    attr_accessor :userData

    # XID handle for the server-side resource [Integer]
    attr_reader :xid

    #
    # Create resource.
    #
    def create(); end

    # Returns true if this resource has been created.
    def created?; end

    #
    # Detach resource.
    #
    def detach(); end

    #
    # Destroy resource.
    #
    def destroy(); end

    # Runs the specified block on the UI thread.
    #
    # The block is posted to the event queue of the UI thread.
    def runOnUiThread(&block); end
  end
end