[pygtk] Glade - Custom Images on Buttons

2008-07-15 Thread Shadi Azoum
Hi,

In Glade, I am trying to add custom images to buttons, but am not sure how. Any 
advice or pointers.
Thanks in advance.
___
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/


[pygtk] A Multilevel Liststore

2008-07-09 Thread Shadi Azoum

Hi,

I am trying to make a hierarchal structure using the PyGTK ListStore.  
What would the code look like for a multilevel structure such as the  
one below:


Parent 1
   Child 1.1
   Child 1.2
   Parent 1.3
  Child 1.3.1
  Child 1.3.2
   Child 1.4
Parent 2
   Child 1
   Child 2
...

I know the code if it was just one parent with multiple children, but  
not when those children are the parents of others.


Any help would be greatly appreciated.

___
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/


Re: [pygtk] Multilevel ListStore

2008-07-07 Thread Shadi Azoum
Thanks for the tip, Paul. Any code example on using TreeStore? The official 
pygtk tutorials offer little support.


- Original Message -
From: Paul Pogonyshev <[EMAIL PROTECTED]>
Date: Sunday, July 6, 2008 3:51 am
Subject: Re: [pygtk] Multilevel ListStore
To: pygtk@daa.com.au
Cc: Shadi Azoum <[EMAIL PROTECTED]>

> Shadi Azoum wrote:
> > Any help would be greatly appreciated.
> 
> Use gtk.TreeStore instead.
> 
> Paul
> 
___
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/


[pygtk] Multilevel ListStore

2008-07-06 Thread Shadi Azoum

Hi,

I am trying to make a hierarchal structure using the PyGTK ListStore.  
What would the code look like for a multilevel structure such as the  
one below:


Parent 1
  Child 1.1
  Child 1.2
  Parent 1.3
 Child 1.3.1
 Child 1.3.2
  Child 1.4
Parent 2
  Child 1
  Child 2
...

I know the code if it was just one parent with multiple children, but  
not when those children are the parents of others.


Any help would be greatly appreciated.


-Shadi Azoum

___
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/


[pygtk] Glade Resizing

2008-05-02 Thread Shadi Azoum
I was wondering if anyone has played around with Glade and experienced a resize 
problem. When I try to create just a basic window, I can't seem to resize it 
(no dragging or size parameters).
Any help/advice would be greatly appreciated.
___
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/


[pygtk] Selecting Children Checkboxes When Parent is Selected

2008-04-19 Thread Shadi Azoum
I have two columns in a treeview, one with strings in a hierarchial  
fashion and corresponding checkboxes. How can I make all children  
checkboxes selected if a parent checkbox is selected?

I would greatly appreciate any help.
___
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/


[pygtk] PyGTK Toolbar

2008-04-15 Thread Shadi Azoum
Fellow programmers,

I am starting out with PyGTK and am trying to implement a simple toolbar with 
custom icons. I had a perfect toolbar until I decided to eliminate the 
deprecated warnings. Such methods as append_item() have been deprecated in 
later versions of Python. The only one that is supported seems to be insert().

Can anyone show me an example of how to implement a toolbar with buttons (with 
custom images, not stock) and a text entry field? I would greatly appreciate it.
___
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/