Re: HildonTouchSelector

2010-04-09 Thread Aniello Del Sorbo
On 9 April 2010 02:14, Alberto Garcia wrote: > On Thu, Apr 08, 2010 at 06:11:15PM -0700, Aniello Del Sorbo wrote: > >> >     /* Get the path to row 0 */ >> >     path = gtk_tree_path_new_from_string ("0"); >> > >> >     /* Get the tree iter for that path */ >> >     gtk_tree_model_get_iter (GTK_TR

Re: HildonTouchSelector

2010-04-09 Thread Aniello Del Sorbo
On 9 April 2010 01:53, Alberto Garcia wrote: > On Thu, Apr 08, 2010 at 06:11:15PM -0700, Aniello Del Sorbo wrote: > >> HildonTouchSelector has methods to append/prepend items but none to >> remove them. >> GTK does. > > Ok, I understand this is arguable, but

Re: HildonTouchSelector

2010-04-09 Thread Aniello Del Sorbo
On 9 April 2010 02:18, Alberto Garcia wrote: > On Thu, Apr 08, 2010 at 10:38:26PM -0700, Aniello Del Sorbo wrote: > >> I have a HildonPickerButton with a simple Selector with no Done >> button. >> >> With the trick below I can remove rows from the Selector, but then >> the PickerDialog does not pr

Re: HildonTouchSelector

2010-04-09 Thread Alberto Garcia
On Thu, Apr 08, 2010 at 10:38:26PM -0700, Aniello Del Sorbo wrote: > I have a HildonPickerButton with a simple Selector with no Done > button. > > With the trick below I can remove rows from the Selector, but then > the PickerDialog does not properly resize itself, leaving some empty > space belo

Re: HildonTouchSelector

2010-04-09 Thread Alberto Garcia
On Thu, Apr 08, 2010 at 06:11:15PM -0700, Aniello Del Sorbo wrote: > > /* Get the path to row 0 */ > > path = gtk_tree_path_new_from_string ("0"); > > > > /* Get the tree iter for that path */ > > gtk_tree_model_get_iter (GTK_TREE_MODEL (model), > > &iter, path

Re: HildonTouchSelector

2010-04-09 Thread Alberto Garcia
On Thu, Apr 08, 2010 at 06:11:15PM -0700, Aniello Del Sorbo wrote: > HildonTouchSelector has methods to append/prepend items but none to > remove them. > GTK does. Ok, I understand this is arguable, but since you can access the model directly, I don't think HildonTouchSelector ne

Re: HildonTouchSelector

2010-04-08 Thread Aniello Del Sorbo
Uhm, I have a HildonPickerButton with a simple Selector with no Done button. With the trick below I can remove rows from the Selector, but then the PickerDialog does not properly resize itself, leaving some empty space below the Selector. I need to resize the HildonPickerDialog, any idea how? A

Re: HildonTouchSelector

2010-04-08 Thread Aniello Del Sorbo
On Thu, 2010-04-08 at 18:11 -0700, Aniello Del Sorbo wrote: > /* Assuming you want to remove row "0" or column "0" */ Errata: /* Assuming you want to remove row "0" from column "0" */ Aniello ___ maemo-developers mailing list maemo-developers@maemo.o

HildonTouchSelector

2010-04-08 Thread Aniello Del Sorbo
Hi, just a note. HildonTouchSelector has methods to append/prepend items but none to remove them. GTK does. Anyway.. no idea why Hildon does not provide it, but if you ever want to remove a particular row from a HildonTouchSelector this is a starting point (of course it's ver

Re: HildonTouchSelector and visible rows

2010-03-15 Thread Piñeiro
From: Nicolai Hess > Anyone knows how to set the size for the touchselector or knows an example > where I can > look at. There are a package called libhildon1-examples, with several examples of hildon widgets, including the HildonTouchSelector. You can also see these examples do

Re: HildonTouchSelector and visible rows

2010-03-15 Thread Nicolai Hess
2010/3/15 Claudio Saavedra > El lun, 15-03-2010 a las 10:13 +0100, Nicolai Hess escribió: > > Hi, > > > > I made a home widget for maemo5. The settings dialog should show a > > HildonTouchSelector with some entries where the use can select one. > &

Re: HildonTouchSelector and visible rows

2010-03-15 Thread Claudio Saavedra
El lun, 15-03-2010 a las 10:13 +0100, Nicolai Hess escribió: > Hi, > > I made a home widget for maemo5. The settings dialog should show a > HildonTouchSelector with some entries where the use can select one. > I don't know how to configure HildonTouchSelector to make more tha

HildonTouchSelector and visible rows

2010-03-15 Thread Nicolai Hess
Hi, I made a home widget for maemo5. The settings dialog should show a HildonTouchSelector with some entries where the use can select one. I don't know how to configure HildonTouchSelector to make more than one row visible. At the moment the dialog (created with gtk_dialog_new_with_buttons)

Re: row-activate signal for HildonTouchSelector

2010-01-14 Thread Piñeiro
From: "Neal H. Walfield" Sorry for the delay. > I want to use the HildonTouchSelector widget to enable the user to > select an item from a list. I want an action to occur when the user > "clicks" on an item. I don't want the user to have to press another >

Re: row-activate signal for HildonTouchSelector

2010-01-04 Thread Neal H. Walfield
At Mon, 04 Jan 2010 16:56:17 +0100, Neal H. Walfield wrote: > After some investigation, it seems that setting the > HildonTouchSelector widget to be in HILDON_UI_MODE_NORMAL causes > "changed" to exhibit the above behavior. > > I now have a n

Re: row-activate signal for HildonTouchSelector

2010-01-04 Thread Neal H. Walfield
At Mon, 04 Jan 2010 13:58:52 +0100, Neal H. Walfield wrote: > > I want to use the HildonTouchSelector widget to enable the user to > select an item from a list. I want an action to occur when the user > "clicks" on an item. I don't want the user to have to press

row-activate signal for HildonTouchSelector

2010-01-04 Thread Neal H. Walfield
I want to use the HildonTouchSelector widget to enable the user to select an item from a list. I want an action to occur when the user "clicks" on an item. I don't want the user to have to press another button. The HildonTouchSelector widget provides a "changed" sign