Re: problem with gtk_entry_get_text()
- From: "dodi-nug" <4dadio telkom net>
- To: "bowman" <bowman montana com>
- Cc: gtk-list gnome org
- Subject: Re: problem with gtk_entry_get_text()
- Date: Tue, 05 Jun 2001 05:26:01 +0700
erouter=gtk_entry_new();
gtk_widget_show(erouter);
gtk_box_pack_start(GTK_BOX(hbox1),erouter,TRUE,TRUE,0);
isi = gtk_editable_get_chars(GTK_EDITABLE(erouter),0,-1);
gtk_editable_chars cause the same problem with
gtk_entry_get_text()
On Mon, 4 Jun 2001 07:27:53 -0600
"bowman" <bowman montana com> wrote:
>
> From: "dodi-nug" <4dadio telkom net>
> >
> > Well, I thimk the funtion, gtk_entry_get_text(), make a
> > problem.
> > I can't get any character from entries.
>
> The docs say this is a deprecated function. Why don't you
> try:
> something like:
>
> msg = gtk_editable_get_chars ((GtkEditable*) msg_text,
> 0, -1);
>
> where 0 is the start_pos, and -1 the default 'get
> everything' end_pos.
>
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]