Re: [pygtk] I want use po ?

2000-08-21 Thread James Henstridge
On Tue, 22 Aug 2000, Choi He Chul wrote: > > Hello. > > I want use po ( gmo? ) > > for i18n ... > > I can Use It? There is a gettext module included in gnome-python which you can use to do this. There will be a version of this module included in python-2.0 (which is being discussed at the

[pygtk] I want use po ?

2000-08-21 Thread Choi He Chul
Hello. I want use po ( gmo? ) for i18n ... I can Use It? -- test by iron [EMAIL PROTECTED] http://jangnan.org ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk

[pygtk] drag and drop

2000-08-21 Thread Steve Cresawn
I' have a window that contains 2 clists, and I'm trying to drag and drop from each of them to the other one. However, I don't want to be able to drag and drop from either to itself. I do want to be able to drag to reorder each list, though, using: clist.set_reorderable(TRUE) Is it possible to

Re: [pygtk] expanded tree item

2000-08-21 Thread George Young
On Mon, 21 Aug 2000, you wrote: > On Mon, 21 Aug 2000, Alexandre Fayolle wrote: ... > > This is a GtkCTree you are speaking about, aren't you ? I'm using a plain > > GtkTree. > > Then I would recommend switching to a GtkCTree. Out of the two tree > widgets available in gtk+-1.2, the ctree is muc

Re: [pygtk] expanded tree item

2000-08-21 Thread Alexandre Fayolle
James Henstridge a écrit : > > This is a GtkCTree you are speaking about, aren't you ? I'm using a plain > > GtkTree. > > Then I would recommend switching to a GtkCTree. Out of the two tree > widgets available in gtk+-1.2, the ctree is much less broken (GtkTree > occasionally has weird problem

[pygtk] GnomeApp and menubar

2000-08-21 Thread Tom Cato Amundsen
What is the simplest way to access a menu on the menu bar, when you use GnomeApp and the UIINFO variables to create the menu? mainwin.get_dock_item_by_name("Menubar").children()[0].children[nn] works, but I guess I am missing the correct way to do it. -- Tom Cato Amundsen <[EMAIL PROTECTED]> GN

Re: [pygtk] Re: Replying to posts

2000-08-21 Thread James Henstridge
On Mon, 21 Aug 2000, Jon Nelson wrote: > > Clearly you're not filtering each list into its own folder. > > Filtering is more than just nifty, it provides exactly what you > > want. If it's in the pygtk folder, it's related to pygtk. > > Now that, you see, is an assumption. I do, in fact, filter

Re: [pygtk] expanded tree item

2000-08-21 Thread James Henstridge
On Mon, 21 Aug 2000, Alexandre Fayolle wrote: > En réponse à Aaron Optimizer Digulla <[EMAIL PROTECTED]>: > > > Quoting Alexandre Fayolle <[EMAIL PROTECTED]>: > > > > > How can I know if a GtkTreeItem is expanded ? > > > > Use ctree.get_node_info(node)[7]. It's != when the node is > > expanded

Re: [pygtk] expanded tree item

2000-08-21 Thread Alexandre Fayolle
En réponse à Aaron Optimizer Digulla <[EMAIL PROTECTED]>: > Quoting Alexandre Fayolle <[EMAIL PROTECTED]>: > > > How can I know if a GtkTreeItem is expanded ? > > Use ctree.get_node_info(node)[7]. It's != when the node is > expanded. This is a GtkCTree you are speaking about, aren't you ? I'm

Re: [pygtk] Re: Replying to posts

2000-08-21 Thread Jon Nelson
> Clearly you're not filtering each list into its own folder. > Filtering is more than just nifty, it provides exactly what you > want. If it's in the pygtk folder, it's related to pygtk. Now that, you see, is an assumption. I do, in fact, filter each mailing list into its own folder. I still l

[pygtk] Re: Replying to posts

2000-08-21 Thread Eric Gillespie, Jr.
On Mon, Aug 21, 2000 at 09:34:29AM -0500, Jon Nelson <[EMAIL PROTECTED]> wrote: > I honestly don't care about the reply-to-list aspect, but calling the [pygtk] > part of the header 'braindead' is a little short sighted. Some of us > subscribe to too damn many mailing lists, and while filtering

Re: [pygtk] Re: Replying to posts

2000-08-21 Thread Jon Nelson
> Please don't do this! It's bad enough that i have to filter the > stupid '[pygtk]' out of every message off this list, i'd hate to > see this brain-damage introduced as well. This is *not* what > Reply-To is for. I honestly don't care about the reply-to-list aspect, but calling the [pygtk] par

[pygtk] Re: Replying to posts

2000-08-21 Thread Eric Gillespie, Jr.
On Mon, Aug 21, 2000 at 04:12:11PM +0200, Aaron Optimizer Digulla <[EMAIL PROTECTED]> wrote: > Could you please change the default for your mailing list to > "Reply to list" ? Whenever I answer questions to posts here on > the list, I forget to use "Reply to all" since PyGTK is the > only list whi

Re: [pygtk] expanded tree item

2000-08-21 Thread Aaron Optimizer Digulla
Quoting Alexandre Fayolle <[EMAIL PROTECTED]>: > How can I know if a GtkTreeItem is expanded ? Use ctree.get_node_info(node)[7]. It's != when the node is expanded. -- == Sowatec AG, CH-8330 Pfäffikon (ZH) Witzbergstr. 7, http://www.sowatec.co

[pygtk] Replying to posts

2000-08-21 Thread Aaron Optimizer Digulla
James, Could you please change the default for your mailing list to "Reply to list" ? Whenever I answer questions to posts here on the list, I forget to use "Reply to all" since PyGTK is the only list which is set to "Reply To Sender" and I post only very seldom. Since I'm using a web interface,

Re: [pygtk] RE: create_progress_bar() question

2000-08-21 Thread Aaron Optimizer Digulla
Quoting Javi Roman <[EMAIL PROTECTED]>: > def timeout(pbar=pbar, pcnt=0): > pcnt = (pcnt + 0.02) % 1.0 > pbar.update(pcnt) > print pcnt > return TRUE When you do this, then pcnt will always contain zero because that is what pcnt is se

[pygtk] expanded tree item

2000-08-21 Thread Alexandre Fayolle
Hello, How can I know if a GtkTreeItem is expanded ? Thanks Alexandre Fayolle ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk

[pygtk] RE: create_progress_bar() question

2000-08-21 Thread Javi Roman
The whole program to have more details is the following one: #!/usr/bin/env python # from gtk import * def create_progress_bar(_btn): win = GtkDialog() win.set_position (WIN_POS_CENTER) win.set_policy(FALSE, FALSE, TRUE) win.set_title("Progressing") vbo

[pygtk] create_progress_bar() question

2000-08-21 Thread Javi Roman
I have modified the function that creates a bar of progress in example testgtk.py of James Henstridge. I have the following problem: "pcnt" in timeout function seems that it is not updated, "print pcnt" shows 0.0 always, so progress bar don't work correctly. The function: def create_progress_b