Re: [gtk-list] Gtk--: Interface change from 1.0.0 to 1.0.1 ??



robert_gasch@peoplesoft.com writes:
> The relevant part of accelgroup.h in 1.0.1 now reads:
> 
> // Disabled since these are internal functions
> //   void attach(Gtk_Object &obj);
> //   void detach(Gtk_Object &obj);
> 
> Since apparently attach() and detach() are/were/have become internal,
> how should the accelgroup be attached to the window?

I think Gtk_Window has methods:
  //: (Gtk 1.1)
  void add_accel_group         (const Gtk_AccelGroup &accel_group);
  //: (Gtk 1.1)
  void remove_accel_group      (const Gtk_AccelGroup &accel_group);

which do about the same.

-- 
-- Tero Pulkkinen -- terop@modeemi.cs.tut.fi --



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]