class ChoixNomUI
Auteur:: Brabant Mano Version:: 0.1 Date:: 09/04/2020
Permet de choisir une nom
Attributes
entry[R]
Public Class Methods
new(menu)
click to toggle source
Calls superclass method
# File UI/ChoixNomUI.rb, line 18 def initialize(menu) super(:vertical, 0) @menu = menu @entry = Gtk::Entry.new() @label = Gtk::Label.new("Prénom") temp = Gtk::Box.new(:horizontal, 0) temp.pack_start(Gtk::Alignment.new(0,0,0,0), :expand => true, :fill => true) temp.pack_start(@label) temp.pack_start(@entry, :fill => true) temp.pack_start(Gtk::Alignment.new(0,0,0,0), :expand => true, :fill => true) pack_start(temp, :expand => true, :fill => true) end