Re: accel group internal functions
- From: Havoc Pennington <hp redhat com>
- To: gtk-devel-list gnome org
- Cc: timj gtk org
- Subject: Re: accel group internal functions
- Date: 08 Sep 2001 16:42:22 -0400
Hi,
After looking at it, I think some of the funcitons labeled internal
are required to do anything useful with accel groups:
 void           gtk_accel_group_attach          (GtkAccelGroup
*accel_group,
                                                 GObject
*object);
void            gtk_accel_group_detach          (GtkAccelGroup
*accel_group,
                                                 GObject
*object);
void            gtk_accel_group_add             (GtkAccelGroup
*accel_group,
                                                 guint
accel_key,
                                                 GdkModifierType
accel_mods,
                                                 GtkAccelFlags
accel_flags,
                                                 GObject
*object,
                                                 const gchar
*accel_signal);
void            gtk_accel_group_remove          (GtkAccelGroup
*accel_group,
                                                 guint
accel_key,
                                                 GdkModifierType
accel_mods,
                                                 GObject
*object);
Of course, the whole thing is still of limited utility since you can
only have an accelerator activate a signal, instead of a callback, but
that's a 2.2 issue... 
Nearly everything in the header needs to be public if we allow other
people to implement the "magic change accelerators in place" feature
for their widgets, but I don't think we should necessarily do that.
Havoc
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]