{"action":"created","issue":{"url":"https://api.github.com/repos/ultrabug/py3status/issues/64","labels_url":"https://api.github.com/repos/ultrabug/py3status/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/ultrabug/py3status/issues/64/comments","events_url":"https://api.github.com/repos/ultrabug/py3status/issues/64/events","html_url":"https://github.com/ultrabug/py3status/issues/64","id":57893484,"number":64,"title":"Setting order in which methods are called from Py3status class","user":{"login":"shankargopal","id":1425785,"avatar_url":"https://avatars.githubusercontent.com/u/1425785?v=3","gravatar_id":"","url":"https://api.github.com/users/shankargopal","html_url":"https://github.com/shankargopal","followers_url":"https://api.github.com/users/shankargopal/followers","following_url":"https://api.github.com/users/shankargopal/following{/other_user}","gists_url":"https://api.github.com/users/shankargopal/gists{/gist_id}","starred_url":"https://api.github.com/users/shankargopal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shankargopal/subscriptions","organizations_url":"https://api.github.com/users/shankargopal/orgs","repos_url":"https://api.github.com/users/shankargopal/repos","events_url":"https://api.github.com/users/shankargopal/events{/privacy}","received_events_url":"https://api.github.com/users/shankargopal/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ultrabug/py3status/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"ultrabug","id":474389,"avatar_url":"https://avatars.githubusercontent.com/u/474389?v=3","gravatar_id":"","url":"https://api.github.com/users/ultrabug","html_url":"https://github.com/ultrabug","followers_url":"https://api.github.com/users/ultrabug/followers","following_url":"https://api.github.com/users/ultrabug/following{/other_user}","gists_url":"https://api.github.com/users/ultrabug/gists{/gist_id}","starred_url":"https://api.github.com/users/ultrabug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ultrabug/subscriptions","organizations_url":"https://api.github.com/users/ultrabug/orgs","repos_url":"https://api.github.com/users/ultrabug/repos","events_url":"https://api.github.com/users/ultrabug/events{/privacy}","received_events_url":"https://api.github.com/users/ultrabug/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-02-17T07:46:41Z","updated_at":"2015-02-17T14:17:35Z","closed_at":null,"body":"First off, thank you for this wonderful program and all the work you've done on it.\r\n\r\nI had a question.  Py3status calls all the methods in the class Py3status in any script we write in the concerned directory.  I'd like to control the order in which the output of the the methods from within one module are displayed.  There is a way to control the order in which the output from a module is displayed (using \"order+=\" etc. in the config).  Is there any way to control the order in which the output from each method within that module is displayed?"},"comment":{"url":"https://api.github.com/repos/ultrabug/py3status/issues/comments/74673666","html_url":"https://github.com/ultrabug/py3status/issues/64#issuecomment-74673666","issue_url":"https://api.github.com/repos/ultrabug/py3status/issues/64","id":74673666,"user":{"login":"ultrabug","id":474389,"avatar_url":"https://avatars.githubusercontent.com/u/474389?v=3","gravatar_id":"","url":"https://api.github.com/users/ultrabug","html_url":"https://github.com/ultrabug","followers_url":"https://api.github.com/users/ultrabug/followers","following_url":"https://api.github.com/users/ultrabug/following{/other_user}","gists_url":"https://api.github.com/users/ultrabug/gists{/gist_id}","starred_url":"https://api.github.com/users/ultrabug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ultrabug/subscriptions","organizations_url":"https://api.github.com/users/ultrabug/orgs","repos_url":"https://api.github.com/users/ultrabug/repos","events_url":"https://api.github.com/users/ultrabug/events{/privacy}","received_events_url":"https://api.github.com/users/ultrabug/received_events","type":"User","site_admin":false},"created_at":"2015-02-17T14:17:35Z","updated_at":"2015-02-17T14:17:35Z","body":"hi @shankargopal, glad you like py3status :)\r\n\r\nThe `order +=` controls only how modules are displayed between them, not how to order a module's multiple output.\r\n\r\nBut there's a way to do what you need here because module's methods are sorted alphabetically when they get loaded. So you should be able to order them by simply ordering them by their name ;)\r\n\r\nHope this helps."}}