[pygtk] Sorting Treemodelfilter

2009-02-08 Thread Kalman KHIRALY
archable self.treeview.set_search_column(0) # Allow sorting on the column self.tvcolumn.set_sort_column_id(2) # Allow drag and drop reordering of rows #self.treeview.set_reorderable(True) self.window.add(self.treeview) self.window.show_all() def main(): gtk.main() if __name__ == "__main__": tvcexample = TreeViewColumnExample() main() Best regards, Khiraly ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/

Re: [pygtk] Sorting Treemodelfilter

2009-02-08 Thread Kalman KHIRALY
set_attributes(self.cell, text=0) self.tvcolumn1.set_attributes(self.cell1, text=2) # make treeview searchable self.treeview.set_search_column(0) # Allow sorting on the column self.tvcolumn.set_sort_column_id(2) # Allow drag and drop reordering of rows #NOT WORK

Re: [pygtk] fullscreen trouble on windows

2008-04-09 Thread khiraly
ck_start(l) h.pack_start(la) v.pack_start(h) v.pack_start(l2) v.pack_start(l3) v.pack_start(l4, expand=False) v.show_all() l3.hide() window.add(v) window.present() gtk.main () Best regards, Khiraly On sze, 2008-04-09 at 08:13 +0200, Paul Malherbe wrote: > I have the same problem. >

[pygtk] fullscreen trouble on windows

2008-04-08 Thread khiraly
tk 2.10 on windows xp. Best regards, Khiraly [1]: available at: http://pastebin.ca/977654 import gtk global fullscreen_v global options_v fullscreen_v = 0 options_v = 0 window = gtk.Window () def button_clicked (button): print 'Hello World!' def fullscreen(button): global

[pygtk] checking the clipboard for changes

2006-11-05 Thread Khiraly
appreciated! Best regards, Khiraly ps: For the curious, here is the program which display the clipboard on anotification area (but only once, bottom-right corner): #! /usr/bin/python import pygtk pygtk.require("2.0") import gtk,gobject import egg.trayicon class TrayDemonstrat

[pygtk] display a notification near of the trayicon

2006-10-18 Thread Khiraly
pygtk) Thanks in advance! Khiraly ___ 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] display a notification near of the trayicon

2006-10-18 Thread Khiraly
repo's try > checking testing repository(for instance Archlinux got pygtk2.10 in > testing). > > Cheers, danni. > > On 10/18/06, Khiraly <[EMAIL PROTECTED]> wrote: > Hi! > > I want to write an application which can display near of the >

[pygtk] display a notification near of the trayicon

2006-10-18 Thread Khiraly
I need python using pygtk) Thanks in advance! Khiraly ___ 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] Close button demonstrating app, and questions

2006-04-30 Thread Khiraly
should I talk, If I want to see included this simple code in the pygtk main tutorial section? (in the notebook section) The colored code can be found at: http://pastebin.com/690534 Best regards, Khiraly ps: I paste the sourcecode here to: #!/usr/bin/env python # example notebook.py import pygtk

Re: [pygtk] Close button demonstrating app, and questions

2006-04-30 Thread Khiraly
emove_page(page) return True Best regards, Khiraly ___ 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] Close button demonstrating app, and questions

2006-04-30 Thread Khiraly
idget `GtkNotebook' has no activatable signal "clicked" without arguments notebook.add_accelerator('clicked',self.accel_group,ord('w'),gtk.gdk.CONTROL_MASK,gtk.ACCEL_LOCKED) The goal is, if the Ctrl-W signal emmitted, the self.remove_actual_page() function should

[pygtk] Close button demonstrating app, and questions

2006-04-29 Thread Khiraly
n the tutorial is not really useful) Any helps is really appreciated! Best regards, Khiraly ps: I Include here the sourcecode to, for the archive. #!/usr/bin/env python # example notebook.py import pygtk pygtk.require('2.0') import gtk class NotebookExample: def add_icon_to_but

[pygtk] notebook close button

2006-04-29 Thread Khiraly
tton.connect('clicked',self.on_tabButton_clicked) Thanks in advance! Khiraly ps: here is the full sourcecode: #!/usr/bin/env python # example notebook.py import pygtk pygtk.require('2.0') import gtk class NotebookExample: def add_icon_to_button(self,button,iconFilena