Sha256: 5bf6e6f10dcedda2a9fa6927eef3447b452e2901bd7f04ccac85d9139f045168

Contents?: true

Size: 697 Bytes

Versions: 1

Compression:

Stored size: 697 Bytes

Contents



require 'gtk3'


##
# PAS UTILISE DANS LE VERSION FINALE
# Auteur:: Brabant Mano
# Version:: 0.1
# Date:: 09/04/2020
#
#Permet de choisir une nom
class ChoixNomUI < Gtk::Box

  attr_reader :menu
  attr_reader :entry

  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

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
Hashiparmentier-0.4.0 lib/Hashiparmentier/UI/ChoixNomUI.rb