Re: title-button of a CList



On Thu, 2002-04-25 at 06:39, D vid wrote:
Hi there ,

i have a rather simple and basic misunderstanding concerning the button-title in a CList .

In the very nice tutorial ( thanks again if the contributors read this ) , it is not mentionned how you 
access to button aspect of a CList title . 

I did seem to leave that out, didn't I?  Well, the column headers can be
set and retrieved using the following:

    $clist->set_column_widget( $column_number, $widget );

    $widget = $clist->get_column_widget( $column_number );

The first one was in fact documented in the CList chapter, but I had
forgotten about the retrieval of the widget.  Sorry about that.

It says it can be a button , or just a label , it says as well it can hold a widget , and this is all very 
clear . But it does not say how you access to the button title , for instance , to connect a signal and a 
callback routine to it .
Do you have to create yourself a button and add() it to the title , but then , the button must have a label 
(which?), do you show() the button ( if you do it , will it hide the title ? ) ? 

Well , i think you caught my point : what's the usage ?

Hope I cleared this up for you.


-- 
Stephen Wilhelm
    See my Gtk-Perl Tutorial:
    http://personal.riverusers.com/~swilhelm/gtkperl-tutorial/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]