Re: A simple GtkSpinner is very costly in CPU cycles

2018-03-22 Thread Kian Karas
On Wed, Mar 21, 2018 at 10:17 AM, Emmanuele Bassi wrote: > On 20 March 2018 at 14:06, Kian Karas wrote: > >> Hi smart people >> >> I just introduced animation, in the form of a GtkSpinner, to my >> application >> for the first time. When the spinner is an

Re: A simple GtkSpinner is very costly in CPU cycles

2018-03-21 Thread Kian Karas
function > for starting (gtk_spinner_start) and stopping (gtk_spinner_stop) the > animation. > > On Tue, Mar 20, 2018, 21:07 Kian Karas wrote: > >> Hi smart people >> >> I just introduced animation, in the form of a GtkSpinner, to my >> application >

A simple GtkSpinner is very costly in CPU cycles

2018-03-20 Thread Kian Karas
Hi smart people I just introduced animation, in the form of a GtkSpinner, to my application for the first time. When the spinner is animating, the application takes up 45 % of the CPU resources (the application is otherwise idle at 0-2,6 %). The CPU is a single core ARM Cortex-A7 running at 528 MH

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 buttons (and some &

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 buttons (and some &

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 up/

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 ca

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 you? > Yes, that's exactl

Re: Scrolling a GtkTreeview cell

2018-01-24 Thread Kian Karas
018 at 11:15 AM, infirit wrote: > 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 scrolla

Re: Scrolling a GtkTreeview cell

2018-01-24 Thread Kian Karas
ote: > 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

Scrolling a GtkTreeview cell

2018-01-22 Thread Kian Karas
(if the content do not fit). I do not expect to have this issue on my left column. The right column only ever contains text (GtkCellRendererText). Thanks! Kian Karas ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org