[]Struct gtk::ShortcutsGroup

pub struct ShortcutsGroup(_, _);

A ShortcutsGroup represents a group of related keyboard shortcuts or gestures. The group has a title. It may optionally be associated with a view of the application, which can be used to show only relevant shortcuts depending on the application context.

This widget is only meant to be used with ShortcutsWindow.

Feature: v3_20

Implements

BoxExt, ContainerExt, WidgetExt, glib::object::ObjectExt, BuildableExt, OrientableExt, WidgetExtManual, BuildableExtManual

Implementations

impl ShortcutsGroup[src]

pub fn set_property_accel_size_group<P: IsA<SizeGroup> + SetValueOptional>(
    &self,
    accel_size_group: Option<&P>
)
[src]

The size group for the accelerator portion of shortcuts in this group.

This is used internally by GTK+, and must not be modified by applications.

pub fn get_property_height(&self) -> u32[src]

A rough measure for the number of lines in this group.

This is used internally by GTK+, and is not useful for applications.

pub fn get_property_title(&self) -> Option<GString>[src]

The title for this group of shortcuts.

pub fn set_property_title(&self, title: Option<&str>)[src]

The title for this group of shortcuts.

pub fn set_property_title_size_group<P: IsA<SizeGroup> + SetValueOptional>(
    &self,
    title_size_group: Option<&P>
)
[src]

The size group for the textual portion of shortcuts in this group.

This is used internally by GTK+, and must not be modified by applications.

pub fn get_property_view(&self) -> Option<GString>[src]

An optional view that the shortcuts in this group are relevant for. The group will be hidden if the ShortcutsWindow:view-name property does not match the view of this group.

Set this to None to make the group always visible.

pub fn set_property_view(&self, view: Option<&str>)[src]

An optional view that the shortcuts in this group are relevant for. The group will be hidden if the ShortcutsWindow:view-name property does not match the view of this group.

Set this to None to make the group always visible.

pub fn connect_property_accel_size_group_notify<F: Fn(&ShortcutsGroup) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_height_notify<F: Fn(&ShortcutsGroup) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_title_notify<F: Fn(&ShortcutsGroup) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_title_size_group_notify<F: Fn(&ShortcutsGroup) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

pub fn connect_property_view_notify<F: Fn(&ShortcutsGroup) + 'static>(
    &self,
    f: F
) -> SignalHandlerId
[src]

Trait Implementations

impl Clone for ShortcutsGroup

impl Debug for ShortcutsGroup

impl Display for ShortcutsGroup[src]

impl Eq for ShortcutsGroup

impl Hash for ShortcutsGroup

impl IsA<Box> for ShortcutsGroup

impl IsA<Buildable> for ShortcutsGroup

impl IsA<Container> for ShortcutsGroup

impl IsA<Orientable> for ShortcutsGroup

impl IsA<Widget> for ShortcutsGroup

impl Ord for ShortcutsGroup

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

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

impl StaticType for ShortcutsGroup

Auto Trait Implementations

impl RefUnwindSafe for ShortcutsGroup

impl !Send for ShortcutsGroup

impl !Sync for ShortcutsGroup

impl Unpin for ShortcutsGroup

impl UnwindSafe for ShortcutsGroup

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> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized

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.