itself was a text renderer.
Looking that the pygtk reference manual, this can be accomplished with
gtk.TreeView.insert_column_with_data_func()
HTH
--
Mitko Haralanov
==
Computer programmers do it byte by byte
)])
gtk.gdk.threads_leave ()
thread = FillListStore()
thread.start()
win.show_all()
gtk.gdk.threads_enter ()
gtk.main()
gtk.gdk.threads_leave ()
--
Mitko Haralanov
==
67. Well, _my_ files were backed up.
--Top 100 things you don't want the sysadmin to say
since the entire
gtk uses one master lock.
Also, are you sure that it's the locks? Have you been able to load all
2500 images before without segfaults so you can measure the time?
The alternative would be to not use a separate thread for loading the
model.
--
Mitko Haralanov
)
liststore = gtk.ListStore (gobject.TYPE_STRING)
completion.set_model (liststore)
completion.set_text_column (0)
win.add (entry)
entry.connect (changed, entry_changed, completion)
win.connect (delete-event, gtk.main_quit)
win.show_all ()
gtk.main ()
--
Mitko Haralanov
+os.sep+file)
use 'matches' as completion list
--
Mitko Haralanov
==
This is an unauthorized cybernetic announcement.
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
to scroll it by so the correct child is in view?
Thanks for the help?
--
Mitko Haralanov
==
Professor: No fair! You changed the outcome by measuring it.
___
pygtk mailing list pygtk@daa.com.au
http
hand, I click on every one of the notebook pages, each
of the graphing widgets received their configure_event and all is good.
Is there a way that I can cause the configure_event to be sent without
requiring the user to click on each of the notebook pages?
Thanx
--
Mitko Haralanov
On Thu, 22 May 2008 14:49:12 -0700
Mitko Haralanov [EMAIL PROTECTED] wrote:
What I have is a main application window which contains a
notebook. Each of the notebook pages contains a table. When the main
window is resized, the notebook (and the tables on the pages) get
resized. I would like
to be able to find the actual width and height of
the table in the GtkNotebook page.
I have tried using GtkWidget.get_allocation() but that returns the same
number regardless of how much I resize the main window.
Any advice is appreciated.
Thank you
--
Mitko Haralanov
Is there a way to check the version of PyGTK from within my Python
program?
I know of pygtk.require() but that returns False for anything higher
then 2.0, even though I have pygtk-2.12 installed.
--
Mitko Haralanov
? Defined constants? I can't find them defined anywhere
--
Mitko Haralanov
==
Niblonian: They travel from world to world making everyone stupid in
order to wipe out all thought in the universe.
Leela: Wipe out all thought? My God, they're like flying
/returns. I guess, I could add a new timeout
from within my timeout function and have it [the timeout function]
return False (so the old timeout is destroyed) but I am thinking that
there has to be a better way to do this.
I appreciate any advice on the matter.
--
Mitko Haralanov
the callback returning at and
callback called at is not 20 seconds but 10 seconds (20 second timeout
- 10 second callback runtime).
--
Mitko Haralanov
==
A programming language is low level when its programs require attention
to the irrelevant
there isn't. This causes
re-drawing of the application and is really annoying.
Is there a way that I can prevent this from happening, either by
changing the font used by the progress bar or by having the widget
height be calculated in a permanent way?
Thanx
--
Mitko Haralanov
connection the dialog's confirm-overwrite signal before you run
the dialog. If you look at the pygtk documentation for gtk.FileChooser,
you'll see an example of how to use the confirm-overwrite signal.
--
Mitko Haralanov
==
Who would have though hell would really
get_uri() or get_filename().
and another question: the overwrite windows appears behind the
filechooserdialog.
is there any way to set that window on top/in front of all windows??
Hmm... don't really know why that's happening.
--
Mitko Haralanov
==
9
On Thu, 24 Apr 2008 13:09:40 -0700
Mitko Haralanov [EMAIL PROTECTED] wrote:
Hi, does anyone know of any useful documentation, API, turorials,
examples of python-gtkhtml2.
I can't seem to find anything useful.
Alright, I've been able to find enough information to get a very simple
usage
Hi, does anyone know of any useful documentation, API, turorials,
examples of python-gtkhtml2.
I can't seem to find anything useful.
Thanx
--
Mitko Haralanov
==
panic(sun_82072_fd_inb: How did I get here?);
2.2.16 /usr/src/linux/include/asm-sparc
if syslog_frame.visible:
AttributeError: 'gtk.Frame' object has no attribute 'visible'
--
Mitko Haralanov
==
Usage: fortune -P [] -a [xsz] [Q: [file]] [rKe9] -v6[+] dataspec ...
inputdir
___
pygtk mailing list
'
--
Mitko Haralanov
==
I WILL NOT USE ABBREV.
I WILL NOT USE ABBREV.
I WILL NOT USE ABBREV.
I WILL NOT USE ABBREV.
Bart Simpson on chalkboard in episode 2F33
___
pygtk mailing list pygtk@daa.com.au
http
On Wed, 23 Apr 2008 13:23:22 -0400
John Ehresman [EMAIL PROTECTED] wrote:
Try
syslog_frame.props.visible
That worked. Thank you.
--
Mitko Haralanov
==
43. If I knew it wasn't going to work, I would have tested it sooner.
--Top 100 things
What is the best way to get whether a widget is visible or not?
According to the documentation, gtk.Widget has the 'visible' property
which is Read-Write. However, gtk.Frame for example does not seem to
inherit that property of gtk.Widget.
Thanks for the help!
--
Mitko Haralanov
On Thu, 3 Apr 2008 17:57:34 -0700
Mitko Haralanov [EMAIL PROTECTED] wrote:
I can't seem to figure out how to pass user data to callbacks connected
with libglade's signal_autoconnect. The documentation does not mention
anything about it and all my searching has not come up with anything.
I'd
a custom clicked handler that gets the coordinates of the mouse when
a click occurs, if they are within the frame of the checkbutton, act on
the checkbutton, otherwise call the clicked callback.
I guess, there is a lot more that I need to learn...
--
Mitko Haralanov
is this one page:
http://www.pygtk.org/articles/writing-a-custom-widget-using-pygtk/writing-a-custom-widget-using-pygtk.htm
but it seems that the information on it is not enough to get me going.
Can anyone recommend any docs that could help me? Thanks for the help!
--
Mitko Haralanov
I can't seem to figure out how to pass user data to callbacks connected
with libglade's signal_autoconnect. The documentation does not mention
anything about it and all my searching has not come up with anything.
I'd appreciate it if someone could shed some light on the subject?
--
Mitko
On Tue, 18 Mar 2008 13:31:19 -0700
Mitko Haralanov [EMAIL PROTECTED] wrote:
I am pretty sure that there is something I am missing because such a
huge memory leak in GTK would have been caught. Any ideas?
Hi, I am still trying to figure out why the memory usage of my app
keeps climbing and I
, so
stuck. Well, back to the drawing board.
--
Mitko Haralanov
==
Leela: You buy one pound of underwear and you're on their list forever.
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman
would have been caught. Any ideas?
--
Mitko Haralanov
==
Leela: Bender, maybe you can interface with the Femputer and
reprogram it to let them go.
Bender: Maybe you can interface with my ass... by biting
.
This makes sense since the run() method returned but the question that
I have is how do I make the GtkDialog responsive again? Calling the
dialogs' run() method doesn't work and I don't want to destoy and
re-create it.
--
Mitko Haralanov [EMAIL PROTECTED]
Senior
to the original
one) would be packed at the end of the HBox.
Can this be done using some glade trick or do I have to build the tree
of widgets in the Python clicked signal handler?
--
Mitko Haralanov [EMAIL PROTECTED]
Senior Software Engineer
31 matches
Mail list logo