[maemo-developers] [Maemo App Dev] gtk.ToolItem not shown unless hildon.window.show_all() called
From: 陈凯 chenkai036 at gmail.comDate: Sat Mar 8 15:51:37 EET 2008
- Previous message: [Maemo App Dev]How to make my app UI different
- Next message: Google SoC 2008
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, folks I found a problem in using hildon.window.add_toolbar(). I am not sure whether it is a bug or my misunderstanding in GTK+ concept. I've learnt GTK+ for only several couple of weeks, so your advice or opinion is welcomed. In my python script code, I created a gtk.Toolbar widget and some gtk.ToolButton widgets in it. I showed the toolbar and every widget the toolbar contains, and finally add it into hildon.window using hildon.window.add_toolbar(). When run my script, the button disappear from the toolbar. On contrast, when I add hildon.window.show_all() in my code, every button showed in the right place. So MUST I call hildon.Window.show_all() instead of call every widget's show() if I want to use toolbar in my app? Thanks in advance~ Chenkai -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20080308/6a19bdeb/attachment.htm
- Previous message: [Maemo App Dev]How to make my app UI different
- Next message: Google SoC 2008
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]