lib/gtk: improve documentation on main modules
authorAlexis Laferrière <alexis.laf@xymus.net>
Wed, 30 Apr 2014 18:02:38 +0000 (14:02 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Wed, 30 Apr 2014 18:07:02 +0000 (14:07 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

lib/gtk/gtk.nit
lib/gtk/v3_6.nit
lib/gtk/v3_8.nit

index 80fc909..1d8ed48 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# Provides GTK widgets and functionalities
+# Provides GTK+ widgets and functionalities
+#
+# By default it provides services from GTK+ v3.4. You can get newer
+# features by importing submodules v3_6 or v3_8 with `import gtk::v3_6`.
 module gtk
 
-# By default, use gtk 3.4
 import v3_4
index c2525a5..c424996 100644 (file)
@@ -15,6 +15,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+# GTK+ services added at version 3.6
 module v3_6 is pkgconfig("gtk+-3.0")
 
 import v3_4
index 7b553fa..540db18 100644 (file)
@@ -14,6 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+# GTK+ services added at version 3.8
 module v3_8 is pkgconfig("gtk+-3.0")
 
 import v3_6