Icon in a gtk.Entry

J

johnthawk

Hello all,

I have two thing I wish to accomplish, First, put an icon in a gtk.Entry as in many search boxes. Second put a gtk.Checkbox in a gtk.ComboboxEntry. On the later I thought I could get a handle to the Combobox tree and then add a column and then column span column 1 back into column 0 , thus a gtk.ToggelRender would be visible in column 0. But I had no luck getting a handle to the Combobox tree.


Any help would be greatly appreciated.

Have a nice day.

John

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
 
Y

Yann Leboulanger

Hello all,

I have two thing I wish to accomplish, First, put an icon in a gtk.Entry as in many search boxes. Second put a gtk.Checkbox in a gtk.ComboboxEntry. On the later I thought I could get a handle to the Combobox tree and then add a column and then column span column 1 back into column 0 , thus a gtk.ToggelRender would be visible in column 0. But I had no luck getting a handle to the Combobox tree.

For the first one, look at libsexy: http://www.chipx86.com/wiki/Libsexy

For using a ToggleRenderer, look at pygtk tuto:
http://pygtk.org/pygtk2tutorial/sec-CellRenderers.html#sec-ActivatableToggleCells
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,787
Messages
2,569,631
Members
45,338
Latest member
41Pearline46

Latest Threads

Top