{"id":414,"date":"2011-02-04T10:25:33","date_gmt":"2011-02-04T09:25:33","guid":{"rendered":"http:\/\/gnome\/gtk-meego-handset-week1"},"modified":"2011-02-04T10:25:33","modified_gmt":"2011-02-04T09:25:33","slug":"gtkmeego-handset-integration-week-1","status":"publish","type":"post","link":"https:\/\/blogs.igalia.com\/carlosgc\/2011\/02\/04\/gtkmeego-handset-integration-week-1\/","title":{"rendered":"GTK+\/MeeGo Handset integration: Week 1"},"content":{"rendered":"<p>One of the main goals of the project is to improve the mobile experience in GTK+ by contribution upstream rather than creating another library. The Hildon library contains several widgets and features that could be ported or integrated into GTK+: HildonLiveSearch, HildonPannableArea, GtkEntry:hint-text property, GtkWidget::tap-and-hold signal.<\/p>\n<p><strong>HildonPannableArea<\/strong><\/p>\n<p>This is a scrollable widget, similar to GtkScrolledWindow, that allows the user to tap on any part of the widget and drag it. It also implements kinetic scrolling which is a feature currently present in most of the mobile platforms.<\/p>\n<p>During this week I have focused on HildonPannableArea, trying to understand the <a href=\"http:\/\/maemo.gitorious.org\/hildon\/hildon\/blobs\/master\/hildon\/hildon-pannable-area.c\">code<\/a> (there are several tricky parts) and thinking about how it could be integrated into GtkScrolledWindow. My initial idea was to port HildonPannableArea as a standalone widget deriving from GtkScrolledWindow, but there are use cases where switching between normal and touch mode makes sense, like with laptops that can work as tablets as <a href=\"https:\/\/bugzilla.gnome.org\/show_bug.cgi?id=462208#c11\">Bastien pointed out<\/a>. So, the idea is to integrate HildonPannableArea code into GtkScrolledWindow to add a kinetic mode. I started porting HildonPannableArea to GTK+3 and cleaning up the code a bit to make the integration easier. Next week I&#8217;ll focus on the real integration.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the main goals of the project is to improve the mobile experience in GTK+ by contribution upstream rather than creating another library. The Hildon library contains several widgets and features that could be ported or integrated into GTK+: &hellip; <a href=\"https:\/\/blogs.igalia.com\/carlosgc\/2011\/02\/04\/gtkmeego-handset-integration-week-1\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,7],"tags":[15],"class_list":["post-414","post","type-post","status-publish","format-standard","hentry","category-gnome","category-igalia","tag-gtk"],"_links":{"self":[{"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/posts\/414","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/comments?post=414"}],"version-history":[{"count":0,"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/posts\/414\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/media?parent=414"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/categories?post=414"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.igalia.com\/carlosgc\/wp-json\/wp\/v2\/tags?post=414"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}