Progressbar in a statusbar?

2006-03-27 Thread Mario Ospelt
Hello, Actually I would like to know if it is possible to create a progressbar in a statusbar. Can a statusbar be divided into several parts, so that in each part different information can be shown (and in one of them e.g. a progressbar). Or do I have to use a HBox and create several statusbar

Filechooser in MS Windows style

2006-03-22 Thread Mario Ospelt
Hi everybody, The application I'm writing is only used on MS Windows. Therefore there's the desire to give it a MS Windows look. Is it possible to get the filechooser in the typical Windows style (and not the standard gnome style)? Thanks a lot! Mario

Re: GTK2, XML, perl

2006-03-20 Thread Mario Ospelt
muppet schrieb: Mario Ospelt wrote: C:\usr\bin\perl.exe C:\usr\lib\ExtUtils/xsubpp -noprototypes -typemap C: \usr\lib\ExtUtils\typemap -typemap C:\usr\site\lib\Gtk2-GladeXML\gladexmlperl.ty pemap -typemap C:\usr\site\lib\Glib\Install\typemap -typemap C:\usr\site\lib\Gtk 2\Install

Re: GTK2, XML, perl

2006-03-20 Thread Mario Ospelt
Hello, I followed this thread and it was very interesting. I wanted to use this Gtk2::GladeXML package too and downloaded it from cpan. There was no ppm package, as I need it also for windows. Therefore I wanted to install it manually with nmake. I got then the following errors:

progress, statusbar, update

2006-01-18 Thread Mario Ospelt
Hello, In my GUI the user calls by clicking a button a subroutine which looks like this: sub details { my @par = @_; my @IDs = @{$par[1]}; $status -> push($cont_id,"Open report..."); Gtk2 -> main_iteration; foreach (@IDs){ push (@temp_pdfs, &make_pdf); } $status ->

signal_handlers_destroy()

2006-01-10 Thread Mario Ospelt
Hello, I wanted to use the signal_handlers_destroy() method to remove the connected signals of my button. But something doesn't work. I always get this error: Can't locate object method "signal_handlers_destroy" via package "Gtk2::Button" Why can't the method be found? Is it spelled differ

fixed column width in a table

2006-01-03 Thread Mario Ospelt
Hello, I think this is a very easy to solve problem, but nevertheless I could not find a solution myself. I just want the table I've created to have fixed column widths. The content of each column is variable and therefore the width of the column does now change and depends on the width of th

Handling children

2005-12-16 Thread Mario Ospelt
Hello together, I'm writing a program to search a database and display the search results in pages of a notebook. Each search creates a new page in the notebook. Pages can also be removed. Each page contains a ListStore desplaying the results. A double-click on a row in the liststore should n

Label Attributes

2005-12-01 Thread Mario Ospelt
Hello, I want to change the fontweight and fontsize of a Gtk2::Label. I saw in the reference manual that I have to use a Gtk2::Pango::AttrList. But the method new() is not available. How can I do that although? (I had also a look at Gtk2::Text, but that seems to be deprecated.) Thanks Mario

Gtk2::Liststore multiple columns

2005-11-30 Thread Mario Ospelt
Hello, I want to create a list with multiple columns. Therefore I use the script added below (actually there are 8 columns, but I reduced them to make it less complicated). The subroutine &abfrage_all returns an array with references to arrays. Each referred array is a row in a database. I n