|
13.
|
|
|
<application>Quickly</application> is a set of choices about writing apps for Ubuntu. Out of all the wonderful richness and variety of programming for Ubuntu, <application>Quickly</application> make some very opinionated choices about what tools to use, and how to combine them. The criteria for these choices was to make it easy and fun to write and release Ubuntu applications, even if it's your first time trying, but also in a way that delivers the full power and flexibility of the platform. One benefit of these choices, is that it's also easier to write tools that make it even easier and more fun. So <application>Quickly</application> is also a set of commands.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
data/templates/ubuntu-application/help/tutorial.xml:40(para)
|
|
15.
|
|
|
This is part 1 of the <application>Quickly</application> tutorial. This part will introduce some key <application>Quickly</application> commands, editing a user interface in <application>Glade</application>, and editing code in <application>gedit</application>. This part of the tutorial will familiarize you with these three tools, and how they work together with Python and GTK+ so that you can quickly build applications.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
data/templates/ubuntu-application/help/tutorial.xml:50(para)
|
|
19.
|
|
|
This will create a jotty subdirectory containing a complete directory tree and files for an empty Python application. The command finishes by running the newly created empty application.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
data/templates/ubuntu-application/help/tutorial.xml:57(para)
|
|
21.
|
|
|
<placeholder-1/> In the window that pops up you have a menubar, text and a statusbar. Notice that <application>Quickly</application> inferred that the application title is "Jotty". Only a few of menu items do anything in the empty application, Help->About, Edit->Preferences, and File->Close.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
data/templates/ubuntu-application/help/tutorial.xml:61(para)
|
|
23.
|
|
|
<placeholder-1/> Close the application by closing the window or using the File->Close menu item. Since the empty application isn't actually installed, you can't start the application from the application menu yet. To start the applicaton, use the terminal to first cd into the new subdirectory, and then use "quickly run".
|
|
|
|
(no translation yet)
|
|
|
|
Located in
data/templates/ubuntu-application/help/tutorial.xml:65(para)
|
|
27.
|
|
|
<placeholder-1/><application>Quickly</application> programs use <application>Glade</application> to edit the user interface. Start <application>Glade</application> with "quickly design" in order to set up <application>Glade</application> for editing the empty applicaton. Don't start <application>Glade</application> directly, or it won't load the necessary catalog files for editing the classes that were automatically generated by <application>Quickly</application>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
data/templates/ubuntu-application/help/tutorial.xml:75(para)
|
|
30.
|
|
|
Click on "jotty_window" in the right pane to open the window for editing.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
data/templates/ubuntu-application/help/tutorial.xml:85(para)
|
|
31.
|
|
|
The first thing we want to do is create a text area for typing into. There are some default widgets added to the window already, but we won't need these so we'll start by deleting them. Click on the label and press Delete to make it disappear from the window.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
data/templates/ubuntu-application/help/tutorial.xml:89(para)
|
|
32.
|
|
|
Do the same with the image widget. This leave us two free slots.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
data/templates/ubuntu-application/help/tutorial.xml:96(para)
|
|
33.
|
|
|
We'll use the bottom slot to add a TextView widget for the user to type into. In the toolbox on the left, click on the "Text View" button in the "Controls and Display" section. Then click in the bottom empty slot.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
data/templates/ubuntu-application/help/tutorial.xml:100(para)
|