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/
Thanks.
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/
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 la
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.
I'd like to be able to connect a MenuItem to a callback when a key is
pressed on this item menu.
I have tried this:
item.connect("key_press_event", callback)
item.add_events(gtk.gdk.KEY_PRESS)
but nothing happens when I press a key.
Is it possible to do? If yes, how?
Thanks.
--
F.
Hello,
I'd like to program a generic pop-up menu, that I can create outside
of any GTK toplevel, but directly on the X root window, for example by
a keyboard shortcut or by a right click (the shortcut should be
managed by the window manager, xfwm4 in my case).
My problem is to create that pop-up:
> 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'
> > 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 hav
> > 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, t
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
> 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/p
ere? I haven't found
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/
>
> 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!
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 ty
> 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 pa
gh: when I say image, it's in fact 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
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/mailma
2009/9/12 John Finlay
> 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!
--
Fab
> Try the "size-allocate" signal.
Yes, that's it, 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/
gle, but no image 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/
ng cairo, or do 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 t
ro to type 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!
--
> 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
> 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
___
pygt
t):
print "cancel button pressed"
but nothing happens when I pop up my Dialog 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
___
py
> 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 w
I expect to see "some text" as the 6th entry 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 DELENT
28 matches
Mail list logo