Sha256: c7ee39b13f2fade52fb6eb83b9cf96a081c4d4eb2ce4e7f7e239e2431a416b8b
Contents?: true
Size: 967 Bytes
Versions: 1
Compression:
Stored size: 967 Bytes
Contents
# encoding: utf-8 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jldrill-0.6.0.1 | lib/Context/Widget.rb |