Trait gtk::IsA [] [src]

pub unsafe trait IsA<T>: Wrapper + UnsafeFrom<ObjectRef> + ToGlibPtr<'a, *mut <T as Wrapper>::GlibType> + StaticType + Into<ObjectRef> where
    T: Wrapper + UnsafeFrom<ObjectRef> + StaticType
{ }

Declares the "is a" relationship.

Self is said to implement T.

For instance, since originally GtkWidget is a subclass of GObject and implements the GtkBuildable interface, gtk::Widget implements IsA<glib::Object> and IsA<gtk::Buildable>.

The trait can only be implemented if the appropriate ToGlibPtr implementations exist.

T always implements IsA<T>.

Implementations on Foreign Types

impl IsA<Object> for Cancellable
[src]

impl IsA<MenuModel> for Menu
[src]

impl IsA<Object> for MenuModel
[src]

impl IsA<Object> for MenuLinkIter
[src]

impl IsA<ActionMap> for Application
[src]

impl IsA<Object> for ActionMap
[src]

impl IsA<Object> for Menu
[src]

impl IsA<Object> for Settings
[src]

impl IsA<Object> for Application
[src]

impl IsA<Object> for MenuAttributeIter
[src]

impl IsA<ActionGroup> for Application
[src]

impl IsA<Object> for SimpleAction
[src]

impl IsA<Object> for SimplePermission
[src]

impl IsA<Object> for AppInfo
[src]

impl IsA<ActionMap> for SimpleActionGroup
[src]

impl IsA<Permission> for SimplePermission
[src]

impl IsA<Object> for Permission
[src]

impl IsA<Object> for File
[src]

impl IsA<Icon> for ThemedIcon
[src]

impl IsA<Object> for AppLaunchContext
[src]

impl IsA<Object> for TlsCertificate
[src]

impl IsA<Object> for Action
[src]

impl IsA<Object> for FileInfo
[src]

impl IsA<Object> for ThemedIcon
[src]

impl IsA<Object> for Icon
[src]

impl IsA<Action> for SimpleAction
[src]

impl IsA<Object> for MenuItem
[src]

impl IsA<Object> for ActionGroup
[src]

impl IsA<ActionGroup> for SimpleActionGroup
[src]

impl IsA<Object> for SimpleActionGroup
[src]

impl IsA<Object> for AppLaunchContext
[src]

impl IsA<Object> for Window
[src]

impl IsA<Object> for DragContext
[src]

impl IsA<Object> for Screen
[src]

impl IsA<Object> for Visual
[src]

impl IsA<Object> for Cursor
[src]

impl IsA<Object> for DeviceManager
[src]

impl IsA<Object> for Display
[src]

impl IsA<Object> for DisplayManager
[src]

impl IsA<Object> for Device
[src]

impl IsA<Object> for Font
[src]

impl IsA<Object> for Fontset
[src]

impl IsA<Object> for FontMap
[src]

impl IsA<Object> for FontFamily
[src]

impl IsA<Object> for Renderer
[src]

impl IsA<Object> for FontFace
[src]

impl IsA<Object> for Layout
[src]

impl IsA<Object> for Context
[src]

impl IsA<Object> for EngineShape
[src]

impl IsA<PixbufAnimation> for PixbufSimpleAnim
[src]

impl IsA<Object> for PixbufAnimation
[src]

impl IsA<Object> for PixbufLoader
[src]

impl IsA<Object> for Pixbuf
[src]

impl IsA<Object> for PixbufSimpleAnim
[src]

impl IsA<Object> for PixbufAnimationIter
[src]

Implementors