[maemo-developers] How to get a program window into the task/window switcher?
From: Faheem Pervez trippin1 at gmail.comDate: Wed Apr 29 22:14:04 EEST 2009
- Previous message: How to get a program window into the task/window switcher?
- Next message: How to get a program window into the task/window switcher?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Well, apps using a HildonWindow don't *strictly* do it either (Hildon sets the name of the binary as the first line which is odd IMHO) . But for GTK: you get the first line by using g_set_application_name() and then gtk_window_set_title() for the second line. But believe it or not, this isn't hard to do at all... char *name = "Title to show on first line - Title to show on second line" and then pass that char to XStoreName as the third argument: http://i44.tinypic.com/348sy2a.png Best Regards, qwerty12 On Wed, Apr 29, 2009 at 1:21 PM, Frantisek Dufka <dufkaf at seznam.cz> wrote: > Faheem Pervez wrote: > > For C programs, Mikkov made the following code which works a treat for > > SDL stuff: > > http://wiki.maemo.org/Game_development#Set_the_window_title > > > > This is great and works fine to set first line in task switcher window > list but it would be nice to put something to second line too like > hildonized apps do. Any tips for setting second line from SDL/x11 C code? > > Frantisek > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20090429/7c41a68b/attachment.htm
- Previous message: How to get a program window into the task/window switcher?
- Next message: How to get a program window into the task/window switcher?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]