Title: Example of changing fontsize with set_markup
Dear PyGTK reader,
On the Net I found an example of using an other fontsize for a label. The way it's done is nice: using big HTML-like tagging. (I created a testprogram for PyGTK. The code is at the bottom of this message).
My question:
Hello René,
So, my question is: Did anyone create a similar GTK entryfield validator for
Python?
It's being implemented in Kiwi (http:/www.async.com.br/projects/Kiwi)
and is expected to be ready in version 0.60 (current version is 0.50)
Best regards,
-
Title: Example of changing fontsize with set_markup
Dear
list-readers,
I
discovered that pango's markup language also allows exact font
setting.
Setting the string to: 'span foreground="blue"
size="38000"Blue text/span has isize 38/i!' sets
text to font 38.
By the
way: the example only
On Mon, Nov 04, 2002 at 11:38:51AM -0600, John Hunter wrote:
John == John Finlay [EMAIL PROTECTED] writes:
John You can create your own dash pattern using
John set_dashes(). See:
John http://www.moeraki.com/pygtktutorial/sec-drawingarea.html#AEN1621
Thanks much, for the
On Tue, Nov 05, 2002 at 05:23:21PM +0800, James Henstridge wrote:
What I'd like to do is something like:
store = gtk.ListStore([gobject.TYPE_STRING]*cols)
Sure. Python makes it quite easy to call a function that takes a
variable number of arguments with an argument vector. You
On Mon, Nov 04, 2002 at 03:38:11PM +0100, René Olsthoorn wrote:
So, my question is: Did anyone create a similar GTK entryfield validator for
Python?
I'm working on one. Would you like to help specify the API? I'm thinking
about using Validation objects that specify how you would like to
On Sun, Nov 03, 2002 at 10:34:50PM -0700, Jay Graves wrote:
If your system is set up to have the old pygtk as default, you will need
to do the import pygtk; pygtk.require('2.0') bit first, and then
import the gnome module. You will also need to make sure you have a
1.99.x version of
On Wed, Nov 06, 2002 at 03:29:01PM +0100, René Olsthoorn wrote:
Dear list-readers,
I discovered that pango's markup language also allows exact font setting.
Setting the string to: 'span foreground=blue size=38000Blue
text/span has isize 38/i!' sets text to font 38.
By the way: the example
On Wed, Oct 30, 2002 at 05:32:35PM +, Padraig Brady wrote:
So it's calling stock_button_new which has a shit attack since
gnome.ui isn't imported.
Yeah, and I'm finding it's not too easy :-)
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
On Mon, Nov 04, 2002 at 04:02:59PM -0600, Tanya Brethour wrote:
picked the first one. I installed it in a separate directory
(/usr/local/lib/python2.2/site-packages). I added that path to my
PYTHONPATH environment variable.
So now... I have a couple of questions
1) Shouldn't there be a
On Tue, Nov 05, 2002 at 09:16:38AM -0500, Don Radick wrote:
but cannot find gnome-python-1.4.4 anywhere, as stated in the
pygtk FAQ section 2.1.
Added FAQ 1.13, ftp.gnome.org's layout changed, updated 2.1.
Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
[John Hunter]
Andrew == Andrew P Lentvorski [EMAIL PROTECTED] writes:
Andrew However, if you really want to handle text well, you
Andrew should probably look at something like PyFT (Python
Andrew Freetype) to render things with full flexibility and
Andrew accuracy.
Thanks
On Tue, Nov 05, 2002 at 05:20:31PM +0800, James Henstridge wrote:
What's the clean way to get two small (preferably inlined) images and
swap them back and forth into a togglebutton?
You can set a gtk.Image widget to display a pixmap (like the gtk.Pixmap
widget can) using its
On Thu, 2002-11-07 at 07:12, Christian Reis wrote:
On Wed, Nov 06, 2002 at 03:29:01PM +0100, René Olsthoorn wrote:
Dear list-readers,
I discovered that pango's markup language also allows exact font setting.
Setting the string to: 'span foreground=blue size=38000Blue
text/span has
Scintilla 1.48 has been GTK2 enabled for a while now, and 1.49 now supports Unicode.
Only the port of the wrapper GtkScintilla to GTK2 is needed and we are in business.
Anybody already working on that ?
- - -- - --- -- - -
Ahmad Baitalmal
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I have GtkList containing a number of GtkListItems. I've attached a function
that is connected to select_child signal - the function then recieves a
GtkList instance. Using get_selection() I get the GtkLIstItem - but I cant
see how to extract the
On Wed, Nov 06, 2002 at 06:33:02PM -0500, Rajarshi Guha wrote:
I have GtkList containing a number of GtkListItems. I've attached a function
that is connected to select_child signal - the function then recieves a
GtkList instance. Using get_selection() I get the GtkLIstItem - but I cant
see
Christian Reis wrote:
On Wed, Nov 06, 2002 at 12:49:48AM -0800, David M. Cook wrote:
On Tue, Nov 05, 2002 at 05:23:21PM +0800, James Henstridge wrote:
store = gtk.ListStore(*[str]*cols)
Whoa, slick, you can also use foo(**keys). I can get rid of all those
awkward apply()
18 matches
Mail list logo