Sha256: 061627b4760e5f2dd23493949f09ad43bea88dd82808886005ff62a023948bf6
Contents?: true
Size: 1016 Bytes
Versions: 5
Compression:
Stored size: 1016 Bytes
Contents
# Copyright 2015-2016 Cédric LE MOIGNE, cedlemo@gmx.com # This file is part of Germinal. # # Germinal is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # any later version. # # Germinal is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with Germinal. If not, see <http://www.gnu.org/licenses/>. class GerminalResizeMessage < Gtk::Box def initialize(text) super(:vertical) text = text || "" add(Gtk::Label.new(text)) set_halign(:end) set_valign(:end) set_border_width(4) show_all set_name("resize_box") end def text=(text) children[0].text = text show_all end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
Germinal-1.2.3 | lib/resize_message.rb |
Germinal-1.2.2 | lib/resize_message.rb |
Germinal-1.2.1 | lib/resize_message.rb |
Germinal-1.2.0 | lib/resize_message.rb |
Germinal-1.1.7 | lib/resize_message.rb |