Intro
Downloads
Community
Development
News
TALK
Power Search
Search
Today's Posts
Register
Talk FAQ
Members List
Mark Forums Read
Forgot Password?
Active Topics
The Intel RealSense Smartphone prototype (0)
to
Competitors
by n950 - 2 hrs, 32 mins ago
Phone Camera Competition April 2021: "Funny & Foolish" (16)
to
General
by netman - 4 hrs, 54 mins ago
Maemo-Leste pre-alpha announcement (511)
to
Maemo 7 / Leste
by anapospastos - 11 hrs, 4 mins ago
Maemo Leste Playground (57)
to
Maemo 7 / Leste
by clort - 23 hrs, 41 mins ago
A Palm OS thread ... and a thank you to the community (23)
to
Alternatives
by bradvesp - 1 day, 22 hrs ago
What's the best Handheld gnu/linux machine for 20XX? (77)
to
Competitors
by biketool - 2 days, 12 hrs ago
Unofficial Storage for camera phone competition... (61)
to
General
by Maemish - 4 days, 15 hrs ago
SailfishOS on Sony Z3 Compact Tablet (180)
to
SailfishOS
by ogustbiller - 5 days, 2 hrs ago
Debian "squeeze" Image easy installer (24)
to
Alternatives
by sicelo - 6 days, 5 hrs ago
A good modular laptop for Linux in 2021 (8)
to
Community
by ThomasAH - 6 days, 6 hrs ago
more...
maemo.org
>
Talk
>
OS / Platform
>
Maemo 5 / Fremantle
> NEED HELp ! creat a GtkWidget right next to the CLOCK in STATUS AREA
Thread Tools
sunus
2011-05-19 , 05:58
Posts: 10 | Thanked: 0 times | Joined on Apr 2010 @ Beijing, China
#
1
as i said in topic,i wanna make a tiny stuff needs this !
the status area is in the top right of the screen where shows the battery,times,ect..
here's what i did
let's say,the widget is a gtk_button
void new_widget_next_to_clock(HDStatusPluginItem *item)
{
GtkWidget *button = gtk_button_new_with_label("hello");
hd_status_plugin_item_set_status_area_widget(HD_ST ATUS_PLUGIN_ITEM(item), button1)
gtk_widget_show_all(item);
}
but , nothing happens.
anyway, i can use hd_status_plugin_item_set_status_area_icon to add a icon in status area , but i cannot add a widget.
here are something i've read :
http://maemo.org/api_refs/5.0/5.0-fi...luginItem.html
the APIs
http://maemo.org/development/sdks/maemo_5_examples/
some exapmles
http://maemo.gitorious.org/hildon/hildon
the whole code about hildon.
anyone know how?
thx! any answers would be greatly appreaciate!!
thx again!
Quote & Reply
|
sunus
View Public Profile
Send a private message to sunus
Find all posts by sunus
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Talk
General
Brainstorm
Community
Off Topic
Software
Applications
Multimedia
Games
Themes
Design
OS / Platform
SailfishOS
NeoFremantle
MeeGo / Harmattan
Maemo 5 / Fremantle
Maemo 7 / Leste
OS2008 / Maemo 4 / Chinook - Diablo
OS2006 / Maemo 2 / Mistral - Scirocco - Gregale
Development
Alternatives
Android
FirefoxOS
Nemo Mobile
Tizen
Ubuntu
Devices
Sailfishes
Turing Phone
JollaC & Intex Aqua Fish
Jolla Tablet
Jolla1 & TOH
The Other Half
Neo900
Nokia N9 / N950
Nokia N900
Nokia N810
Nokia N800
Nokia 770
Accessories
Competitors
Buy & Sell
Old
News
Announcements
Troubleshooting
Upgrading
Newbie
Tablet 101
OS2007 / Maemo 3 / Bora
OS2005 / Maemo 1
All times are GMT. The time now is
19:40
.
-- talk.maemo.org
-- Classic Light
---- Classic Dark
-- Minimalist Light
---- Minimalist Dark
Contact Us
-
Home
-
Archive
-
Top
the status area is in the top right of the screen where shows the battery,times,ect..
here's what i did
let's say,the widget is a gtk_button
void new_widget_next_to_clock(HDStatusPluginItem *item)
{
GtkWidget *button = gtk_button_new_with_label("hello");
hd_status_plugin_item_set_status_area_widget(HD_ST ATUS_PLUGIN_ITEM(item), button1)
gtk_widget_show_all(item);
}
but , nothing happens.
anyway, i can use hd_status_plugin_item_set_status_area_icon to add a icon in status area , but i cannot add a widget.
here are something i've read :
http://maemo.org/api_refs/5.0/5.0-fi...luginItem.html the APIs
http://maemo.org/development/sdks/maemo_5_examples/ some exapmles
http://maemo.gitorious.org/hildon/hildon the whole code about hildon.
anyone know how?
thx! any answers would be greatly appreaciate!!
thx again!