'wrap'=>1 for Gtk2::CheckButton

2005-07-28 Thread andrea . bravetti
Hi All, I'm using version 1.081 of Gtk2-perl. I need a Gtk2::CheckButton that is multiline capable, like 'wrap'=>1 in Gtk2::Label. It may be Gtk2::CheckButton should use Gtk2::Label for the label, and not just a string, or it should accept something like set_line_wrap(), or both. May I write

Re: 'wrap'=>1 for Gtk2::CheckButton

2005-07-28 Thread muppet
[EMAIL PROTECTED] said: > I need a Gtk2::CheckButton that is multiline capable, like 'wrap'=>1 in > Gtk2::Label. > > It may be Gtk2::CheckButton should use Gtk2::Label for the label, and not just > a string, or it should accept something like set_line_wrap(), or both. Gtk2::CheckButton *does* use

Re: 'wrap'=>1 for Gtk2::CheckButton

2005-07-28 Thread andrea . bravetti
> Gtk2::CheckButton *does* use a Gtk2::Label for the label. THe string you > pass to Gtk2::CheckButton::new is used to create it. You can do it > yourself if you need: Oh, great, it will be ready for yesterday ;) But, if you do this: $checkbutton1 = Gtk2::CheckButton->new ("...") than you can

Re: 'wrap'=>1 for Gtk2::CheckButton

2005-07-28 Thread A. Pagaltzis
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2005-07-28 16:35]: > What i mean is: exists a way to change the wrap property on an > existing CheckButton with an existing Label? $ckbtn->get_child->set_line_wrap( TRUE ); Most widgets which have ->new_with_label() or the like inherit from GtkBin, a c

Re: 'wrap'=>1 for Gtk2::CheckButton

2005-07-28 Thread andrea . bravetti
thanks a lot, it is exactly what i was looking for! $checkbutton->get_child->set_property('wrap'=>1, ...); On Thursday 28 July 2005 17:54, A. Pagaltzis wrote: > * [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2005-07-28 16:35]: > > What i mean is: exists a way to change the wrap property on an > >

Re: 'wrap'=>1 for Gtk2::CheckButton

2005-07-28 Thread Pierre Magistry
On jeu, 2005-07-28 at 16:23 +0200, [EMAIL PROTECTED] wrote: > > What i mean is: exists a way to change the wrap property on an existing > CheckButton with an existing Label? what about something like : $checkbutton->get_children->set_line_wrap(TRUE); ? Pik

Changing default printer of Gnome2::Print::Config

2005-07-28 Thread ADIS - C.P.D.
Is there a way to change default printer without using dialog window of printers?   I think, maybe, using Gnome2::Print::Config keys.   I want that $job->print method makes a PDF file, not showing the printers dialog to change the default printer that makes a .PS file by default.   Thanx. __

Re: Win32 binaries compiled against Gtk-2.4 instead if Gtk-2.6?

2005-07-28 Thread Daniel Kasak
Daniel Kasak wrote: >I've just updated some of our apps to use GtkCellRendererCombo, and >under Windows, I'm getting: > >*** Can't locate object method "new" via package >"Gtk2::CellRendererCombo" (perhaps you forgot to load >"Gtk2::CellRendererCombo"?) > >I'm using Gtk2 binaries from http://mem

Re: Win32 binaries compiled against Gtk-2.4 instead if Gtk-2.6?

2005-07-28 Thread Pierre Magistry
On ven, 2005-07-29 at 11:10 +1000, Daniel Kasak wrote: > Daniel Kasak wrote: > > >I've just updated some of our apps to use GtkCellRendererCombo, and > >under Windows, I'm getting: > > > >*** Can't locate object method "new" via package > >"Gtk2::CellRendererCombo" (perhaps you forgot to load >

Re: Changing default printer of Gnome2::Print::Config

2005-07-28 Thread muppet
On Jul 28, 2005, at 4:54 PM, ADIS - C.P.D. wrote: Is there a way to change default printer without using dialog window of printers? I think, maybe, using Gnome2::Print::Config keys. I want that $job->print method makes a PDF file, not showing the printers dialog to change the default prin

Add spaces

2005-07-28 Thread Beast
In general, how do I add spaces (blank spaces) between the widget? For example, in HBox i can use $hbox->set_spacing(10), it will add 10px space in the left and right, what I need is add space in the left only. -- --beast ___ gtk-perl-list mailin