Trait ux::native::DialogExt[][src]

pub trait DialogExt: 'static {
    pub fn add_action<P>(&self, action: &P)
    where
        P: Is<PushAction>
;
pub fn get_actions(&self) -> Vec<PushAction, Global>

Notable traits for Vec<u8, A>

impl<A> Write for Vec<u8, A> where
    A: Allocator
;
pub fn remove_action<P>(&self, action: &P)
    where
        P: Is<PushAction>
;
pub fn set_transient_parent<P>(&self, actor: &P)
    where
        P: Is<Actor>
; }

Required methods

pub fn add_action<P>(&self, action: &P) where
    P: Is<PushAction>, 
[src]

add_action: @dialog: A #Dialog @action: A #PushAction

Adds an #Button that represents @action to the button area of @dialog

pub fn get_actions(&self) -> Vec<PushAction, Global>

Notable traits for Vec<u8, A>

impl<A> Write for Vec<u8, A> where
    A: Allocator
[src]

get_actions: @dialog: A #Dialog

Retrieves a list of actions added to @dialog.

Returns: (transfer container) (element-type PushAction): A newly allocated #GList of #PushAction objects. The actions in the list are owned by the dialog.

pub fn remove_action<P>(&self, action: &P) where
    P: Is<PushAction>, 
[src]

remove_action: @dialog: A #Dialog @action: A #PushAction

Removes the button associated with @action from the button area of @dialog

pub fn set_transient_parent<P>(&self, actor: &P) where
    P: Is<Actor>, 
[src]

set_transient_parent: @dialog: A #Dialog @actor: A #Actor

Sets the parent of the #Dialog. This is the actor over which the modal frame will appear when actor_show() is called.

Loading content...

Implementors

impl<O> DialogExt for O where
    O: Is<Dialog>, 
[src]

pub fn add_action<P>(&self, action: &P) where
    P: Is<PushAction>, 
[src]

add_action: @dialog: A #Dialog @action: A #PushAction

Adds an #Button that represents @action to the button area of @dialog

pub fn get_actions(&self) -> Vec<PushAction, Global>

Notable traits for Vec<u8, A>

impl<A> Write for Vec<u8, A> where
    A: Allocator
[src]

get_actions: @dialog: A #Dialog

Retrieves a list of actions added to @dialog.

Returns: (transfer container) (element-type PushAction): A newly allocated #GList of #PushAction objects. The actions in the list are owned by the dialog.

pub fn remove_action<P>(&self, action: &P) where
    P: Is<PushAction>, 
[src]

remove_action: @dialog: A #Dialog @action: A #PushAction

Removes the button associated with @action from the button area of @dialog

pub fn set_transient_parent<P>(&self, actor: &P) where
    P: Is<Actor>, 
[src]

set_transient_parent: @dialog: A #Dialog @actor: A #Actor

Sets the parent of the #Dialog. This is the actor over which the modal frame will appear when actor_show() is called.

Loading content...