Re: gtk text entry

2005-05-19 Thread srinivas
hi the error dialog everything z coming, but when i entered text in to gtk_entry widget and tried to get that using gtk_entry_get_text i can't able to get the entered data back. i can't able to print the get entry text to console. what i have to do. thanks; vasu. On Thu, 2005-05-19 at 12:53, Mu

Re: gtk text entry

2005-05-19 Thread Muthiah Annamalai
Hi, To Check the entry widget for some text you can use this. const char *ptr= gtk_entry_get_text(text_widget); if (!strlen(ptr)) throw_error_popup(); -Muthu --- srinivas <[EMAIL PROTECTED]> wrote: > hi all; > >i am developing gui with glade and c. now i have > a "text entry" and > "next bu

gtk text entry

2005-05-19 Thread srinivas
hi i have doubt in how to get data entered in to text entry widget. i am using glade and c. in my interface.c entry pointer is stored as GLADE_HOOKUP_OBJECT (window_ssnew, entry_name, "entry_name"); how to refer the entry_name (text entry widget name) in callbacks.c using lookup_widget how c

Re: gtk text entry

2005-05-18 Thread srinivas
thanks a lot for the mail and link, i tried with my application, now i have one more doubt, i have my main window "window_ssnew", and my gtk entry text "entry_name", and "next" button. "entry_name" and "next" button are on different frames on "window_ssnew". as i am using glade i used like, /*

Re: gtk text entry

2005-05-18 Thread Maciej Katafiasz
Dnia 18-05-2005, śro o godzinie 08:52 +0200, Maciej Katafiasz napisał: > Try the attached programme. D'oh, mailman seems to be stripping attachments off. Here's the URL then: http://mathrick.org/files/entry.c Cheers, Maciej -- Maciej Katafiasz <[EMAIL PROTECTED]> _

Re: gtk text entry

2005-05-17 Thread Maciej Katafiasz
Dnia 18-05-2005, śro o godzinie 10:01 +0530, srinivas napisał: >i am developing gui with glade and c. now i have a "text entry" and > "next button" widget. when i press next button the next frame will be > shown, but before displaying the next frame i would like to check > whether text entry ha

gtk text entry

2005-05-17 Thread srinivas
hi all; i am developing gui with glade and c. now i have a "text entry" and "next button" widget. when i press next button the next frame will be shown, but before displaying the next frame i would like to check whether text entry had filled with some text or not. if it is filled then the frame