[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-gtk-general
Subject:    Re: [PHP-GTK] I need help with clist
From:       Alan Knowles <alan () akbkhome ! com>
Date:       2002-01-28 2:23:31
[Download RAW message or body]

$clist = $glade_object->get_widget("clist");

$clist->insert(1, array("----- New Server -----"));



Nathan Purciful wrote:

>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
>
>
>
>
>




-- 
PHP-GTK General Mailing List (http://gtk.php.net/)
To unsubscribe, e-mail: php-gtk-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-gtk-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic