Intro
Downloads
Community
Development
News
TALK
Power Search
Search
Today's Posts
Register
Talk FAQ
Members List
Mark Forums Read
Forgot Password?
Active Topics
Maemo repository (8)
to
Community
by Maemish - 1 day, 17 hrs ago
Porting apps to Leste (44)
to
Maemo 7 / Leste
by norayr - 1 day, 21 hrs ago
List of well performing apps on Leste (35)
to
Maemo 7 / Leste
by smatkovi - 4 days, 19 hrs ago
Sailfish OS for the Motorola Moto G7 Power (XT1955-5) - (ocean) (13)
to
SailfishOS
by edp17 - 5 days, 17 hrs ago
Sailfish OS for the Samsung Galaxy Note 4 (SM-N910C) - (treltexx) (79)
to
SailfishOS
by edp17 - 5 days, 17 hrs ago
U-Boot for Nokia RX-51 with BootMenu (updated version 2012.10-rc3-1) (843)
to
Alternatives
by Arno_11 - 5 days, 22 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
09:57
.
-- 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!