Sha256: b6bf98e211a9d3588e0529a8ef25e283eea70fc56debe7e08cd75fbffe261ad9
Contents?: true
Size: 693 Bytes
Versions: 12
Compression:
Stored size: 693 Bytes
Contents
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */ /************************************************ rbgtkcellrenderertoggle.c - $Author: mutoh $ $Date: 2003/01/19 14:28:24 $ Copyright (C) 2002,2003 Masao Mutoh ************************************************/ #include "global.h" #define _SELF(s) (GTK_CELL_RENDERER_TOGGLE(RVAL2GOBJ(s))) static VALUE crtoggle_initialize(VALUE self) { RBGTK_INITIALIZE(self, gtk_cell_renderer_toggle_new()); return Qnil; } void Init_gtk_cellrenderertoggle() { VALUE renderer = G_DEF_CLASS(GTK_TYPE_CELL_RENDERER_TOGGLE, "CellRendererToggle", mGtk); rb_define_method(renderer, "initialize", crtoggle_initialize, 0); }
Version data entries
12 entries across 12 versions & 1 rubygems