Trait gtk::prelude::CellRendererAccelExt[][src]

pub trait CellRendererAccelExt: 'static {
Show methods fn accel_key(&self) -> u32;
fn set_accel_key(&self, accel_key: u32);
fn accel_mode(&self) -> CellRendererAccelMode;
fn set_accel_mode(&self, accel_mode: CellRendererAccelMode);
fn accel_mods(&self) -> ModifierType;
fn set_accel_mods(&self, accel_mods: ModifierType);
fn keycode(&self) -> u32;
fn set_keycode(&self, keycode: u32);
fn connect_accel_cleared<F: Fn(&Self, TreePath) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_accel_edited<F: Fn(&Self, TreePath, u32, ModifierType, u32) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_accel_key_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_accel_mode_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_accel_mods_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_keycode_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}
Expand description

Trait containing all CellRendererAccel methods.

Implementors

CellRendererAccel

Required methods

The keyval of the accelerator.

The keyval of the accelerator.

Determines if the edited accelerators are GTK+ accelerators. If they are, consumed modifiers are suppressed, only accelerators accepted by GTK+ are allowed, and the accelerators are rendered in the same way as they are in menus.

If the mode is set to CellRendererAccelMode::ModifierTap then bare modifiers can be set as accelerators by tapping (ie: pressing and immediately releasing) them.

Determines if the edited accelerators are GTK+ accelerators. If they are, consumed modifiers are suppressed, only accelerators accepted by GTK+ are allowed, and the accelerators are rendered in the same way as they are in menus.

If the mode is set to CellRendererAccelMode::ModifierTap then bare modifiers can be set as accelerators by tapping (ie: pressing and immediately releasing) them.

The modifier mask of the accelerator.

The modifier mask of the accelerator.

The hardware keycode of the accelerator. Note that the hardware keycode is only relevant if the key does not have a keyval. Normally, the keyboard configuration should assign keyvals to all keys.

The hardware keycode of the accelerator. Note that the hardware keycode is only relevant if the key does not have a keyval. Normally, the keyboard configuration should assign keyvals to all keys.

Gets emitted when the user has removed the accelerator.

path_string

the path identifying the row of the edited cell

Gets emitted when the user has selected a new accelerator.

path_string

the path identifying the row of the edited cell

accel_key

the new accelerator keyval

accel_mods

the new acclerator modifier mask

hardware_keycode

the keycode of the new accelerator

Implementors