Nicolas Petton %!s(int64=11) %!d(string=hai) anos
pai
achega
23eff5247c
Modificáronse 2 ficheiros con 22 adicións e 0 borrados
  1. 18 0
      src/Helios-Core.js
  2. 4 0
      src/Helios-Core.st

+ 18 - 0
src/Helios-Core.js

@@ -3925,6 +3925,24 @@ referencedClasses: []
 }),
 globals.HLManager);
 
+smalltalk.addMethod(
+smalltalk.method({
+selector: "tabs",
+protocol: 'accessing',
+fn: function (){
+var self=this;
+return smalltalk.withContext(function($ctx1) { 
+var $1;
+$1=_st(self._tabsWidget())._tabs();
+return $1;
+}, function($ctx1) {$ctx1.fill(self,"tabs",{},globals.HLManager)})},
+args: [],
+source: "tabs\x0a\x09^ self tabsWidget tabs",
+messageSends: ["tabs", "tabsWidget"],
+referencedClasses: []
+}),
+globals.HLManager);
+
 smalltalk.addMethod(
 smalltalk.method({
 selector: "tabsWidget",

+ 4 - 0
src/Helios-Core.st

@@ -1203,6 +1203,10 @@ tabWidth
 	^ (window asJQuery width - 90) / self tabs size
 !
 
+tabs
+	^ self tabsWidget tabs
+!
+
 tabsWidget
 	^ tabsWidget ifNil: [ tabsWidget := HLTabsWidget new ]
 ! !