Sha256: 398dfff45b871387e2e773c97a588d07c093e07325deca5ae6a9926e73d8faa4
Contents?: true
Size: 703 Bytes
Versions: 15
Compression:
Stored size: 703 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(self) 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
15 entries across 15 versions & 1 rubygems