Sha256: 382d1329c5ee0653a16a4f761ff6f3359e0a0c1d7e4b44882c2c0e01f13a707b
Contents?: true
Size: 796 Bytes
Versions: 1
Compression:
Stored size: 796 Bytes
Contents
# encoding: utf-8 require 'Context/Gtk/Widget' require 'gtk2' module Context::Gtk # Container class for making vertical lists of widgets. # The primary purpose of this class is to create a container # that respects the packing hints in the Widget mixin. # Something tells me that needing this class means # something is screwed up somewhere... class VBox < Gtk::VBox include Context::Gtk::Widget def initialize super setupWidget end def gtkAddWidget(widget) pack_start(widget, widget.expandWidgetHeight?, widget.expandWidgetWidth?) end def gtkRemoveWidget(widget) remove(widget) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jldrill-0.6.0.1 | lib/Context/Views/Gtk/Widgets/VBox.rb |