What is the terminology for panel/frame "sliders"?

2009-11-04 Thread Daniel B. Thurman
I am not well versed in windows terminology, so what do you call the "slider" that allows panels or frames to be resizeable? For example: V-Slider: v +===+v+===+ | | | | | | | | | | | | |

Re: PYGTK: How can one add an argument to a callback?

2009-11-03 Thread Daniel B. Thurman
On 11/03/2009 10:35 AM, Lars Wirzenius wrote: > On Tue, 2009-11-03 at 09:46 -0800, Daniel B. Thurman wrote: > >> For example, I want to do the following: >> >> tvc.set_cell_data_func(cp, self.on_file_pixbuf1(t)) >> >> where 't' is another argument

PYGTK: How can one add an argument to a callback?

2009-11-03 Thread Daniel B. Thurman
The following code: [...] tvc.set_cell_data_func(cp, self.on_file_pixbuf) [...] def on_file_pixbuf1(self, column, cell, model, iter): [...] works fine, but what if I need to add another argument to "self.on_file_pixbuf" without destroying the arguments already supplied by the constructor?

Re: Need help to set a cursor/focus on treeview row!

2009-11-01 Thread Daniel B. Thurman
On 10/30/2009 05:48 PM, Daniel B. Thurman wrote: > I am learning, so please bear with me! > > I have the following code: > > def expandHome(self, model, iter=None, defaultHome=None): > ''' expand user's home directory ''' >

Re: Need help to set a cursor/focus on treeview row!

2009-10-31 Thread Daniel B. Thurman
On 10/30/2009 05:48 PM, Daniel B. Thurman wrote: > I am learning, so please bear with me! > > I have the following code: > > def expandHome(self, model, iter=None, defaultHome=None): > ''' expand user's home directory ''' >

Need help to set a cursor/focus on treeview row!

2009-10-30 Thread Daniel B. Thurman
I am learning, so please bear with me! I have the following code: def expandHome(self, model, iter=None, defaultHome=None): ''' expand user's home directory ''' if not defaultHome: return ran = model.iter_n_children(iter) for i in range(ran):

Loading treestore after gtk.main()?

2009-10-28 Thread Daniel B. Thurman
How is it possible to bring up the gtk window first, before loading your treestore, which might take a long time? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: os.listdir() exceptions

2009-10-25 Thread Daniel B. Thurman
On 10/25/2009 04:46 AM, Emmanuele Bassi wrote: > On Sat, 2009-10-24 at 08:30 -0700, Daniel B. Thurman wrote: > >> Is os.listdir(path) the only method available for obtaining >> directory/file list for the given path argument? >> > how is this relevant to g

Re: os.listdir() exceptions

2009-10-24 Thread Daniel B. Thurman
On 10/24/2009 08:30 AM, Daniel B. Thurman wrote: > Is os.listdir(path) the only method available for obtaining > directory/file list for the given path argument? > > The reason I am asking is this: what if one wishes to obtain > a listing of, say the root directory (/), and in th

os.listdir() exceptions

2009-10-24 Thread Daniel B. Thurman
Is os.listdir(path) the only method available for obtaining directory/file list for the given path argument? The reason I am asking is this: what if one wishes to obtain a listing of, say the root directory (/), and in the case of using the linux os, for example, one may encounter a directory cal

Re: gtk.TreeView.set_model(TreeStore) expanders do not seem to work?

2009-10-23 Thread Daniel B. Thurman
On 10/17/2009 05:16 PM, Daniel B. Thurman wrote: > In my application, I am populating a treestore with > new children, I then use the following method: > > self.treeview.set_mode(treestore) > > Apparently the treeview does not show expanders > where there are new children. >

Re: gtk.TreeView.set_model(TreeStore) expanders do not seem to work?

2009-10-18 Thread Daniel B. Thurman
On 10/17/2009 11:08 PM, Lars Wirzenius wrote: > la, 2009-10-17 kello 17:16 -0700, Daniel B. Thurman kirjoitti: > >> In my application, I am populating a treestore with >> new children, I then use the following method: >> >> self.treeview.set_mode(treestore) >

gtk.TreeView.set_model(TreeStore) expanders do not seem to work?

2009-10-17 Thread Daniel B. Thurman
In my application, I am populating a treestore with new children, I then use the following method: self.treeview.set_mode(treestore) Apparently the treeview does not show expanders where there are new children. Is there something I need to do to show the expanders? I have tried, with no effect

Re: Has anyone been able to force TreeView expander with no children?

2009-10-15 Thread Daniel B. Thurman
On 10/14/2009 06:52 PM, Daniel B. Thurman wrote: [snip!] Apologies. It appears that there is something wrong with email-deliveries and I am not getting every posting, so I will have to reply to certain individuals that I have not received directly into my mailbox. (I am looking directly at the

Re: Has anyone been able to force TreeView expander with no children?

2009-10-15 Thread Daniel B. Thurman
On 10/15/2009 07:53 AM, Lars Wirzenius wrote: > to, 2009-10-15 kello 07:44 -0700, Daniel B. Thurman kirjoitti: > >> (1) I am trying to find the "expander-open" event for the >> connect method. I think it is something like: >> > http://library.gnom

Re: Has anyone been able to force TreeView expander with no children?

2009-10-15 Thread Daniel B. Thurman
On 10/14/2009 11:56 PM, Lars Wirzenius wrote: > ke, 2009-10-14 kello 18:52 -0700, Daniel B. Thurman kirjoitti: > >> I have a FileViewer application that I am working on >> and so far I have not been able to force expanders >> on TreeView when there are only "to

Has anyone been able to force TreeView expander with no children?

2009-10-14 Thread Daniel B. Thurman
I have a FileViewer application that I am working on and so far I have not been able to force expanders on TreeView when there are only "top-level" directories/files populated in the TreeStore. You would think that doing something simple as: [...] self.treestore = gtk.TreeStore(str, gtk.gdk.Pixbu

Re: Unable to get Python/Gtk code to work...

2009-10-14 Thread Daniel B. Thurman
On 10/12/2009 12:45 PM, Daniel B. Thurman wrote: [snip!] Here is updated code. The problem I have is preventing the expand/collapse arrow button from changing the Cell Rendering from shifting over the Icon/directory. Try the code below, double-click the directories to expand, then notice that

Is there a code example to match file-types with icon themes automatically?

2009-10-13 Thread Daniel B. Thurman
Are there any code examples available that can automatically match the file-type with the gtk.icon_theme_get_default() method? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Unable to get Python/Gtk code to work...

2009-10-12 Thread Daniel B. Thurman
I am a first timer here and I am trying to get a basic TreeView application to work on Fedora-11 I have gotten the following code from somewhere on the Internet and needed this type of application for a project I am working on. The code I had obtained had a couple of problems when dealing with fi