[]Struct gtk::Assistant

pub struct Assistant(_, _);

A Assistant is a widget used to represent a generally complex operation splitted in several steps, guiding the user through its pages and controlling the page flow to collect the necessary data.

The design of Assistant is that it controls what buttons to show and to make sensitive, based on what it knows about the page sequence and the type of each page, in addition to state information like the page [completion][gtk-assistant-set-page-complete] and [committed][gtk-assistant-commit] status.

If you have a case that doesn’t quite fit in GtkAssistants way of handling buttons, you can use the AssistantPageType::Custom page type and handle buttons yourself.

Assistant as Buildable

The Assistant implementation of the Buildable interface exposes the action_area as internal children with the name “action_area”.

To add pages to an assistant in Builder, simply add it as a child to the Assistant object, and set its child properties as necessary.

CSS nodes

Assistant has a single CSS node with the name assistant.

Implements

AssistantExt, GtkWindowExt, BinExt, ContainerExt, WidgetExt, glib::object::ObjectExt, BuildableExt, GtkWindowExtManual, WidgetExtManual, BuildableExtManual

Implementations

impl Assistant[src]

pub fn new() -> Assistant[src]

Creates a new Assistant.

Returns

a newly created Assistant

Trait Implementations

impl Clone for Assistant

impl Debug for Assistant

impl Default for Assistant[src]

impl Display for Assistant[src]

impl Eq for Assistant

impl Hash for Assistant

impl IsA<Bin> for Assistant

impl IsA<Buildable> for Assistant

impl IsA<Container> for Assistant

impl IsA<Widget> for Assistant

impl IsA<Window> for Assistant

impl Ord for Assistant

impl<T: ObjectType> PartialEq<T> for Assistant

impl<T: ObjectType> PartialOrd<T> for Assistant

impl StaticType for Assistant

Auto Trait Implementations

impl RefUnwindSafe for Assistant

impl !Send for Assistant

impl !Sync for Assistant

impl Unpin for Assistant

impl UnwindSafe for Assistant

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 

impl<T> Cast for T where
    T: ObjectType, 

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ObjectExt for T where
    T: ObjectType, 

impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<PtrArray>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<Array>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 

type Storage = (Option<PtrArray>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.