Hi
You could play around with these widget methods e.g.
font = pango.FontDescription("Sans 12")
calendar.modify_font(font)
base = gtk.gdk.color_parse("red")
calendar.modify_base(gtk.STATE_NORMAL, base)
Regards
Paul Malherbe
+27 (0) 21 6711866
+27 (0) 82 9005260
Kosa wrote:
nobody?
Please help.
Kosa
- Un mundo mejor es posible -
Kosa escribió:
I forgot to mention I found the
set_marked_date_color method
but
"'gtk.Calendar'
object has no attribute 'set_marked_date_color'"
Cheers
Kosa
- Un mundo mejor es posible -
On mercredi 25 juin 2008, Festila Catalin wrote:
> I want to activate *invisible*-*char *from a GtkEntry.
entry.set_visibility(False)
entry.set_invisible_char('*') # Default
Is it what you need?
--
Frédéric
http://www.gbiloba.org
___
pygtk m
Hi,
I am happy to announce Spiff GtkWidgets, a collection of Gtk widgets
written in Python.
SpiffGtkWidgets.Calendar
-
About a year ago I dropped a calendar widget similar to Google Calendar
on this list (goocalendar). I wasn't planning to maintain it back then,
but now I
I want to activate *invisible*-*char *from a GtkEntry.
Thank you !
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Hi,
I don't know if this is normal behaviour or a bug in (Py)Gtk, so I post it
first here.
This is a simple test app
#Start of application
import gtk
class class1():
def __init__(self):
print "INIT"
builder = gtk.Builder()
builder.add_from_file("gtk-builder-test.
Thats it, it worked!
On Wed, Jun 25, 2008 at 11:53 AM, Frédéric <[EMAIL PROTECTED]>
wrote:
> On mercredi 25 juin 2008, Packo wrote:
>
> > Ok, I know the behaviour of Windows with delete-event, I use it to
> > manage the closing of windows, but my question, not the question of
> > Frederic, is: ca
On mercredi 25 juin 2008, Gian Mario Tagliaretti wrote:
> It does work.
>
> Returning True from "delete-event" stops the signal emission and the
> windows stays open, you probably want to give the user another meaning
> to close the window, like popping up a message dialog asking if they
> really
On mercredi 25 juin 2008, Packo wrote:
> Ok, I know the behaviour of Windows with delete-event, I use it to
> manage the closing of windows, but my question, not the question of
> Frederic, is: can you hide the cross button in the window-manager with
> GTK when you want?
http://pygtk.org/docs/py
On mercredi 25 juin 2008, Packo wrote:
> Ok, I know the behaviour of Windows with delete-event, I use it to
> manage the closing of windows, but my question, not the question of
> Frederic, is: can you hide the cross button in the window-manager with
> GTK when you want?
http://pygtk.org/docs/py
Ok, I know the behaviour of Windows with delete-event, I use it to
manage the closing of windows, but my question, not the question of
Frederic, is: can you hide the cross button in the window-manager with
GTK when you want?
regards..
Gian Mario Tagliaretti escribió:
oops... wrong button, re
Try to rename the Combo with "x:y" values to "x y" values, I think is a
parse error in libglade.
PD: this is the second email I send, the first is lost, I think
Frédéric escribió:
Le 25/6/2008, "BJörn Lindqvist" <[EMAIL PROTECTED]> a écrit:
Here is the minimal glade file that reproduces y
oops... wrong button, reply-all is better :)
On Wed, Jun 25, 2008 at 4:20 PM, Frédéric
<[EMAIL PROTECTED]> wrote:
> It does not work...
It does work.
Returning True from "delete-event" stops the signal emission and the
windows stays open, you probably want to give the user another meaning
to cl
Frédéric wrote:
Le 25/6/2008, "Adiv" <[EMAIL PROTECTED]> a écrit:
Hmm. I know that two signals are emitted when the exit button is pressed, "delete_event"
and "destroy". You could connect the window to both, defining the handlers as simply
returning True. Theoretically (at least in my theory)
Le 25/6/2008, "Adiv" <[EMAIL PROTECTED]> a écrit:
>Hmm. I know that two signals are emitted when the exit button is pressed,
>"delete_event" and "destroy". You could connect the window to both, defining
>the handlers as simply returning True. Theoretically (at least in my theory)
>that should
Hmm. I know that two signals are emitted when the exit button is pressed,
"delete_event" and "destroy". You could connect the window to both, defining
the handlers as simply returning True. Theoretically (at least in my theory)
that should just stop the signal there and stop the exit process.
Le 25/6/2008, "BJörn Lindqvist" <[EMAIL PROTECTED]> a écrit:
>Here is the minimal glade file that reproduces your problem:
>
>
>
>
>
>
>
>context="yes">portrait
>0
>
>
>
>It seems like this problem is very widespread, see:
>
>http://lists.ximian.com/pipermail/glade
Here is the minimal glade file that reproduces your problem:
portrait
0
It seems like this problem is very widespread, see:
http://lists.ximian.com/pipermail/glade-users/2005-March/002467.html
http://lists.ximian.com/pipermail/glade-users/2007-May/003485.h
good question.
Anybody knows?
2008/6/25 Frédéric <[EMAIL PROTECTED]>:
>
> Hello,
>
> How do I manually disable/enable the window close button (the little
> cross)?
>
> Thanks,
> ___
> pygtk mailing list pygtk@daa.com.au
> http://www.daa.com.au/mailman
Python is an Object Oriented Language, the correct access to a class
attribute is with class methods. Is a good practice.
The method "set_text" change the label attribute and do other tasks like
redraw the widget. That's the target of object orientation, you don't have
to know how to do the label
Hello,
How do I manually disable/enable the window close button (the little
cross)?
Thanks,
___
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Walter Leibbrandt wrote:
> Good day,
>
> I would just like to ask a question about the design of PyGtk: What
> were the reasons for the C-like deisgn of PyGtk? For example having to
> use "label.set_text('bleh')" in stead of "label.text = 'bleh'" and
> "txt = label.get_text()" in stead of "txt = la
Hi,
I'm trying to summarize how my trouble appears.
I've defined the following widgets :
self.frame = gtk.Frame()
self.VPaned = gtk.VPaned()
self.HPaned = gtk.HPaned()
...
self.frame.add(self.VPaned)
VPaned.add1(self.HPaned)
self.VPaned.set_position(472)
...
Good day,
I would just like to ask a question about the design of PyGtk: What were
the reasons for the C-like deisgn of PyGtk? For example having to use
"label.set_text('bleh')" in stead of "label.text = 'bleh'" and "txt =
label.get_text()" in stead of "txt = label.text".
Not that I'm critic
On Tuesday 24 June 2008 16:07:18 Ronaldo Nascimento wrote:
> Code
>
> > self.aboutdialog = gtk.AboutDialog()
> > self.aboutdialog.set_version('0.0.1')
> > self.aboutdialog.show()
>
> How do i get the "close" button to hide the dialog?
> thanks
use self.aboutdialog.run() ins
25 matches
Mail list logo