Sha256: dc3af75d70b825de1cb5d972bdbc192e8f28c03bc68fb4c95622fde9ebfd2773
Contents?: true
Size: 761 Bytes
Versions: 12
Compression:
Stored size: 761 Bytes
Contents
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */ /************************************************ rbgtktearoffmenuitem.c - $Author: mutoh $ $Date: 2003/02/01 16:46:24 $ Copyright (C) 2002,2003 Ruby-GNOME2 Project Team Copyright (C) 1998-2000 Yukihiro Matsumoto, Daisuke Kanda, Hiroshi Igarashi ************************************************/ #include "global.h" static VALUE tmitem_initialize(VALUE self) { RBGTK_INITIALIZE(self, gtk_tearoff_menu_item_new()); return Qnil; } void Init_gtk_tearoff_menu_item() { VALUE gTMenuItem = G_DEF_CLASS(GTK_TYPE_TEAROFF_MENU_ITEM, "TearoffMenuItem", mGtk); rb_define_method(gTMenuItem, "initialize", tmitem_initialize, 0); }
Version data entries
12 entries across 12 versions & 1 rubygems