Tagged Questions
1
vote
1answer
27 views
How can I bind Gio.Settings of TextBuffer or TextView?
I'm trying to bind a TextView to the key "text" by TextBuffer. I get the text, but this property is not recorded.
widget = self.builder.get_object('textbuffer_text')
settings.bind("text", widget, ...
3
votes
1answer
38 views
Icon name for unlocked keyring
I am working on a program and I want to implement icon denoting keyring state. If you start seahorse you'll see it has the same icon of padlock in two states, locked and unlocked.
I am unable to find ...
1
vote
1answer
184 views
Installing Ubuntu One on Ubuntu 11.10 server
I have installed "Ubuntu One" on an Ubuntu server 11.10 based on these instructions:
How do I configure Ubuntu one on a 11.10 server?
Everything went smooth during installation. However when I try ...
1
vote
0answers
105 views
How to design non-windowed Gtk.Frame in Glade?
I'm building a ToDo app for personal purposes, and I'm using Quickly and Glade.
I want it to display a list of the pending to-do elements. The problem I'm having is that I can't find the way to ...
0
votes
2answers
88 views
GTK Recent Chooser Menu callback not working
I am currently very puzzled why something so simple fails so hard:
This is the source code for a very very simple recent chooser menu, but it fails.
My output is this:
Display name: ...
1
vote
1answer
274 views
Why can't I define the size of a Gtk.Entry embedded in a Gtk.Toolbar?
I have embedded a Gtk.Entry box into a Gtk.Toolbar, however changing the requested width of practically anything (i.e. the Gtk.ToolItem that contains the Gtk.Entry and the Gtk.Entry itself) doesn't ...
0
votes
1answer
235 views
Quickly app not starting
I'm creating a web-browser named "Surf's Up!", and I have programmed the code and the interface, but when I try to run the app, an error message appears:
Traceback (most recent call last):
File ...
1
vote
1answer
103 views
Quickly add Scrolling to Window
while creating my ubuntu application, I wanted to add in several images and then allow the user to scroll through them. The problem I am having, is that it just cuts the image off, and there are no ...
0
votes
1answer
98 views
Opening 2 top level windows (quickly/pygtk)
Is there a way using quickly to have an appliaction have two completly seperate windows (not a window with a dialog) And be able to open each of the windows from each other and maybe even also from ...
0
votes
1answer
139 views
1
vote
0answers
66 views
Gtk containers for a list of items
I am trying to create a task management app with Quickly/Glade, but have troubles finding the right containers to represent information on the screen.
Basically, which containers should I use in ...
2
votes
1answer
87 views
In development based on Quickly, why do codes start with “from gi.repository import Gtk”?
I am developing apps in Quickly. Default codes start with from gi.repository import Gtk. Why is it so and not simply import gtk for example?
The point is, a lot of tutorials, documentation and forums ...
2
votes
1answer
252 views
Changing TextView font in PyGTK
I have TextView widget in Glade named "formula-view". I'm trying to do this to change font:
formulaView = self.builder.get_object("formula-view")
fontdesc = pango.FontDescription('Ubuntu 16')
...
2
votes
0answers
79 views
How do I use this Add/remove widget? [duplicate]
Possible Duplicate:
What GTK widget is this?
How do I add this little add/remove GTK widget in Glade Designer 3.12.1?
I don't see it anywhere in the widget bar.
If it can't be done using ...
1
vote
1answer
431 views
PyGTK application example
I'm planing to write my first Ubuntu app. I'm new in Python and looking for good example, an open source app, just to pick the patterns and architecture.
Is there any good example? It would be nice ...
4
votes
1answer
533 views
Will pygobject for Python 3 be included in 11.10?
Will pygobject of Python 3 be included with Ubuntu 11.10? I am interested in using the new features provided with GTK3 with Python 3 but I have been unable due to the complexity involved with getting ...
8
votes
2answers
589 views
4
votes
1answer
148 views
How do I make my apps windows get their own Unity launchers?
I'm writing an application that potentially uses quite a few windows. It would be nice if I could make at least some of those windows get their own Unity launcher entries. How do I do that?
4
votes
1answer
3k views
ImportError: No module named gtk
after the debacle a few hours back I managed to get a working desktop after using an ethernet cable and sudo apt-get install ubuntu-desktop
But now when I try to run ubuntu software center from CLI ...
4
votes
2answers
920 views
Can glade be used with python pygi introspection?
I once got started on a PyGtk and Glade tutorial but never finished it. Recently I saw that PyGtk is being depreciated in favor of using introspection at ...
13
votes
1answer
2k views
Putting an arbitrary gtk.Widget into an appindicator.Indicator
Putting any gtk.Widget inside a gtk.Menu works, somewhat, by putting an empty gtk.MenuItem in first. It doesn't seem to be reliable - but it basically works. With an appindicator.Indicator, it doesn't ...
