Hi to all,
After a long time I'm back on python and gtk. I'm using gobject and I like
it a lot...
I totally agree with Rafael; we must start contributing to the Python GTK+3
in order to have a guide as complete as the one for pygtk.
The second step can be to help Dieter as beta tester with his eff
Hi to all,
I've a couple of questions regarding pygoocanvas.
(I'm asking here but if there is a better place let me know! )
-suppose you have a canvas with many items (rects, text, lines), how can i
empty the canvas?
-with a GridItem I can create a grid with both vertical and horizontal
lines; is
Hi to all,I've just discover this:http://mail.python.org/pipermail/python-announce-list/2006-March/004773.htmlIt's not directly relate to pygtk but I think it' s a very nice project and someone on
this list may help with ideas or code.thank you for your attention! Pier
Hi Loris,
this works for me
--8
Hi Mystilleef,
I don't know what the problem is, so
I can't give you any solution, but I can suggest you a workaround: use
a gtk.Statusbar, modify your code like this:
statusbar = gtk.Statusbar()
window.add(statusbar)
statusbar.pop(1)
statusbar.push(1, "It does not
Hi to all,
I'm developing a multiplatform app with python and gtk. It must work fine in linux and in window (maybe also OsX).
As every good app It must have an help (better a contextual help) showing how to use it.
But at this point I'm not sure what to do. I can see more than one option:
1) Usi
Hi Francesco,
probably I didn't undestand you question but:
close_button = gtk.Button(stock =gtk.STOCK_CLOSE )
Is that what you need?
For more info
http://www.pygtk.org/pygtk2reference/class-gtkbutton.html#constructor-gtkbutton
Regards
Pier
On 7/26/05, Francesco Marchetti-Stasi <[EMAIL PROTECTE
Hi Ogz,On 7/25/05, Ogz <[EMAIL PROTECTED]> wrote:
Here is a code that should show a text at a label and continue withssh connection:...some code...txt = "test"self.lbl_burn.set_text(txt)self.MainWindow_Sefir.show_all
()
I suspect (but I'm not completely sure) that here you should use
while
Hi Oliver,
you can connect your SourceView.View to the key_press_event:
(view is a gtkSourceview.View)
view.connect("key_press_event", self.view_key_press)
def view_key_press(widget, event):
if (event.keyval == gtk.gdk.keyval_from_name("f") and
event.state == gtk.gdk.CONTROL_MASK):
Hi to all,
any idea where I can find packages for windows platform of gtksourceview and gtkmozembed.
I know both of them should be portable to win but I'm not able
to find any infos on how to
do it .
At the moment I don't have an environment for compiling C code under
windows so if you an
Hi to all,
I've played a bit with gdl package (thanks John for you previous mail).
In my example (see attach) I've problems with the DockBar because it
never shows icons when items are minimized. Please consider that I
don't have any documents about these widget, and my code is merely
based on gnom
Hi to all,
I'm looking for a dock widget to use in my pygtk app. I' ve searched a
bit with google and I' ve found that
probably gdl is what i need. But I was not able
to find any infos/homepage of this project.
Have you any tips or ideas?
Thanks
Pier
__
Hi to all,
I' ve downloaded and installed gtksourceview v 1.1.92 and then
downloaded and installed gnome-python-extra 2.9.4.
But when I try to load gtksourceview in python I get the following error:
>>> import gtksourceview
Traceback (most recent call last):
File "", line 1, in ?
ImportError: /us
;key-press-event", self.showsig, "E1 insert")
Hope this can help!
Regards
Pier
--
Pier Carteri <[EMAIL PROTECTED]>
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Hi to all!
I'm looking for the possibility to change some properties of a
gnomePrintFont. More precisely I want to be able to change the color,
the weight (i.e. normal, bold) and the style (i.e. normal
oblique/italic). How can I do it?
Thank you!
Pier
--
Pier Carteri <[EMAIL P
truncate it (and put a small arrow to indicate it). This
is ok for my needs but probably not for your, so change it...
I hope this can help!
Regards
Pier
Il mer, 2003-11-26 alle 17:18, Fernando San MartÃn W. ha scritto:
> El miÃ, 26-11-2003 a las 12:51, Pier Carteri escribiÃ:
> >
ht of the string I'm showing?
-Are there any easy way to print text according with the tags into the
textBuffer (at least for foreground-color, weight and style properties)?
Thanks to all!
Pier Carteri
--
Pier Carteri <[EMAIL PROTECTED]>
Hi to all,
I'm playing with gnomeprint and I've the following question: as default
the origin of the coordinates is on the bottom-left corner but I prefer
it on the top-left, how can I change it?
Thank you!
Best regards!
Pier
--
Pier Carteri <[EM
ks but I'm not
sure...
Best regards!
Pier
Il mer, 2003-11-05 alle 14:23, John Hunter ha scritto:
> >>>>> "Pier" == Pier Carteri <[EMAIL PROTECTED]> writes:
>
> Pier> I attached a new version of Py_Shell that fix a couple of
> Pier> pr
bedded inside.
> Currently, the Py_Shell inside the gui is a completely new one that has
> no knowlege of the Gui.py functions/variables. Is there a way for
> Py_Shell to have acess to them?
>
> thanks again,
> ~ Yang
>
>
> On Tue, 2003-11-04 at 11:46, P
Hi Yang!
main_shell=Py_Shell.Shell_Gui(with_window=0)
> xml.get_widget("vpaned1").add2(main_shell.gui)
I've looked to my code, I think the solution is that you miss a
main_shell.gui.show_all()
In my code I call it with the empty frame, that's why you see only the
frame.
You ca fix it:
put line 31
27;2.0')'
> to make it work.
>
> 2) If I scroll back in history using 'up' I am not able to get back to
> the empty prompt afterwards.
>
> 3) Maybe the standalone version could react on 'CTRL-d' by exiting?
>
> Attached is a
ng here, but I think the theory is correct. In
> any case, look at the frame created in the Shell_Gui class and utilise
> that directly.
>
> Cheers,
> Malcolm
> ___
> pygtk mailing list [EMAIL PROTECTED]
> http://www.daa.com.au/mail
n be useful to someone else..
Best regards!
Pier
Il gio, 2003-10-30 alle 10:22, Pier Carteri ha scritto:
> Hi to all,
> can someone tell me how to put an image into the border window of a
> gtkTextView?
> Any examples?
>
--
Pier Carteri <[EMAIL PROTECTED]>
<>
Hi to all,
can someone tell me how to put an image into the border window of a
gtkTextView?
Any examples?
Thank you!
Best regards
Pier Carteri
--
Pier Carteri <[EMAIL PROTECTED]>
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.
this is the correct
solution.
Has anyone some tips about this? Where should I look for clipboard
informations?
Thank you!
Best Regards
Pier Carteri
--
Pier Carteri <[EMAIL PROTECTED]>
___
pygtk mailing list [EMAIL PROTECTED]
http://www.d
mples?
Thankyou!
Best regards
Pier
--
Pier Carteri <[EMAIL PROTECTED]>
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Besides, I don't know how to create a TextIter of the
> current offset of the cursor.
>
> Why all this? I want a TextView where no 2 spaces can be written one
> after the other, just like in lyx.
>
--
Pier Carteri <[EMAIL PROTECTED]>
_
Jon Anderson for pygtk-console.py
James Henstridge for gtkcons.py (Gtk 1 version)
so many thanks to them!
I' sending this with the hope it can be usefull to someone else.
Best regards
Pier Carteri
--
Pier Carteri <[EMAIL PROTECTED]>
#
# Py_Shell.py : inserts the python
Has anyone already done this? How?
Any tips or code example will be great
Thank you!
Pier Carteri
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Hi to all,
I was playing a bit with pygtk+Glade+libglade. I've created a minimal
Gnome gui with Glade (just click on the Glade Palette the
Gnome-Application-Window button and save the file). When I've tried to
display the gui I've received the following errors/warnings.
(test:814): GLib-GObject-WA
Il mar, 2002-12-10 alle 02:50, John Finlay ha scritto:
> I figured out how to get the program to work with Pythoon 2.2 and PyGTK2:
>
> - pygtk 1.99.13 is compiled with threads disabled by default (0.6.11 has
> threads enabled by default it seems) so I had to run configure
Can you explain me why
with some spaces. I've tried to added a callback to the "insert-text" signal but using
this event I obtain a
buffer with some spaces after a tab (instead of one with only spaces).
Which signal should i use?
Thank you
Pier Carteri
Christian Reis <[EMAIL PROTECTED]> wrote o
f.buffer.insert(start,text,len(text))
and everythings works!
Sorry again for the spam
Pier
Il lun, 2002-03-04 alle 15:00, Pier Carteri ha scritto:
> Hi again,
> Thanks Matt, can you tell me how to check if a file contains such
> chars, and in that case how to convert in a format th
04, 2002 at 02:50:57PM +0100, Pier Carteri wrote:
> >
> > editor(pid:1549): Gtk-CRITICAL **: file gtktextbuffer.c line 476
> > (gtk_text_buffer_emit_insert): assertion 'g_utf8_validate (text, len,
> > NULL)' failed
> >
> > The files are normal text file;
Hi,
as said in my previous post (I hope not boring you ) I'm working on a
code editor based on GtkTextBuffer and GtkTextView; the method for load
a file is something like this:
try:
file=open(self.name,'r')
text=file.read()
start=self.buf
Hi,
the solution of this problem was simply to update my configuration:
I've download and install more recent rpm for rawhide (1.3.14) and pygtk
1.99.7
So for other RedHat user that want to use precompiled binaries I
strongly raccomanded not use the following packages:
gtk2-1.3.12-90
gtk2-devel-1.
Hi to all,
I'm learning the new gtk2 and in particular the multiline text widgets (TextBuffer
TextView & Co.)
My idea is to see if I can use theese widgets in my app. The app is basically and
editor for Python and since now I've used the Scintilla widget that's very cool!
So first question:
Is it
I'm sorry, I've mispelled: the method is not mainiterator but
mainiteration; the question is the same: mainiteration vs mainloop
On 12 Oct 2001 10:36:19 +0200, Pier Carteri wrote:
>
> Hi to all,
> I've created a small class that show a splash screen with an image and
is the mainloop call. I've noticed
that the gtk module has also a mainiterator method that probably is what
I need: can you please tell me what's the difference between mainloop
and mainiterator ?
Best Regards
Pier Carteri
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
t , but it will be better if i
create it by code; can you suggest me how to do it?
Thanks a lot
Pier Carteri
[EMAIL PROTECTED]
___
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
41 matches
Mail list logo