Re: more of a C question than GTK+3.0??



What do you mean, "fails?"  What happens?  And what do you want to happen?


On 09/05/14 21:12, Gary Kline wrote:
=====
Organization: Thought Unlimited.  Public service Unix since 1986.
Of_Interest: With 28 years  of service  to the  Unix  community.

        things that I *thought* might work by using

s = gtk_label_get_text(GTK_LABEL((GtkWidget)buf));

        fails.  (with contains the String "label1")  I have a index,
        "n" that can range from 1 to 99--whatever GtkWidget *label I
        need.  the next thing that occured was some kind of

        typedef struct
        {

                GtkWidget  *label1,
                           *label2,
                           *label3,
                           ...
                           *label999;
        } Labels;

        can abybody clue on how to use my n index counter to stick
        one of the "labels" so they show up on my arrow window?

        thanks much.




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