[pygtk] Newbe question .. Selecting the size of a gtk.Table column

Samuel Cormier-Iijima sciyoshi at gmail.com
Mon Oct 9 03:58:56 WST 2006


Hi,

Make sure the treeview's horizontal expand is set to False. Another
way would be to use an HPaned; then the user would be able to select
the width. Otherwise, set a width request, and when pack_starting,
make sure the expand argument is False.

Samuel

On 10/8/06, Paul Borghese <pborghese at gmail.com> wrote:
> Hi,
>
> I have a question and would like to appologize ahead of time for it being
> very basic.
>
> I am building an application using the notebook widget.  Inside the notebook
> is a tab I would like to divide into two columns using gtk.Table.  The
> column on the left is a gtk.TreeView, where an item selected on the TreeView
> will be viewed by the right column.  Think of how Evolution or Outlook is
> designed.  The problem I am having is the treeview column seems to take
> exactly 1/2 of the total space.  When creating the table I have selected
> "homogeneous" as False.  I would like to specify the treeview column is
> limited to a set number of points.  Is that possible?
>
> Thanks!
>
> Paul
>
> _______________________________________________
> pygtk mailing list   pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
>
>
>


More information about the pygtk mailing list