Re: [RFC] Changing the bindings for gnome_popup_menu_append



On Sun, 2004-02-29 at 12:44, Torsten Schoenfeld wrote:
I changed $menu->attach to $menu->attach_to.  You're right, something
like

  $menu->append_from ($ui_info);


however, keeping the full name as a function would not deviate from the
C API.  (yes i know i break this guideline, too, but still...)

Gnome2::PopupMenu::attach ($menu, @info);

it's a helper function, so binding it as a function doesn't seem so
terrible.  this avoids putting stuff into the Gtk2::Menu namespace, to
avoid further problems in the future.

feel free to thwap me.

-- 
muppet <scott at asofyet dot org>




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