User Profile

Collapse

Profile Sidebar

Collapse
jayro
jayro
Last Activity: Apr 16 '08, 07:52 AM
Joined: Jul 26 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • jayro
    replied to Checkbutton alignment
    Here's an example.
    As you can see when you run the code, the checkbutton stays aligned vertically to the center of its space.
    Can anyone help? thanks

    #!/usr/bin/env python

    import pygtk
    pygtk.require(' 2.0')
    import gtk

    class Base:
    def __init__(self):
    self.window = gtk.Window(gtk. WINDOW_TOPLEVEL )
    self.window.sho w()
    self.checkbox = gtk.CheckButton ("lalalaask
    ...
    See more | Go to post

    Leave a comment:


  • jayro
    replied to Checkbutton alignment
    Hi,

    oops, sorry.. I forgot to say which toolkit I am using.

    It is pyGTK.

    Thanks,
    See more | Go to post

    Leave a comment:


  • jayro
    started a topic Checkbutton alignment

    Checkbutton alignment

    Hi folks,

    I got a checkbutton with a large label which is being wrapped into a few lines.
    Due to the height of the label, the checkbutton aligns vertically ending up set on the center of its space.

    Is there a way I can set the vertical alignment of the checkbutton so it remains in the top of its space if its label is too big (has many lines)?


    Thanks in advance,

    Jay
    See more | Go to post

  • jayro
    replied to ODT generator for Python
    Pyuno

    Can anyone tell me an easy way using PyUNO to generate an ODT file with a text frame in it??

    Thanks
    See more | Go to post

    Leave a comment:


  • jayro
    started a topic ODT generator for Python

    ODT generator for Python

    Hi people, I need to generate ODT documents from Python so I wonder if there is any module capable to do so.

    What I need is to generate an ODT document containing images and text frames with text within. I didn't want to do all the files that form an ODT doc "by hand"...

    Can anyone help me?
    See more | Go to post

  • jayro
    started a topic Using GOCR with Python

    Using GOCR with Python

    Hi,
    I am developing something that now needs an OCR engine to analyze some text.

    I am thinking of developing it in a way that the user can specify which engine to use.
    I am focusing firstly on Gocr, so, I have an image loaded using Python's PIL module. I do some clipping and then want to call Gocr to analyse the clip I generated. The clipped image is not on HD when I do it since I didn't want to save it to my HD, I just...
    See more | Go to post
No activity results to display
Show More
Working...