Reply
Thread Tools
Posts: 24 | Thanked: 0 times | Joined on Jul 2010
#1
Hi,

I am a newbie in developing a small app in maemo sdx using ESBox. Following piece of code I used to add multiline textbox to interface

rec_win->notes= hildon_text_view_new();
hildon_text_view_set_placeholder(HILDON_TEXT_VIEW( rec_win->notes), _("Notes"));
buffer=hildon_text_view_get_buffer(HILDON_TEXT_VIE W(rec_win->notes));
hildon_gtk_text_view_set_input_mode(GTK_TEXT_VIEW( rec_win->notes), HILDON_GTK_INPUT_MODE_FULL | HILDON_GTK_INPUT_MODE_MULTILINE);
scrollwindow=hildon_pannable_area_new();


In that textbox / notes, I can use ctrl+c to copy text, ctrl+v to paste, but could not use ctrl+f to find text like in normal notes do.

How could I add this functionality? I am sure I am missing some thing.



Second question is that How can I have actions button on top when I create gtk dialog using following code

gtk_dialog_new_with_buttons(..........


By this I have the action buttons like ok, cancel on left or bottom while I need them on top so my content area can have wider area covering left area of action buttons.


Thanks.


Thanks
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 22:03.