[−][src]Trait gtk::PlugExt
Required methods
fn construct(&self, socket_id: Window)
Finish the initialization of self for a given Socket identified by
socket_id. This function will generally only be used by classes deriving from Plug.
socket_id
the XID of the socket’s window.
fn construct_for_display(&self, display: &Display, socket_id: Window)
Finish the initialization of self for a given Socket identified by
socket_id which is currently displayed on display.
This function will generally only be used by classes deriving from Plug.
display
the gdk::Display associated with socket_id’s
Socket.
socket_id
the XID of the socket’s window.
fn get_embedded(&self) -> bool
Determines whether the plug is embedded in a socket.
Returns
true if the plug is embedded in a socket
fn get_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
fn get_socket_window(&self) -> Option<Window>
fn connect_embedded<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
Gets emitted when the plug becomes embedded in a socket.
fn connect_property_embedded_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_socket_window_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<Plug>> PlugExt for O[src]
fn construct(&self, socket_id: Window)[src]
fn construct_for_display(&self, display: &Display, socket_id: Window)[src]
fn get_embedded(&self) -> bool[src]
fn get_id(&self) -> Window[src]
fn get_socket_window(&self) -> Option<Window>[src]
fn connect_embedded<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId[src]
fn connect_property_embedded_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_socket_window_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
&self,
f: F
) -> SignalHandlerId