in my menu when I drop it,
but it's not the case... the menu is not modified.
I'd like to be able to delete an entry I have created, but there is no
self.menuFichier.delete(n) method.
Any hints on this? Thanks !
--
Fabrice DELENTE
___
pygtk mailing
This is not a real answer to your question, but I have been fighting with
menus till I took the time to read UIManager Interfaces that really makes
working with menus much simpler and more reasonable.
I'll look into that, thanks. Is it compatible with glade (because I designed
my interface
with dialog.show_all() and I
click either Ok or Cancel... I tried with dialog.run(), and it didn't worked
either.
Any hint? Thanks!
--
Fabrice DELENTE
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http
Look at:
http://library.gnome.org/devel/pygtk/stable/class-gladexml.html#method-gladexml--signal-autoconnect
I think I don't need this method if I define the callbacks directly in the
glade file.
--
Fabrice DELENTE
___
pygtk mailing list pygtk
You need to call this method to connect the callbacks named in the glade
file to the callbacks in the python program.
You're absolutely right. Thanks for the tip.
--
Fabrice DELENTE
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au
the text, and cairo to render the PNG
file; however I have trouble to find any leads on how to display a PNG file
in with cairo (I'm getting mixed up between contexts and surfaces: what is
the difference?)
Thanks for any help!
--
Fabrice DELENTE
I
have to first scale down my image myself (the PNG is about 2000x2000, and my
window is about 1000x800).
Thanks again.
--
Fabrice DELENTE
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http
in it. What did I miss?
Thanks!
--
Fabrice DELENTE
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/
-resize event of the hbox would be
enough, but it doesn't work. Is there a flag to set somewhere?
Thanks!
--
Fabrice DELENTE
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/
2009/9/12 John Finlay fin...@moeraki.com
What happens if you try drawing the original pixbuf?
John
Your hint was right, my rescaling went the wrong way; displaying the
original pixbuf worked ok, I messed up the rescaling...
Thanks!
--
Fabrice DELENTE
...
Is there a way to manage this with a scrolled window and a viewport? Or do I
have to implement the scrolling myself with an hscrollbar and a vscrollbar?
Thanks!
--
Fabrice DELENTE
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo
a PNG file; I load
it in a gtk.Image with load_from_file, and I didn't find any method in
gtk.DrawingArea to display a pixbuf (as gtk.Image contains a pixbuf).
Do you know of any method to display a pixbuf in a gtk.DrawingArea?
Thank!
--
Fabrice DELENTE
Note the first two sentences in the PyGTK DrawingArea reference
documentation:
Thanks for your detailed answer, I tend to skim over the reference as I find
it confusing at times.
Sorry, I should have read more in depth.
À bientôt.
--
Fabrice DELENTE
SVP, ne m'envoyez pas de pièces jointes
Hello.
I have a DrawingArea that responds to keyboard event. I want that, when I press
1-9, an Entry pops up, in which I can type a number whose first digit is the
digit that made the Entry pop up.
I have nearly succeeded, however when the Entry pops up the digit is selected,
so that when I
You have to set the position *after* you show the entry.
self.interfacePourNombres.show_all()
self.zonePourNombres.set_position(1) # Or use -1 to always put the
cursor at the end
Thanks! That did it!
--
Fabrice DELENTE
___
pygtk
anything clear through googling...
Thanks!
--
Fabrice DELENTE
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/
Have you read this tutorial?
http://zetcode.com/tutorials/pygtktutorial/
No, I didn't know this one; I'll read it.
Thanks!
--
Fabrice DELENTE
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ
Hello.
I hope this list is relevant for my problem.
I'd like to install blueman, the GTK bluetooth manager on my machine
(Slackware 13.37).
For that, I installed libnotify-0.7.4 and notify-python-0.1.1 (with a
bit of trouble due to API changes), and then compiled blueman.
However, when I start
Because pynotify is not installed:
http://pyinotify.sourceforge.net/
Sorry, wrong link, (blame google), here is the right one:
http://www.galago-project.org/news/index.php
It's difficult to find because it is sometimes called python-notify,
notify-python, py-notify, etc!
Yeah, that must
Sorry, wrong link, (blame google), here is the right one:
http://www.galago-project.org/news/index.php
Thanks for the link.
... except that this is the page I already downloaded from and then
compiled and installed pynotify (notify-python-0.1.1.tar.bz2 is what I
downladed) :^(
Do I have to
Maybe it isn't installed properly? This project has no docs, an
empty README and an empty INSTALL.. ouch!
I'll try recompiling and reinstalling then... I'll look into Ubuntu
sources files too, because I know that blueman and so this module are
installed there.
No. I don't think so.
I don't
Hello.
I'd like to create a sliding panel in PyGTK, that is a panel that is hidden
most of the time, but appears by scrolling down when I move the mouse to
the top left of my screen (I don't have anything there, no menu bar or
icons).
Any hint on the best way to do that?
Thanks!
--
F. Delente
Hello.
This is in python2.7, with pygojbect 3.10.2, so using GTK+3.
I have a Gtk.Grid() in which I want to display a list of Labels.
I have set the justification to LEFT for each of my labels, but I
can't get them do be situated on the left of their cell in the grid. I
have tried putting each
Thanks.
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/
Very useful, thank you!
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/
25 matches
Mail list logo