Re: how to i get the arrow-buttons moving?



On Tue, Sep 02, 2014 at 04:39:00PM -0700, Gary Kline wrote:
here are thee labels that show up when you use the gcc compile string.
how do I get the up- and -down arrows to point at the label and echo the
"label strings"?

You need to update the view when your signal handler is invoked. All you
need is somewhere to store which label is currently selected, update it
when the signal handler is called and update the view accordingly; for
example by updating the label attributes. You can then use
gtk_label_get_text () to fetch the text that a label displays.

                Marcus


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]