[ruby-gnome2-doc-cvs] [Hiki] update - Gtk::Plug

Back to archive index

ruby-****@lists***** ruby-****@lists*****
2003年 5月 26日 (月) 13:43:31 JST


-------------------------
REMOTE_ADDR = 61.204.181.66
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/?Gtk%3A%3APlug
-------------------------

-------------------------
= class Gtk::Plug
Together with Gtk::Socket, Gtk::Plug provides the ability to embed widgets from one process into another process in a fashion that is transparent to the user. One process creates a Gtk::Socket widget and, passes the ID of that widgets window to the other process, which then creates a Gtk::Plug with that window ID. Any widgets contained in the Gtk::Plug then will appear inside the first applications window.

== super class
* ((<Gtk::Window>))

== class methods
--- Gtk::Plug.new
    Creates a new plug widget inside the Gtk::Socket identified by socket_id. If socket_id is 0, the plug is left "unplugged" and can later be plugged into a Gtk::Socket by Gtk::Socket#add_id.
    * Returns: the new Gtk::Plug widget.  

== public instance methods
--- construct(socket_id)
    Finishes the creation of a GtkPlug widget. This function will generally only be used by classes deriving from Gtk::Plug.
    * socket_id: the window ID of the socket.  
    * Returns: self
--- id
    Gets the window ID of a Gtk::Plug widget, which can then be used to embed this window inside another window, for instance with Gtk::Socket#add_id.
    * Returns: the window ID for the plug 

== signals
--- embeded: self
     * self: Gtk::Plug

== See Also
Gtk::Socket - the widget that a Gtk::Plug plugs into.


- ((<Masao>))





ruby-gnome2-cvs メーリングリストの案内
Back to archive index