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/
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
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.
>
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
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)
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/
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
>
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/
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
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/
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
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
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
13 matches
Mail list logo