On Sat, Apr 14, 2007 at 11:49:47PM -0300, Gabriel Falcão wrote:
I want to connect a keyboard keys combo ato emit a signal in some widget.
Using glade its easy, mas i cant use glade.
How i add this feature directly from code?
im using pygtk2.8
See
On Sun, Apr 15, 2007 at 06:12:15AM -0300, Gabriel Falcão wrote:
self.desktop = gtk.gdk.get_default_root_window()
self.deskEvent = gtk.gdk.Event(gtk.gdk.BUTTON_PRESS)
gtk.binding_entry_add_signal(self.deskEvent, gtk.keysyms.F12,
gtk.keysyms.Control_L, 'button-press-event')
On Fri, Jan 26, 2007 at 08:49:51AM +, Richard Taylor wrote:
I would like to provide keyboard accelerators that move the focus to the
appropriate Widget. I want to underline a letter in each label and link
Alt-letter to switch to the Edit widget alongside the Label. I would like
these
On Sun, Oct 22, 2006 at 09:57:47AM +0200, Pascal DUCHATELLE wrote:
I could add a status bar to each notebook page but this is no elegent way...
I'd put the status bar handling code in its own module. Then import that
module wherever it's needed.
If you want to reduce coupling in your code,
On Wed, Oct 18, 2006 at 11:39:51PM +0200, Wolfgang Keller wrote:
I'm looking for a way that allows a clueless Python scripting dilettant like
me to build a double-clickable .app bundle of a PyGTK application for MacOS
X.
Any ideas? Such as e.g. a pre-made empty .app bundle that includes
On Wed, Oct 18, 2006 at 09:29:27PM -0700, David M. Cook wrote:
Both of them also have a tendency to
overdo dependencies IMO.
I should take that back about dependencies. Darwinports does a pretty
straightforward job with this:
david-cooks-computer:~ davidcook$ sudo port install py-gtk2
On Thu, Sep 28, 2006 at 09:16:20PM +0200, Adolfo González Blázquez wrote:
I would like to know if someone can point me a solution to make a
function run as a separate thread, and wait until it is ended, without
blocking the gui.
In my application, i'm getting a long file listing using
On Sun, Sep 03, 2006 at 08:37:13AM +0200, Pascal DUCHATELLE wrote:
dic = {on_mainWindow_destroy : gtk.main_quit,
on_hello_key_press_event : self.hellorecompile}
followed by this:
self.wTree.signal_autoconnect(dic)
Is there a way to use the second solution
On Mon, Aug 07, 2006 at 09:10:26AM -0700, Shehnaaz Kagdi wrote:
2) Whenever this happens -
self.liststore.append([john,smith,
blabla,bla])
I would like the treeview to display the latest
data/row in the liststore
You shouldn't need to call row_changed after an append. Is your treeview
not
On Mon, Jul 31, 2006 at 07:11:56AM -0700, Mr Jason Cupp wrote:
I am pretty new to pygtk. I wrote a program where there are several
buttons that are connected to a method that plays different wav files using
pymedia. My problem is that if I keep pressing buttons while a wav is being
played, it
On Mon, Jul 24, 2006 at 10:47:44AM -0700, N. French wrote:
My problem is: how do I catch the up/down arrow keypresses? I was
I know of two ways to catch the up/down arrows:
- connect to the key-press event
- Create your own Entry subclass with up/down arrow keybindings
See the FAQ for the
On Thu, Jul 13, 2006 at 03:21:02PM +0200, Alessandro Pellizzari wrote:
It works pretty good until circa row 900, showing the cell at the top of
the treeview, then it begins going wrong, showing cell 930 (or similar)
at the top and not scrolling down, even for cell, e.g., 1200, which goes
out
On Tue, Jul 11, 2006 at 01:26:35PM -0600, Adam Olsen wrote:
I guess I should have specified that I looked there. I can only see a way
to set a max width, a min width, and a fixed width. I'd just like to set
the width, but allow the user to be able to resize it as well.
Yeah, you're right,
On Tue, Jul 11, 2006 at 11:00:50AM -0600, Adam Olsen wrote:
Is there a way to set gtk.TreeViewColumn widths programmatically?
Yes. Take a look at the API reference at pygtk.org.
Dave Cook
___
pygtk mailing list pygtk@daa.com.au
On Fri, Jun 09, 2006 at 03:31:49PM -0400, Hussein Vastani wrote:
Now my question is. How do I indicate to the user which cell in the row is
editable. If he/she has selected a particular row, then there is no clear
This seems to be a problem with a lot of themes that use a really thin, hard
On Tue, May 30, 2006 at 09:14:13AM -0700, arya jain wrote:
am not able to install the graphic tool kit pyGTK from the site
You need to install the following:
Gtk+/Win32 Development Environment:
http://gladewin32.sourceforge.net/modules/news/
pycairo and pygtk:
On Tue, May 16, 2006 at 10:54:40PM -0700, Brian wrote:
It says:
When there are no more rows left the StopIteration exception is raised.
But I can't find out any more about the StopIteration. ie. where is it
defined, where do you import it from. I can't find it in any of the
On Tue, Apr 25, 2006 at 11:47:26AM -0700, [EMAIL PROTECTED] wrote:
I'd definitely love to see a Python/Glade book. Is there a better way of
quickly developing linux apps?
Add in Kiwi and let Gazpacho mature some more, and I'd say no, but I've
never really given PyQt or wxPython much of a
On Thu, Apr 06, 2006 at 04:13:13PM -0400, Pierre Thibault wrote:
PyGTK is mostly used by Linux users, is it the case?
I think it works fairly well on win32 as well. On OS X an X Windows System
(X11) server is required as gtk2 has not been ported. This is included on
the OS X install disc, and
On Wed, Apr 05, 2006 at 05:26:27PM -0400, Pierre Thibault wrote:
*** Could not run GLIB test program, checking why...
Try setting PKG_CONFIG_PATH, e.g.
env
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/usr/X11R6/lib/pkgconfig
./configure
Dave Cook
I want to do something like what's described in
http://www.async.com.br/faq/pygtk/index.py?req=showfile=faq23.034.htp
except I want to do it for existing entry objects loaded from a glade file.
Is this possible?
TIA,
Dave Cook
___
pygtk mailing list
On Mon, Feb 06, 2006 at 10:04:51PM +0200, Nikos Kouremenos wrote:
thanks Dave. your recipe (hehe Cook :-*) works. /me wonders if PyGTK
REF says it, else needs to be added in a FAQ
It's in the FAQ:
http://www.async.com.br/faq/pygtk/index.py?req=showfile=faq13.011.htp
Dave Cook
On Wed, Feb 01, 2006 at 03:26:11AM +1100, John Pye wrote:
The issue appears to be that there is no way of adding columns to a
*TreeStore* -- so I must copy the data from the existing TreeStore to a
new one with an extra column, then re-set the model for the TreeView to
the new TreeStore.
Is
On Thu, Oct 06, 2005 at 03:15:21PM +0200, Robert Bigaignon wrote:
PS : I use PyGTK 1.99, so unfortunately get_selected_rows() is not
available.
The trick with that old version was to visit each selected row with
TreeSelection.selected_foreach() and save it in a list. But you really
should
On Tue, Sep 20, 2005 at 10:35:03AM -0700, John Finlay wrote:
gobject.spawn_async() functions,
The docs say
Eventually you must call g_spawn_close_pid() on the child_pid, in order to
free resources which may be associated with the child process.
Looks like something left over from the C
On Sun, Sep 04, 2005 at 09:51:11AM +0200, N. Volbers wrote:
Look at Documentation and then at the Developer's Guide. This is a
very nice introduction to an undo mechanism that basically works like
this: If you call an undoable function, then it must return an
undo-tuple which contains the
On Thu, Sep 01, 2005 at 01:15:42PM -0500, nephish wrote:
is always down. like what i think a list box is, but cant seem to find that.
you know, just a box with a list of items that can be selected in it.
You want a TreeView with a ListStore. See the tutorial.
Dave Cook
On Sun, Aug 21, 2005 at 11:20:21PM +0200, dimitri pater wrote:
def progress_timeout(pbobj):
new_val = pbobj.pbar.get_fraction() + 0.01
if new_val 1.0:
new_val = 0.0
pbobj.pbar.set_fraction(new_val)
You need to execute a main loop iteration here.
while gtk.events_pending():
On Thu, Aug 11, 2005 at 05:33:06PM -0400, Andrew Conkling wrote:
chintzy. The only other option of which I can think is some HTML
pages, but I don't know how I'd use them in my program (other than
launching a browser).
Well, that might not be so bad. Take a look at the webbrowser module
On Fri, Aug 12, 2005 at 07:15:01AM -0400, Andrew Conkling wrote:
OK, Dave, I'll check it out; thanks. What would it do in, say, Xfce?
If the default doesn't work, you can fall back on the Netscape('firefox') or
Netscape('mozilla') browser objects, e.g.
# untested code!
import webbrowser
#
On Fri, Aug 12, 2005 at 02:23:13PM -0400, Jared Dziedzic wrote:
I'm having a lot of issues installing pygtk on OS X (10.3). I was wondering
how everyone else installed it. Fink ends up messing up python by installing
two versions (regular python for Mac, then python on X11).
Don't install
On Sat, Aug 06, 2005 at 09:22:00PM -0400, Dave Aitel wrote:
http://www.amazon.com/exec/obidos/tg/detail/-/0764596543/
Good job.
If you search inside the book for pygtk, you can read a few pages of that
section.
Dave Cook
___
pygtk mailing list
On Sat, Aug 06, 2005 at 04:29:24PM +, Vinay Reddy wrote:
In case of a tie while sorting on a particular column other columns
are considered at all. I want the sorting function to sort based on
the other columns in case of a tie (in the main column).
Use a sort function. See the tutorial:
On Wed, Jul 06, 2005 at 09:23:44AM -0300, Jose de Paula Eufrasio Junior wrote:
I'm making a pygtk app and got several fields wich values are inserted
(like textviews, spinbuttons) and these values can be changed with
values from other widgets on the app.
I'm not very friendly to the idea of a
On Tue, Jul 05, 2005 at 04:10:25PM +0200, [EMAIL PROTECTED] wrote:
I'm using lot of treeviews.
Is it better in memory purpose to:
1. use the gtk.treestore as data storage. (have an entry in the model
for each simple type str ... or use a more complex object ?).
It's a lot more flexible
On Wed, Jun 01, 2005 at 08:54:52AM +, Adrian Immler wrote:
how can i create a gtk.TreeStore with a variable count of the columns ?
how can i add/remove columns from a TreeStore ?
I don't think it's possible to add/remove columns from an existing store.
Instead I would suggest using
On Sun, May 29, 2005 at 09:11:34PM +0200, Calle Erlandsson wrote:
But this create a new problem: When I've closed all the windows the app
is still running because I haven't run the gtk.main_quit().
How do I solve this problem?
The function
gtk.window_list_toplevels()
may be helpful here.
On Thu, May 26, 2005 at 03:49:23AM -0400, Jody Steele wrote:
Currenty I am using the append() function to insert data into my
ListStore, and that is all fine and dandy except when the dataset is
fairly large (7520 entries in one test).
It ended up taking about 500 seconds to insert all
On Thu, May 26, 2005 at 04:50:35AM -0400, Jody Steele wrote:
self.list.set_sort_func(0, self.__Sort,(column0.get_sort_order,0))
self.list.set_sort_func(1, self.__Sort,(column1.get_sort_order,1))
self.list.set_sort_func(2, self.__Sort,(column2.get_sort_order,2))
I'm guessing these sort funcs
On Tue, May 17, 2005 at 06:22:46PM -0400, Samantha wrote:
2. If #1 is not available, here is what I am trying to do. I have a main
window with a tree on the left side of a window. The tree is in a
table. When the user clicks on a tree widget(?), something happens on
the right side. I have
On Sun, May 15, 2005 at 04:23:37PM +0100, Magnus Therning wrote:
I can't seem to find what signal will be emitted when a row in a
TreeView (with ListStore) is selected. I've tried the following signals:
You connect to the TreeView's selected object's changed signal, then in
your call back you
On Mon, Apr 11, 2005 at 12:46:51PM -0300, Christian Robottom Reis wrote:
This is Kiwi used to do, what Kiwi2 does,
Kiwi2? Where?
Dave Cook
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ:
On Thu, Nov 18, 2004 at 11:12:48AM -0500, Chris Lambacher wrote:
I am attempting to use UIManager to generate a ToolBar and a MenuBar.
I want to add icons that are not stock icons, but UIManger requires
that you use stock icons. That means that an IconFactory needs to be
created for the
On Wed, Oct 27, 2004 at 06:56:19PM -0300, Fernando San Mart?n Woerner wrote:
I need to pack a gtk.Expander inside a cell in a treeview, is this
possible?,
Not currently. For any particular widget you want in a cell a CellRenderer
needs to be implemented. gtk+ 2.4 has CellRenderers for text
On Thu, Oct 21, 2004 at 10:17:44AM -0300, Christian Robottom Reis wrote:
On Thu, Oct 21, 2004 at 02:12:19PM +0100, Stuart Hughes wrote:
I did see those, but I wanted the style to have the little box with a
'+' in it for unexpanded nodes and '-' for expanded nodes. Also I
wanted little
On Mon, Oct 04, 2004 at 06:22:30AM -0400, Thomas Mills Hinkle wrote:
Will the refiltering really happen automatically if I just make the
function call Entry.get_text() directly? (if so, when does this happen?
If not, I still need to connect the refilter() call to some event)
Ah, I remember
On Tue, Oct 05, 2004 at 05:12:21PM -0400, Thomas Mills Hinkle wrote:
Okay -- that's what I'd thought. So we return to the problem,
unfortunately. In my case, connecting to the 'changed' signal is too
expensive -- it makes response visibly sluggish while the user types.
Yeah, I was thinking
On Mon, Oct 04, 2004 at 05:32:28AM -0400, Thomas Mills Hinkle wrote:
I am using the ComboBoxEntry but I was still hoping for an answer to the
above query -- how to connect to the combo-list popup event. In my case,
I have a very large model which gets filtered based on other
EntryWidgets in
On Sun, Oct 03, 2004 at 02:43:58PM +0200, Matthias Teege wrote:
I have a lot of combo widgets in a small application. The data for the
combo-list-items come from a database. It is necessary to update the
combo-lists when the user clicks on the combo item. So I try to
connect to the
On Thu, Sep 30, 2004 at 01:18:04PM +0300, Ruslan wrote:
I would like to ask people using pygtk + glade to share their approach
on code decomposition. For example, there is GUI(made in glade) -
Notebook with different pages containing a lot of widgets that needs to
be connected with signals
On Tue, Sep 14, 2004 at 02:37:40PM -0400, Jamey Cribbs wrote:
Every few months, I grab the latest version of pygtk and attempt to
duplicate the CList functionality using TreeView, but to no avail. I
have done a lot of reading, attempted to use
Liststore/TreeModelSort/TreeView
On Wed, Sep 15, 2004 at 06:28:37AM -0400, Thomas Mills Hinkle wrote:
Currently, I'm using popup menus in TreeViews as a hack since I can't
pack a ComboBoxEntry into a TreeView. It would be convenient to use the
same TreeModel for both these popup menus and ComboBoxEntries elsewhere
inthe UI.
On Fri, Sep 10, 2004 at 08:16:25AM -0400, Dave Aitel wrote:
Has anyone looked at IronPython? I think you could write a pyGTK that
used (wrapped) the GTK# libraries so all our great pyGTK programs could
run on Mono.
http://usefulinc.com/edd/blog/contents/2004/08/24-monoadn-ex/read
Dave Cook
On Thu, Aug 19, 2004 at 11:31:35AM +0400, Mikhail Sobolev wrote:
I looked around for PyGTK port for Mac OS X, and it looks like such a
thing does not exist (at least, as an official release). Is my
impression correct?
Pygtk runs fine under Apple's X11 server
Thought I'd share my lazy tree implementation. The idea is that child rows
in a tree are not filled in until the user clicks on the expander for that
row. Until then, an single unset row is used as a placeholder for the the
child rows.
http://members.cox.net/davecook/pygtk/LazyTreeStore.py
To
On Sun, Aug 08, 2004 at 05:45:38AM -0400, dave wrote:
Are we supposed to be talking about TreeStore's here instead of liststores?
I'm currently doing a search on a TreeStore:
for row in treestore:
if row[0]==searchedthing:
return row
Here's what I came up with when someone asked
On Tue, Jul 06, 2004 at 12:06:28PM -0700, John Finlay wrote:
In addition to receiving comments about tutorial problems, errors and
enhancements, I'm interested in hearing from poeple who have used the
GenericTreeModel. Specifically, I'm interested in what applications
require a custom tree
On Wed, Jul 07, 2004 at 01:13:28AM +, Christian Bird wrote:
I've got a question about the best way to iterate over the items in a
TreeView starting with an arbitrary item in the treeview. I'm trying
#untested back-of-the-envelope coding!
#Uses the gtk standard of returning False on
This class solved a problem that has been bothering me for a long time: how
to do interactive searches when your store contains only objects. The
TreeView wants to access a column of strings to do this. Also, the new
ComboBoxEntry can use a TreeModel, but again it wants to access a column
On Fri, Jun 25, 2004 at 04:32:30PM +0200, Lorenzo Gil Sanchez wrote:
I'm not sure what do you mean. There is a bug in GTK+ about having a
CellRendererCombo:
http://bugzilla.gnome.org/show_bug.cgi?id=139347
Wrapping it in pygtk after that would be pretty easy.
If you mean if we have a
On Wed, Jun 23, 2004 at 11:39:21AM -0300, Gustavo Niemeyer wrote:
I haven't found this anywhere, so I thought someone else might
be interested as well. Here is a cell renderer which mimicks
progress bars, based on current gtk+ code.
Has anybody done a cell renderer for combo boxes?
Dave Cook
On Wed, Jun 09, 2004 at 08:33:27PM +0200, Danny Milosavljevic wrote:
Can this internal search box be called(shown) per code (i.e. on first
keypress, on toolbutton) ?
I don't know, I can't find an API for it. You might want to ask for the
feature in bugzilla.
Dave Cook
On Fri, Jun 04, 2004 at 01:35:37PM +0200, Johan Dahlin wrote:
That demonstrates how to subclass a GtkWidget in PyGTK.
What about when constructors require arguments? Is this still an issue?
Dave Cook
___
pygtk mailing list [EMAIL PROTECTED]
On Fri, Jun 04, 2004 at 11:11:28PM +0100, Jonathon McKitrick wrote:
Hi David,
the tips you gave me were very helpful. I have a working prototype now that
has helped me understand the basics. But what if I want to still have
multiple columns? I'm still not quite sure where those should
On Fri, Jun 04, 2004 at 06:20:04PM +0100, Jonathon McKitrick wrote:
if I have a set of objects and show their properties in a TreeView, is it
better to change the original objects then rebuild the ListStore, or extract the
changes from the ListStore and modify the original objects?
Best to
On Sat, Apr 03, 2004 at 11:00:40AM +0200, Nemesis wrote:
Hi all,
I'm writing a newsreader with python+pygtk. I'm using a TreeView
in order to show the articles (in a threaded fashion). I'd like to
store the model so I don't have to rebuild the threads every time I
select the group.
I've
On Sat, Apr 03, 2004 at 02:12:28PM +0200, Nemesis wrote:
Hmm, I think that the n.1 is the most simple, but however you have to
cicle the list and rebuild the tree, as far I can see.
I'm not sure I understood n.2,
The idea is to subclass TreeStore and override TreeStore.set/set_value (and
On Sat, Mar 13, 2004 at 01:45:58AM -0600, Mauricio Téllez wrote:
Hi, I have a ListStore with 3 column of type gobject.TYPE_STRING, the
first and thirth columns are editable, but the second is not. I have an
Add button that when I click it append a new row to the model, so I
want that the
On Fri, Mar 12, 2004 at 02:00:21PM -0600, Alex Roitman wrote:
pygtk is in Debian since very long ago. Debian has arguably one of the
And in Red Hat since they've used it for their installer and admin tools for
years (since 6.0 or thereabouts IIRC).
Dave Cook
On Thu, Mar 11, 2004 at 04:43:33PM -0700, Don Allingham wrote:
I have created a custom tree model, derived from GenericTreeModel. I use
text strings as iters for the model. This is working well. When I get
the current selection, I get the string that I was using as an iter.
model =
On Mon, Feb 09, 2004 at 11:39:37AM +, Graham Ashton wrote:
I was wondering if it's possible to do row specific tooltips.
See http://bugzilla.gnome.org/show_bug.cgi?id=80980
Though this is per cell. Don't know if per row is possible.
Dave Cook
On Fri, Jan 16, 2004 at 03:52:09PM -0200, Christian Robottom Reis wrote:
Aren't there bugs open on this subject? This has been discussed at
length here, and IIRC there was some consensus that something needs to
be fixed (in PyGTK, IIRC). As to whether you should rewrite the
Doesn't gtk 2.3
On Fri, Jan 02, 2004 at 09:40:58AM +0800, Bert Marco Schuldes wrote:
Icons and especially visible lines connecting
the nodes of the tree.
I think that's what this RFE is about:
http://bugzilla.gnome.org/show_bug.cgi?id=106406
But there seems to be some confusion there between grid lines as
On Tue, Dec 30, 2003 at 10:14:19PM +0100, Daniel Kirkegaard Mouritsen wrote:
Hey everybody,
I'm having problems with the gtk.CellRendererToggle() renderer, I have a
TreeStore with three column defined like this:
tree_store = gtk.TreeStore(gobject.GObject, gobject.TYPE_STRING,
On Thu, Nov 13, 2003 at 12:12:34PM +0100, Harobed wrote:
I would like to show popup window when I click on title column of
TreeView.
The TreeViewColumn object has a clicked signal:
http://tinyurl.com/uuke (scroll to the bottom)
So that you know which column was clicked, you can either attach
I have a treeview/treemodel with icons for the first column of each row,
using TreeViewColumn.pack_start (works great; thanks guys!). However, I'd
like some rows to not have icons. I tried putting None for the pixbuf in my
treemodel for those cases, which works, but it leaves quite a bit of
On Sat, Nov 01, 2003 at 12:52:56PM -0500, Hans Deragon wrote:
Newbie here. I tried to figure out how to remove a row from a
GTK.ListStore on the web (documentation and mailing list archives), but I
could not figure it out. The documentation is pretty poor.
What I want to figure out
On Thu, Oct 09, 2003 at 10:43:54AM -0700, Yang Zheng wrote:
Is it possible to not show certain rows in a treeview that is attached
to a treestore? I know you can display only certain columns, but what
if there are some rows in a treestore structure that I do not want to be
displayed? Can I
On Tue, Oct 07, 2003 at 11:36:36AM -1000, Tim Newsham wrote:
Hi, I would like to compile some nonstandard gtk extensions
written in C into pygtk. What is involved in this process?
Is there any documentation that covers pygtk internals? Are
interfaces generated or defined manually?
This
On Thu, Oct 09, 2003 at 11:10:09AM -0700, David M. Cook wrote:
On Thu, Oct 09, 2003 at 10:43:54AM -0700, Yang Zheng wrote:
Is it possible to not show certain rows in a treeview that is attached
to a treestore? I know you can display only certain columns, but what
if there are some rows
On Mon, Sep 29, 2003 at 10:36:40AM +0700, mige wrote:
I'm trying to use a treemodel [store] in both views (showing as a tree
and a list), just like file explorer.
The tree view is working fine.
But, I need to show the direct childrens in the list view if I click the
node. Is there any way
On Mon, Sep 01, 2003 at 12:40:11AM -0700, Colin Fox wrote:
In addition to my previous message about the missing yellow star in the
About menu, the Gnome About dialog itself is causing me some grief.
If I show the about box, then dismiss it, then show it again, my program
aborts immediately
On Sat, Aug 23, 2003 at 02:16:43PM +0100, Peter Stokes wrote:
I am a newbie to Python and Pygtk, so please bear with me if this is the
millionth time you have been asked this.
I have written my first program with Radio buttons and need to
understand how do I pass AND use a a parameter by
On Fri, Aug 22, 2003 at 03:57:41AM +0200, Nicholas Wieland wrote:
Ehm ... I've posted this request after having read 99% of the mailing list
archives, now I've found the answer in the last 1% ...
Sorry for that, and thanks to Lorenzo Gil Sanchez ...
Sounds like it should be a FAQ. Do you
by Dave Aitel. Good exposure for pygtk. And it's on the web:
http://www.linuxjournal.com/article.php?sid=6586
Dave Cook
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ:
On Wed, Jul 30, 2003 at 06:19:00PM +0200, Emanuele Olivetti wrote:
if you select a node, click 'Choose parent' and select the same
node in the parent list you get a core.
Configuration: LinuxBox with gtk+-2.0.9 and pygtk-1.99.16
Seems to work OK with gtk+-2.2.1. gtk+-2.0 had all sorts of
On Sun, Jul 27, 2003 at 03:05:47AM -0700, Colin Fox wrote:
Is there any documentation or examples that show how to use the new
GtkTree code in python? Especially with a libglade generated interface?
A working tree example would be ideal.
There's a tutorial here:
On Sun, Jul 27, 2003 at 10:01:15AM -0600, Jim Ray wrote:
In the attached example how would you ensure that the parent always is
bold?
You can use markup:
treedata = [[0, 'bMahler, Gustav/b', 1, '', 2, 1, 3, 0],
[0, '', 1, 'Symphony No 1', 2, 0, 3, 1],
[0, '', 1,
On Wed, Jul 23, 2003 at 06:55:36AM -0700, David Mortensen wrote:
My question is this: is there a simple way I can keep the right click event
from triggering an edited signal? Is there some other means for getting my
desired result (pop-up menu and updates on edits)?
You should be able to
On Wed, Jul 09, 2003 at 08:51:24PM +0100, Stephen Kennedy wrote:
When a cell is set to be editable, how
do I actually set it into the 'editing'
state?
view.set_cursor(path, viewcol, gtk.TRUE)
gtk_cell_renderer_start_editing takes
a lot of lowlevel parameters and at this
stage there is no
I've been testing an application (created with glade2 on RH 9) on various
distros and on Mandrake 9.1 I have a problem with stock icons in my toolbar
not showing up (such as gnome-stock-midi, gnome-stock-mic, and
gnome-stock-attach, and gnome-stock-text-bulleted-list). I also get the
warning:
On Tue, Jun 17, 2003 at 10:12:29PM +0200, Thomas Sonne Olesen wrote:
What is the difference between:
iter = self.append ()
self.set (iter, 0, ref)
and
iter = self.append ()
self.set_value (iter, 0, ref)
set_value is for a single value, and set is for 1 or more
On Tue, Jun 17, 2003 at 10:12:29PM +0200, Thomas Sonne Olesen wrote:
File /usr/local/bin/pyblink, line 104, in save
r=self.get_value(iter,0)
TypeError: iter must be a GtkTreeIter
Try putting a
print `iter`
here (with backticks, or use repr()) to see whether the iter is None at
On Fri, Jun 06, 2003 at 12:41:52PM +0300, Ionutz Borcoman wrote:
Q: Do I need to parse the glade file in every class ?
You could do this, or you could pass the XML object around, or you could get
the widgets you need in one place and pass them to where they are needed.
xml =
On Sun, Jun 01, 2003 at 11:54:25AM +1000, Malcolm Tredinnick wrote:
We don't get a lot of off-topic stuff on this list, so others may not
mind. But I keep missing the bit where this announcement relates to
PyGTK. It's a protocol library, right? Not a GUI?
Maybe it's a subtle request for a
On Sat, Mar 29, 2003 at 11:33:49AM -0700, Jay Graves wrote:
I have a project where I am using a treeview where one of the columns is
a boolean (check box) field. The behaviour I want is for only one check
box to be checked at any time. So if the user checks row 2 and then
checks row 8, row
On Mon, Mar 24, 2003 at 02:52:32AM -0500, Eric S. Raymond wrote:
The biggest weakness of PyGTK at this moment is woefully inadequate
documentation. The API documentation is simply not up to the standard of
detail and clarity expected in a Python standard library.
Tkinter was part of the
On Tue, Dec 21, 2004 at 10:29:17PM -0200, Michel wrote:
Hi Guys!
I want to program in pygtk but I didn't find a guide, I read the faq
and some examples but I want a reference guide...
See FAQ item 1.7.
Tell me if the pygtk is very unlike tkinter...
I used tkinter to make guis and
I
On Mon, Feb 24, 2003 at 05:22:57PM -0800, John Finlay wrote:
I converted most of these as well for the PyGTK tutorial at
http://www.moeraki.com/pygtktutorial/index.html
I was thinking of doing a TreeView/Model tutorial covering more ground than
the one that's already out there. What kind of
On Tue, Feb 25, 2003 at 05:38:03PM -0300, Christian Reis wrote:
Lars W. wrote a tutorial on it,
Yes, I wanted to pick up where that one left off. Also, this hasn't been
added to the pygtk tutorial. People shouldn't be forced to hunt all over
for this stuff IMO, and there's that pygtk
1 - 100 of 155 matches
Mail list logo