Reply
Thread Tools
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!
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 09:57.