[maemo-developers] Maemo UI Development for N800/N810
From: kumar lomash kumar.lomash at gmail.comDate: Fri Mar 7 08:23:43 EET 2008
- Previous message: Fullscreen and flash, again ;-)
- Next message: Maemo UI Development for N800/N810
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, I have been developing GUI using GTK +2.0 and now I am facing some performance issues. Let me first describe The implementation: - The UI consists of layouts (GtkContainers) which have event box and image widgets. At any given time only one of the four layouts is visible and the user can select a layout at any given time. On an average each layout has 25 buttons (internally event boxes and image widgets). Every button has 3 states so there are 6 (3 event + 3 image) widgets for every button. A total of 4 layouts make 600 widgets roughly at any given time. The Problem: - Whenever user switches between layouts, I hide other layouts (hide the containers) and show the selected layout. The problem is that it takes very long to do these operations. Is there a better way of doing this? I used event boxes and image widgets in place of gtkbuttons because I needed custom shaped buttons with custom bitmaps over them. Please help! Regards, Lomash -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20080307/56e78b53/attachment.htm
- Previous message: Fullscreen and flash, again ;-)
- Next message: Maemo UI Development for N800/N810
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]