├── .gitignore ├── LICENSE ├── README.md ├── data ├── com.github.elementary.app-template.appdata.xml ├── com.github.elementary.app-template.desktop └── icons │ └── 64 │ └── com.github.elementary.app-template.svg └── src └── Application.vala /.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | build/ 3 | src/Application 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | This is free and unencumbered software released into the public domain. 2 | 3 | Anyone is free to copy, modify, publish, use, compile, sell, or 4 | distribute this software, either in source code form or as a compiled 5 | binary, for any purpose, commercial or non-commercial, and by any 6 | means. 7 | 8 | In jurisdictions that recognize copyright laws, the author or authors 9 | of this software dedicate any and all copyright interest in the 10 | software to the public domain. We make this dedication for the benefit 11 | of the public at large and to the detriment of our heirs and 12 | successors. We intend this dedication to be an overt act of 13 | relinquishment in perpetuity of all present and future rights to this 14 | software under copyright law. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 20 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | 24 | For more information, please refer to 25 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # app-template 2 | 3 | Example template for an elementary OS app. Designed to be an example for AppCenter Dashboard and a starting point for your very own app. 4 | 5 | For documentation and a thorough step-by-step tutorial, see the [elementary Developer Guide](https://elementary.io/docs/code/getting-started). 6 | -------------------------------------------------------------------------------- /data/com.github.elementary.app-template.appdata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | com.github.elementary.app-template.desktop 5 | CC0 6 | GPL-3.0+ 7 | App Template 8 | Use this as a template for your project 9 | 10 |

Some longer information about the project. Can be multiple paragraphs and unordered or ordered lists.

11 |
    12 |
  • Cool feature
  • 13 |
  • Neat thing
  • 14 |
  • Handy tip
  • 15 |
16 |
17 | 18 | com.github.elementary.app-template 19 | 20 | ​ 21 | 22 | ​ 23 | ​

Description of this release, i.e. a summary of changes. Can use multiple paragraphs and lists like above.

24 | ​
25 |
26 |
27 | 28 | 29 | https://raw.githubusercontent.com/elementary/app-template/master/data/screenshot.png 30 | 31 | 32 | Your Name or Company Name 33 | https://exmaple.com 34 | https://github.com/elementary/app-template/issues 35 | 36 | 37 | #d1ff82 38 | #333 39 | 40 | 5 41 | 42 |
43 | -------------------------------------------------------------------------------- /data/com.github.elementary.app-template.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Type=Application 3 | Name=App Template 4 | GenericName=Demo Project 5 | Comment=Use this as a template for your project 6 | Exec=com.github.elementary.app-template 7 | Icon=com.github.elementary.app-template 8 | -------------------------------------------------------------------------------- /data/icons/64/com.github.elementary.app-template.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 19 | 21 | 30 | 32 | 36 | 40 | 41 | 51 | 53 | 57 | 61 | 65 | 69 | 70 | 81 | 83 | 87 | 91 | 95 | 99 | 100 | 110 | 112 | 116 | 120 | 121 | 131 | 133 | 137 | 141 | 142 | 150 | 152 | 156 | 160 | 164 | 165 | 166 | 185 | 187 | 188 | 190 | image/svg+xml 191 | 193 | 194 | 195 | 196 | 197 | 201 | 205 | 209 | 216 | 224 | 231 | 232 | 233 | 242 | 247 | 256 | 261 | 270 | 273 | 278 | 283 | 284 | 285 | 286 | -------------------------------------------------------------------------------- /src/Application.vala: -------------------------------------------------------------------------------- 1 | public class MyApp : Gtk.Application { 2 | 3 | public MyApp () { 4 | Object ( 5 | application_id: "com.github.elementary.app-template", 6 | flags: ApplicationFlags.FLAGS_NONE 7 | ); 8 | } 9 | 10 | protected override void activate () { 11 | var main_window = new Gtk.ApplicationWindow (this); 12 | main_window.default_height = 480; 13 | main_window.default_width = 640; 14 | main_window.title = "App Template"; 15 | main_window.show_all (); 16 | } 17 | 18 | public static int main (string[] args) { 19 | var app = new MyApp (); 20 | return app.run (args); 21 | } 22 | } 23 | --------------------------------------------------------------------------------