Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #4884

Re: PyGTK, Glade/libglade. What am I doing wrong?

Path csiph.com!x330-a1.tempe.blueboxinc.net!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.85.MISMATCH!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <daniil.re@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.147
X-Spam-Level *
X-Spam-Evidence '*H*': 0.71; '*S*': 0.00; 'python': 0.07; 'gnome': 0.16; 'subject:Glade': 0.16; 'subject:PyGTK': 0.16; 'subject:wrong': 0.16; 'header:In-Reply-To:1': 0.22; "haven't": 0.23; 'received:209.85.214.174': 0.23; 'received:mail- iw0-f174.google.com': 0.23; 'wrote': 0.25; 'script': 0.26; 'message-id:@mail.gmail.com': 0.28; 'url:)': 0.29; 'subject:?': 0.29; 'this.': 0.30; 'wishes,': 0.31; 'to:addr:python-list': 0.32; 'example,': 0.33; 'actually': 0.34; 'there': 0.35; 'subject:What': 0.35; 'subject:/': 0.36; 'think': 0.36; 'should': 0.37; 'received:209.85': 0.37; 'received:google.com': 0.38; 'but': 0.38; 'used': 0.38; 'received:209.85.214': 0.39; 'to:addr:python.org': 0.39; 'received:209': 0.39; 'similar': 0.40; 'header:Received:5': 0.40; 'best': 0.60; 'p.s.': 0.65; 'subject:. ': 0.66; 'show': 0.67; '2.7.1': 0.84; 'url:05': 0.84; 'need,': 0.91; 'url:07': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=o3geQ/zUY6XHSBbaf7OU5l8/L7sXIfEynqCB33ta2KM=; b=ro1CC6TYY8sYHdpimWmT6mRG/cBCS7Ljy6y7k3l11mgj9YbjJ4kXE6m1ee7Vxs/RSb /IkYNeApgURq5Kh3YMLKUgUdmvoamEk/RY2s1kmTxGMwyIpU1WViFZMWtkKxNAMv4rEk eqJqglHAnFtC8ta7sgJoJh84mDtNVie/pIZiE=
DomainKey-Signature a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=i8retBbtSMKkDEpSoqyR/IUurXwjimnCHyCIjLid25KJt9pfFwSlIXCbgYrUanNRRm vL0gFEwfzInoPmK52zK4m6A5/LX1fvZ+JQETLizwin7oUEIJF5maFap6DcvTFeiVGcSW 7uimAbm3gRW+a/UXdQhetfbXhhAPuj4YYt8IE=
MIME-Version 1.0
In-Reply-To <BANLkTik2oM6d-Uqd0XHBvZ2Vk0c0B36FRA@mail.gmail.com>
References <BANLkTiksuTENPuU-Jyj8YJnOkdjSO=gzQA@mail.gmail.com> <BANLkTikwb6E_51YsukD5seH0y2xR2YG9jg@mail.gmail.com> <BANLkTik2oM6d-Uqd0XHBvZ2Vk0c0B36FRA@mail.gmail.com>
Date Sat, 7 May 2011 14:46:06 +1100
Subject Re: PyGTK, Glade/libglade. What am I doing wrong?
From Даниил Рыжков <daniil.re@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1282.1304739975.9059.python-list@python.org> (permalink)
Lines 12
NNTP-Posting-Host 82.94.164.166
X-Trace 1304739976 news.xs4all.nl 41117 [::ffff:82.94.164.166]:41054
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:4884

Show key headers only | View raw


> I haven't used gtk before, but is there a show method or something similar
> you need, to actually make the window appear?
I don't know. I think "self.wTree = gtk.glade.XML(self.gladefile)"
should do this. For example, author of this tutorial
(http://www.learningpython.com/2006/05/07/creating-a-gui-using-pygtk-and-glade/)
wrote script similar to my.

P.S. I have glade3 3.8.0, gtk 2.24.4, GNOME 2.32.1 and Python 2.7.1

--
Best wishes,
Daniil

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: PyGTK, Glade/libglade. What am I doing wrong? Даниил Рыжков <daniil.re@gmail.com> - 2011-05-07 14:46 +1100

csiph-web