pub trait PlugExt: 'static {
    fn construct(&self, socket_id: Window);
    fn construct_for_display(&self, display: &Display, socket_id: Window);
    fn is_embedded(&self) -> bool;
    fn id(&self) -> Window;
    fn socket_window(&self) -> Option<Window>;
    fn connect_embedded<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
    fn connect_embedded_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
    fn connect_socket_window_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}Available on 
gdk_backend="x11" only.Expand description
Required Methods
sourcefn construct_for_display(&self, display: &Display, socket_id: Window)
 
fn construct_for_display(&self, display: &Display, socket_id: Window)
sourcefn is_embedded(&self) -> bool
 
fn is_embedded(&self) -> bool
sourcefn id(&self) -> Window
 
fn id(&self) -> Window
Gets the window ID of a Plug widget, which can then
be used to embed this window inside another window, for
instance with GtkSocketExt::add_id().
Returns
the window ID for the plug
sourcefn socket_window(&self) -> Option<Window>
 
fn socket_window(&self) -> Option<Window>
sourcefn connect_embedded<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
 
fn connect_embedded<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
Gets emitted when the plug becomes embedded in a socket.