Re: I need help with clist
| From: | Nathan Purciful | Date: | Mon, 28 Jan 2002 02:02:46 +0000 |
| Subject: | Re: I need help with clist | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-1049@lists.php.net to get a copy of this message | ||
what i need to know is how to get my array results back to my clist.
"Steph" <Steph.Fox@btinternet.com> wrote in message
news:001401c1a79a$d89489e0$c8dd7ad5@t2r1o8...
what signals?!
$gld = &new GladeXML('filename.glade');
$gld->signal_autoconnect();
and then write your functions, the ones you made, in the php file and
connect signals to them where it asks you in glade.
Apologies in advance if I've badly misunderstood your question.
----- Original Message -----
From: "Nathan Purciful" <npurciful@hotmail.com>
To: <php-gtk-general@lists.php.net>
Sent: Monday, January 28, 2002 12:49 AM
Subject: [PHP-GTK] I need help with clist
okay i was using
<snip>
$clist->insert(1, array("----- New Server -----"));
</snip>
but when i changed to GladeXML this no longer work. I have figured you how
to get my results back to clist.
<snip>
<widget>
<class>GtkCList</class>
<name>clist</name>
<can_focus>True</can_focus>
<columns>1</columns>
<selection_mode>GTK_SELECTION_EXTENDED</selection_mode>
<show_titles>True</show_titles>
<shadow_type>GTK_SHADOW_IN</shadow_type>
<widget>
<class>GtkLabel</class>
<child_name>CList:title</child_name>
<name>label1</name>
<label>Current Articles</label>
<justify>GTK_JUSTIFY_LEFT</justify>
<wrap>False</wrap>
<xalign>0.5</xalign>
<yalign>0.0</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
</widget>
</widget>
</snip>
also how do i make my clist results clickable?
---
Nathan Purciful