Re: Scrolling a GtkTreeview cell

2018-01-25 Thread Eric Cashon via gtk-app-devel-list
Hi Kian, A list box is more flexible for allowing different widgets but the performance might not be so good if you have a lot of rows. Don't have the numbers to show that though. You can put your individual widgets into a scrolled window if you want. The scroll bars will show if the

Re: Scrolling a GtkTreeview cell

2018-01-25 Thread Yuri Khan
On Thu, Jan 25, 2018 at 4:40 PM, Kian Karas wrote: >> Part Number 71-00 >> Version47.11D >> Build Number kk-5910 >> NATID 8988 1697 >> 0013 > > If a row is to span multiple

Re: Scrolling a GtkTreeview cell

2018-01-25 Thread Kian Karas
On Thu, Jan 25, 2018 at 10:13 AM, Yuri Khan wrote: > On Thu, Jan 25, 2018 at 3:18 PM, Kian Karas > wrote: > > > It's an industrial device with a 4.5" screen. The only input method is a > > keypad. The keypad has up/down/left/right/enter/back

Re: Scrolling a GtkTreeview cell

2018-01-25 Thread Kian Karas
On Thu, Jan 25, 2018 at 10:13 AM, Yuri Khan wrote: > On Thu, Jan 25, 2018 at 3:18 PM, Kian Karas > wrote: > > > It's an industrial device with a 4.5" screen. The only input method is a > > keypad. The keypad has up/down/left/right/enter/back

Re: Scrolling a GtkTreeview cell

2018-01-25 Thread Yuri Khan
On Thu, Jan 25, 2018 at 3:18 PM, Kian Karas wrote: > It's an industrial device with a 4.5" screen. The only input method is a > keypad. The keypad has up/down/left/right/enter/back buttons (and some other > domain specific keys). The before mentioned keys are used to

Re: Scrolling a GtkTreeview cell

2018-01-25 Thread Kian Karas
You're right, I tried to keep the information level low in case there was an actual solution to what I hoped was possible. In lack of that, here is a more thorough description of the problem domain. It's an industrial device with a 4.5" screen. The only input method is a keypad. The keypad has

Re: Scrolling a GtkTreeview cell

2018-01-24 Thread Yuri Khan
On Mon, Jan 22, 2018 at 6:03 PM, Kian Karas wrote: > I have a GtkTreeview with size constraints, which causes the text of one > particular column in one particular row not to fit into its cell. > > Is there a way for the user to scroll the content of a specific cell

Re: Scrolling a GtkTreeview cell

2018-01-24 Thread Kian Karas
Hi Eric I was not aware of the list box. It looks more flexible than the tree view, and might be what i need. However, then my problem would be to scroll some other widget (other than a GtkTreeview cell), without adding a scroll bar. The only space I have is within the cell of the table. Using

Re: Scrolling a GtkTreeview cell

2018-01-24 Thread Eric Cashon via gtk-app-devel-list
Hi Kian, Have you tried a GtkListBox for this? You can probably setup a scrolling window in a row in a listbox. https://blog.gtk.org/2017/06/01/drag-and-drop-in-lists-revisited/ Eric ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org

Re: Scrolling a GtkTreeview cell

2018-01-24 Thread Kian Karas
On Wed, Jan 24, 2018 at 12:42 PM, Lucky B.C wrote: > There's no supporting for scrolling one cell! But If I'm not wrong, the > string value you put in the right column is a very long text, isn't it? And > you want a solution for seeing the text in the limited view, don't

Re: Scrolling a GtkTreeview cell

2018-01-24 Thread Lucky B.C
There's no supporting for scrolling one cell! But If I'm not wrong, the string value you put in the right column is a very long text, isn't it? And you want a solution for seeing the text in the limited view, don't you? Okay! We can make the text rendering in that way by 2 steps: 1) For a

Re: Scrolling a GtkTreeview cell

2018-01-24 Thread Kian Karas
You're right that it is possible to add a horizontal scroll bar. I just don't have that option (design choice). Hence, my question was centered about scrolling one cell. This is for an embedded device with a 4.5" screen, a few navigation buttons, and no mouse. On Wed, Jan 24, 2018 at 11:15 AM,

Re: Scrolling a GtkTreeview cell

2018-01-24 Thread infirit
Op 01/22/2018 om 12:03 PM schreef Kian Karas: > I have a GtkTreeview with size constraints, which causes the text of one > particular column in one particular row not to fit into its cell. If I remember correctly a GtkTreeView is scrollable so it will add scrollbars when it has grown larger than

Re: Scrolling a GtkTreeview cell

2018-01-24 Thread Kian Karas
Please see attached screenshot (4.5" screen - hence the size constraint). I was imagining using the arrow keys to move the text in the right column of the selected row. Ellipses could then show up on both sides of the "visible" text. On Wed, Jan 24, 2018 at 6:30 AM, Lucky B.C

Re: Scrolling a GtkTreeview cell

2018-01-23 Thread Lucky B.C
Hi, can you show a demo about the problem? On Mon, Jan 22, 2018 at 6:03 PM, Kian Karas wrote: > Hi, > > I have a GtkTreeview with size constraints, which causes the text of one > particular column in one particular row not to fit into its cell. > > Is there a way for

Scrolling a GtkTreeview cell

2018-01-22 Thread Kian Karas
Hi, I have a GtkTreeview with size constraints, which causes the text of one particular column in one particular row not to fit into its cell. Is there a way for the user to scroll the content of a specific cell (i.e. a specific column in the current highlighted row) - e.g. with the keyboard