Re: [gtk-list] Re: what are equiv of Motif actions?
- From: "Michael J. Hammel" <mjhammel graphics-muse org>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: what are equiv of Motif actions?
- Date: Sun, 6 Jun 1999 10:22:39 -0600 (MDT)
Thus spoke Damon Chaplin
> The modifiers parameter should be a combination of GdkModifierType flags
> (from gdk/gdktypes.h)
>
> So you probably wanted to do:
>
> gtk_widget_add_accelerator (menu_items, "activate",
> accel_group, GDK_t, GDK_MOD1_MASK, GTK_ACCEL_VISIBLE );
Yup. That works. Thanks.
BTW, is there a way to determine what the MODx enums map to on a keyboard?
--
Michael J. Hammel |
The Graphics Muse | Tell me what you need, and I'll tell you how to
mjhammel@graphics-muse.org | get along without it. -- Dilbert
http://www.graphics-muse.org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]