class Gtk::RadioButton
Overrides for GtkRadioButton
Public Class Methods
new(group)
click to toggle source
# File lib/gir_ffi-gtk/gtk2/radio_button.rb, line 21 def initialize(group) list = GLib::SList.from(Gtk::RadioButton, group) ptr = Gtk::Lib.gtk_radio_button_new(list) store_pointer(ptr) end
Also aliased as: old_initialize
new_from_widget(*args)
click to toggle source
# File lib/gir_ffi-gtk/gtk2/radio_button.rb, line 13 def self.new_from_widget(*args) obj = allocate obj.send :initialize_from_widget, *args obj end
Public Instance Methods
initialize_from_widget(radio_group_member)
click to toggle source
# File lib/gir_ffi-gtk/gtk2/radio_button.rb, line 29 def initialize_from_widget(radio_group_member) widget = Gtk::RadioButton.from(radio_group_member) ptr = Gtk::Lib.gtk_radio_button_new_from_widget(widget) store_pointer(ptr) end