Sha256: 0ac92afe56cf9c7c3a80aa99422bd3bc8493d56c99d660033bc6535d6f9cb7f3
Contents?: true
Size: 949 Bytes
Versions: 2
Compression:
Stored size: 949 Bytes
Contents
module Context # This is the Widget mixin for Context. If you wish to be able # to add to, add, or remove a widget inside a View using context, # this mixin must be included. This is an abstract mixin. The # methods do nothing. They should be overriden in the concrete # mixins. Please see Context::Gtk::Widget for an example. module Widget # This method creates any instance variables that you might have. def setupWidget end # Use this widget as a container for the passed widget def addToThisWidget(widget) end # Remove the passed widget from this object. def removeFromThisWidget(widget) end # This method is called after the widget has been # successfully added to another widget def widgetWasAddedTo(widget) end # This method is called after the widget has been # successfully removed from another widget def widgetWasRemovedFrom(widget) end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
jldrill-0.5.1.7 | lib/Context/Widget.rb |
context-0.0.22 | lib/Context/Widget.rb |