Re: I need help with clist
| From: | Steph | Date: | Mon, 28 Jan 2002 01:26:33 +0000 |
| Subject: | Re: I need help with clist | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-1046@lists.php.net to get a copy of this message | ||
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