Class: Gtk::Plug
- Inherits:
-
Object
- Object
- Gtk::Plug
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#construct(socket_id) ⇒ nil
Finish the initialization of plug for a given Gtk::Socket identified by socket_id.
-
#construct_for_display(display, socket_id) ⇒ nil
Finish the initialization of plug for a given Gtk::Socket identified by socket_id which is currently displayed on display.
-
#embedded ⇒ TrueClass
Determines whether the plug is embedded in a socket.
-
#embedded=(embedded) ⇒ TrueClass
true if the plug is embedded in a socket.
-
#embedded? ⇒ TrueClass
true if the plug is embedded in a socket.
-
#id ⇒ xlib::Window
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().
-
#new(socket_id) ⇒ Gtk::Widget
Creates a new plug widget inside the Gtk::Socket identified by socket_id.
-
#new_for_display(display, socket_id) ⇒ Gtk::Widget
Create a new plug widget inside the Gtk::Socket identified by socket_id.
-
#socket_window ⇒ Gdk::Window
The window of the socket the plug is embedded in.
-
#socket_window=(socket_window) ⇒ Gdk::Window
The window of the socket the plug is embedded in.
Instance Method Details
#construct(socket_id) ⇒ nil
Finish the initialization of plug for a given Gtk::Socket identified by socket_id. This function will generally only be used by classes deriving from Gtk::Plug.
#construct_for_display(display, socket_id) ⇒ nil
Finish the initialization of plug for a given Gtk::Socket identified by socket_id which is currently displayed on display. This function will generally only be used by classes deriving from Gtk::Plug.
#embedded ⇒ TrueClass
Determines whether the plug is embedded in a socket.
#embedded=(embedded) ⇒ TrueClass
true if the plug is embedded in a socket.
#embedded? ⇒ TrueClass
true if the plug is embedded in a socket.
#id ⇒ xlib::Window
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().
#new(socket_id) ⇒ Gtk::Widget
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().
#new_for_display(display, socket_id) ⇒ Gtk::Widget
Create a new plug widget inside the Gtk::Socket identified by socket_id.
#socket_window ⇒ Gdk::Window
The window of the socket the plug is embedded in.
#socket_window=(socket_window) ⇒ Gdk::Window
The window of the socket the plug is embedded in.