Re: Gtk2::TextBuffer 'changed' signal

2005-02-24 Thread Daniel Kasak
this was the problem. The textbuffer was being replaced with a new one each time I moved to a new record. Thanks muppet :) -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED

ANN: Gtk2::Ex::DBI-0.8

2005-03-09 Thread Daniel Kasak
I'm pleased to annouce the 8th release of Gtk2::Ex::DBI ... http://entropy.homelinux.org/Gtk2-Ex-DBI/ Gtk2::Ex::DBI is an open-source helper object that makes your Gtk2-Perl apps data aware. It handles querying, 'painting' records on your Glade-generated form, passing updates back to the database

Re: Big trouble on little Powerbook

2005-03-12 Thread Daniel Kasak
muppet wrote: On Feb 6, 2005, at 10:33 PM, Daniel Kasak wrote: I think I'm a little closer to getting Perl-Gtk2 set up on OS X. I've been developing the bindings on my powerbook for the last year and a half. It works. :-) I use Apple's X11 and Fink stable on Panther. Fink's stable gtk+-2.0

Gtk2::GladeXML: signals not connecting

2005-04-13 Thread Daniel Kasak
signal ( which Glade calls button_press_event ) to the above sub, nothing happens. I've tried connecting to a number of Gtk2::Entrys and they all exhibit the same behaviour. Am I doing something wrong? -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW

Re: Using PAR with gtk2 on MS Windows

2005-04-26 Thread Daniel Kasak
installer too :) If you *really* object to using a batch file, I may be able to hunt down a windows exe that does this sort of thing. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email

Re: grid with database access

2005-04-26 Thread Daniel Kasak
the entries, add new entry, edit entries. I should also be able to define specific select statements and then see the results in the grid. Where should I look for such thing in GTK ? Just out of curiosity ... did you find / make an acceptable solution? -- Daniel Kasak IT Developer NUS Consulting

Re: Gtk2::Ex::Datasheet::DBI-0.2 is out

2005-05-19 Thread Daniel Kasak
ofey aikon wrote: snipped win32 snipped That reminds me ... Are your apps crashing when exiting under Windows? If not, what Perl Gtk2 versions are you using? -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676

'Better' editing / focus policy in a TreeView

2005-06-07 Thread Daniel Kasak
CellRendererSpinButton that trapped keypress events and moved the focus along - this worked much better than my current solution, but I'd rather not have to have a custom cell renderer in every single cell, as it over complicates things and performance suffers quite badly with large data sets. -- Daniel Kasak

Re: 'Better' editing / focus policy in a TreeView

2005-06-07 Thread Daniel Kasak
muppet wrote: On Jun 7, 2005, at 7:58 PM, Daniel Kasak wrote: I'd like to set up TreeViews with a different behaviour when editing stuff in cells. ... Is there any way of avoiding this with the current method I'm using ... connecting to the 'edited' signal of the renderer ... can I

Re: Announcing Gtk2::Ex::TreeMap (0.02)

2005-06-08 Thread Daniel Kasak
I detest QT apps, this has got to be one of my favourites. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au

Re: Working with an image from an http request

2005-06-23 Thread Daniel Kasak
Grant McLean wrote: Something like this should do the trick: my $loader = Gtk2::Gdk::PixbufLoader-new; $loader-write($png_data); $loader-close; my $pixbuf = $loader-get_pixbuf; Thanks :) -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW

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

2005-06-27 Thread Daniel Kasak
get any nasty surprises if / when I start porting more stuff and have to run it under Windows. Dan -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http

Re: Mixed pixbuf and text

2005-07-01 Thread Daniel Kasak
to the treemodel as they become available. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au

Switch a CellRendererCombo's model

2005-07-04 Thread Daniel Kasak
in the treeview with a model that doesn't contain the item that they're currently displaying, ie all the cells will be blank. Is that right? Is there any way around this? -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922

Re: Switch a CellRendererCombo's model

2005-07-05 Thread Daniel Kasak
muppet wrote: On Jul 4, 2005, at 11:50 PM, Daniel Kasak wrote: I'm having a really, *really* bad performance problem in a treeview that has a CellRendererCombo with a large model. How bad? :) Oh ... it's pretty bad. The model has locations and postcodes ( zip codes

Re: Switch a CellRendererCombo's model

2005-07-06 Thread Daniel Kasak
Torsten Schoenfeld wrote: On Wed, 2005-07-06 at 09:18 +1000, Daniel Kasak wrote: So in my $renderer-set() line, I'd remove the model = $field-{model} bit. And I'd replace it with something in the above Gtk2::TreeViewColumn-new_with_attributed() line? Assuming I have packed a model into column

Re: Win32 Gtk2-perl compilation

2005-07-07 Thread Daniel Kasak
or something. To register them, put them in their destination ( eg the windows system32 folder ) and then copy and paste them on top of regsvr32.exe. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989

More on embedding combo models in a treestore

2005-07-07 Thread Daniel Kasak
} ) ) { return FALSE; # Error dialog should have already been produced by validation code } } $model-set( $iter, $column_no, $new_text ); } return FALSE; } -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North

Re: More on embedding combo models in a treestore

2005-07-10 Thread Daniel Kasak
muppet wrote: (cc'ing gtk-devel-list to see if anybody can confirm whether this is a bug in gtk+ or behaving as designed.) On Jul 8, 2005, at 12:22 AM, Daniel Kasak wrote: If I edit a cell with a combo and then click into another row, however, things go screwy. The problem seems

Combo with multiple columns of text

2005-07-11 Thread Daniel Kasak
from each other and aligned nicely? -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au

Gtk2::ImageMenuItem with a custom icon

2005-07-13 Thread Daniel Kasak
::Widget. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au ___ gtk-perl-list mailing

Re: table layout

2005-07-21 Thread Daniel Kasak
Linux users up until this point have been C coders and have a thing against writing serious apps in Perl. Their loss ... -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED

ANNOUNCE: Axis Not Evil 0.2 ( Gtk2::Ex::DBI, Gtk2::Ex::Datasheet::DBI, PDF::ReportWriter )

2005-08-01 Thread Daniel Kasak
Greetings. I'm pleased to announce a round of upgrades to the packages making up Axis Not Evil: http://entropy.homelinux.org/axis_not_evil Axis Not Evil is a suit of open-source, cross-platform Perl modules that combine to provide an alternative to a /'leading'/ software vendor's RAD design

Re: More Win32 compile errors

2005-08-11 Thread Daniel Kasak
=""> on upgrading to the current Visual C++, and it mentions something about /NODEFAULTLIB What do I do with -nodefaultlib or /NODEFAULTLIB? I am completely ignorant of C / C++. -- sig Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 206

Re: [ANNOUNCE] Gtk2::Ex::DBI-1.2 and Gtk2::Ex::Datasheet::DBI-0.8

2005-08-15 Thread Daniel Kasak
zentara wrote: Hi, very nice website, but I found a small glitch in your downloads. Your http://entropy.homelinux.org/axis_not_evil/src/demo_application_package.tar.gz actually is a tar.bz2 file. :) I see. I will do something about that. Thanks. -- Daniel Kasak IT Developer NUS

Re: Making Glade created ComboBox behave like Gtk2::ComboBox-new_text?

2005-08-22 Thread Daniel Kasak
out my projects at: http://entropy.homelinux.org/axis_not_evil -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au

Re: Making Glade created ComboBox behave like Gtk2::ComboBox-new_text?

2005-08-22 Thread Daniel Kasak
muppet wrote: Martin Junius said: Daniel Kasak wrote: You mean the 'ComboBox' from Gtk-2.2? If so, that's been depreciated for quite a while. What version of Gtk to do have? If you've got Gtk-2.4 or higher, you should use a 'ComboBoxEntry'. It allows you to use a Gtk2::ListStore

Re: Long running DBI queries (gtk2 , threads)

2005-09-01 Thread Daniel Kasak
muppet wrote: Would it be a little simpler to have Gtk2::Ex::DBI, and have that implemented with threads on win32 and whatever works best on linux (with the implemention completely hidden, of course)? Oy! Gtk2::Ex::DBI is mine, and I will defend it if necessary :) -- Daniel Kasak

Placement of popup ( CellRendererDate from examples )

2005-09-05 Thread Daniel Kasak
the screen size? -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au ___ gtk-perl

Re: Placement of popup ( CellRendererDate from examples )

2005-09-05 Thread Daniel Kasak
Elijah Newren wrote: On 9/5/05, Daniel Kasak [EMAIL PROTECTED] wrote: Elijah Newren wrote: I don't think this is a WM bug. The WM ( in this case, Enlightenment-0.17 ) is doing exactly what the code says - aligning the top-right of the popup with the bottom-right of the cell. The problem

Re: Placement of popup ( CellRendererDate from examples )

2005-09-05 Thread Daniel Kasak
a candidate for Gtk2::Ex::CoolStuff or something? Is this the right place to send patches for the example apps? -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED

Prevent window from being destroyed?

2005-09-13 Thread Daniel Kasak
late - the window is already gone. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au

Re: Problems with installation of Gtk2 on SUSE 9.1

2005-09-28 Thread Daniel Kasak
gtk-2.6 for Windows? -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au ___ gtk-perl

Re: Problems with installation of Gtk2 on SUSE 9.1

2005-09-28 Thread Daniel Kasak
muppet wrote: On Sep 28, 2005, at 9:23 PM, Daniel Kasak wrote: I don't suppose you've managed to build the Gtk2-Perl bindings against gtk-2.6 for Windows? Don't forget about http://gtk2-perl.sourceforge.net/win32/ ... I've just updated the ppm repository with ppms from zgrim, compiled

Win32 permission problem: GladeXML.dll

2005-10-04 Thread Daniel Kasak
all Perl stuff, deleting my C:\Perl folder, and re-installing everything as a user. I got exactly the same problem. Any ideas? -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL

Re: Win32 permission problem: GladeXML.dll

2005-10-04 Thread Daniel Kasak
muppet wrote: On Oct 4, 2005, at 8:20 PM, Daniel Kasak wrote: I get this error when logged on as a Windows 2000 user ( Power User ). If I log in as Domain Administrator, the error doesn't occur. ... Any ideas? If you installed as administrator, did the files get created

Window focus

2005-10-05 Thread Daniel Kasak
Hi all. I've got a main menu with a list of buttons that open up other windows. When a button is clicked, I check to see if the window already exists before creating one. Now, if the window *does* already exist, how do I bring it to the front? -- Daniel Kasak IT Developer NUS Consulting Group

Re: Window focus

2005-10-05 Thread Daniel Kasak
muppet wrote: On Oct 5, 2005, at 9:50 PM, Daniel Kasak wrote: I've got a main menu with a list of buttons that open up other windows. When a button is clicked, I check to see if the window already exists before creating one. Now, if the window *does* already exist, how do I bring

Re: packaging for windows

2006-01-12 Thread Daniel Kasak
to cause problems. Dan -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au ___ gtk-perl

EntryCompletion in a renderer in a TreeView?

2006-01-29 Thread Daniel Kasak
Is there an easy way to set up autocompletion in a CellRendererCombo's child ( the entry ) in a treeview? -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website

Re: Resizing the mainwindow and displaying SVG's

2006-01-30 Thread Daniel Kasak
considerably ( for some Radeons anyway ). If you're using an nVidia, then I think any recent proprietary nVidia driver will accelerate XRENDER for you. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2

Re: PDF/Postscript in gtk+

2006-01-31 Thread Daniel Kasak
Raul Dias wrote: On Tue, 2006-01-31 at 16:32 +1100, Daniel Kasak wrote: I want to avoid using an external app. Most people who will be using this barely knows how to use a computer. Having multiple windows open would cause greater confusion. Just to get an idea, this app will be run

Gtk2::GladeXML on Windows: permission denied ( again )

2006-02-01 Thread Daniel Kasak
Hi all. I'm trying to do an install on Windows 2000, but not getting anywhere :( I've installed Gtk2 and Perl and all modules ( for Gtk2, using the latest Win32 binaries ) as a user ( Windows 2000 Power User on a Windows NT domain ). No matter what I do do file / folder permissions ( eg

Re: intuitive concept of iter

2006-02-02 Thread Daniel Kasak
the actual text. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au ___ gtk-perl

Bug 317387 – CellRendererCombo's edited signal not firing when needed

2006-02-26 Thread Daniel Kasak
column with the CellRendererCombo are only realised after you click somewhere inside the treeview. I don't suppose there's an easy workaround? -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922

Re: CellRendererSpinButton in a List

2006-03-05 Thread Daniel Kasak
too ... -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au ___ gtk-perl-list mailing

Re: Is the cellrenderer_date.pl working for anyone?

2006-03-07 Thread Daniel Kasak
back ( Custom Cell Renderer broken after update ). You need to either downgrade to Perl 5.8.7 or update your Gtk2 Perl bindings to the very latest ( unstable ). -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F

Which version of what for Win32 at the moment?

2006-03-20 Thread Daniel Kasak
Hi all. I'm preparing to do an install for a customer on a Windows system. ActiveState Perl 5.8.8 is out. Will this work with the latest Gtk2-Perl bindings available for Windows ( Gtk2-1080.ppd )? Or should I use ActiveState Perl 5.8.7? Dan ___

Re: Which version of what for Win32 at the moment?

2006-03-20 Thread Daniel Kasak
Daniel Kasak wrote: Hi all. I'm preparing to do an install for a customer on a Windows system. ActiveState Perl 5.8.8 is out. Will this work with the latest Gtk2-Perl bindings available for Windows ( Gtk2-1080.ppd )? Or should I use ActiveState Perl 5.8.7? Never mind. 5.8.8 doesn't work

Re: Filechooser in MS Windows style

2006-03-22 Thread Daniel Kasak
the functionality that people are after, and then a Win32 theme created so that it looks the part as well. But anyway, feel free to rock up and add your thoughts to the thread. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61

Re: $combo-set_text_column() fails

2006-03-29 Thread Daniel Kasak
Daniel Kasak wrote: $combo-set_text_column( 1 ); At this point, I get: Gtk-CRITICAL **: gtk_combo_box_entry_set_text_column: assertion `entry_box-priv-text_column == -1' failed at forms/report_builder.pm line 146. Never mind. I had previously filled in options in the combo in glade

Old gtk binaries with new bindings? Or not?

2006-04-07 Thread Daniel Kasak
Greetings. I have to do an installation this weekend that I'm not looking forward to ... I'm installing on Windows 2003 server, running Citrix. For some reason, the latest version of gtk that I can get running on Windows 2003 is gtk-2.6.9. With later versions ( I tried a few ), gtk apps bail out

Re: Old gtk binaries with new bindings? Or not?

2006-04-08 Thread Daniel Kasak
A. Pagaltzis wrote: Any version of the bindings should work, just make sure they are compiled against a gtk+ binary no newer than the one on your system. Thanks for the response :) And yeah I expected that. The problem is that the naming of the Win32 binaries doesn't really help me in

Glade 3

2006-05-04 Thread Daniel Kasak
I'm starting a new project, and intend on using Glade 3. Does anyone know of any earth-shattering gotchas ... before I get too far into it? I assume that *most* stuff I'll be able to move between Glade 2 3 anyway, but it doesn't hurt to ask. -- Daniel Kasak IT Developer NUS Consulting Group

Re: Glade 3

2006-05-08 Thread Daniel Kasak
Daniel Kasak wrote: I'm starting a new project, and intend on using Glade 3. Does anyone know of any earth-shattering gotchas ... before I get too far into it? I assume that *most* stuff I'll be able to move between Glade 2 3 anyway, but it doesn't hurt to ask. I have a gotcha for others

Small issue with Gtk2::GladeXML and glade-3 ... text markup not working

2006-05-18 Thread Daniel Kasak
in the label either. Strange ... -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au markup_test.tar.gz Description: GNU Zip

Refreshing stuff in the background ( continued )

2006-06-05 Thread Daniel Kasak
are refreshed. So when I run the app from an Eterm, I see the lines: Refreshing page: xxx Refreshing page: yyy etc and when the *final* one prints, *then* the window is actually updated with the new data. What am I doing wrong? -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific

Inspecting a Gtk2::GladeXML object

2006-06-22 Thread Daniel Kasak
Hi all. Is there a way to list all widgets in a Glade XML file? It would be nice if I could iterate over them without knowing what they are in advance ... -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F

More on formatting a TreeViewColumn's header ...

2006-07-05 Thread Daniel Kasak
demo script. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au column_header_text_align.pl Description: Perl program

Re: More on formatting a TreeViewColumn's header ...

2006-07-06 Thread Daniel Kasak
Grant McLean wrote: On Thu, 2006-07-06 at 14:12 +1000, Daniel Kasak wrote: Hi all. Thanks to muppet's hint, I've worked out how to replace whatever it is that renders column headers with a Gtk2::Label. I can do pango markup on it the label, which is great, but setting the alignment doesn't

Re: set_rules_hint on windows

2006-07-10 Thread Daniel Kasak
installed and the theme selector running on top of the official binaries, but I've never been able to do this. If anyone else has, I'm all ears. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989

Text alignment in a custom cell renderer?

2006-07-10 Thread Daniel Kasak
, $state, 1, $cell_area, $widget, cellrenderertext, $cell_area-x() + $x_offset + x_padding, $cell_area-y() + $y_offset + y_padding, $layout ); } 1; -- Daniel Kasak IT Developer NUS Consulting Group

Re: User adjustable [VH]Boxes

2006-07-19 Thread Daniel Kasak
? The default sizing layout is taken from the size requests of the widgets you put inside the paned widgets. So if you want to save this stuff for later, you'd get the sizes of individual widgets inside the paned widgets, and then re-set them when you re-open the window. -- Daniel Kasak IT Developer NUS

Re: SimpleList interline padding and background

2006-07-19 Thread Daniel Kasak
in the list. I'm not sure whether you can do this with a simplelist or not - you probably can. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http

Re: SimpleList interline padding and background

2006-07-19 Thread Daniel Kasak
* be causing this. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au ___ gtk-perl-list

Re: high level application frameworkl

2006-07-25 Thread Daniel Kasak
Dirk Koopman wrote: On Tue, 2006-07-25 at 09:37 +1000, Daniel Kasak wrote: Dirk Koopman wrote: For many years (about 26) I have used an application framework of my own devising (in various incarnations) for separating business logic [ugh] and data manipulation, completely, from

Which column in a treeview did a user click in?

2006-08-02 Thread Daniel Kasak
this both with columns that are editable, and columns that aren't editable. I've found that a TreeViewColumn has a 'clicked' signal, but that's only for the column *heading*. Is this possible? -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia

Re: Which column in a treeview did a user click in?

2006-08-03 Thread Daniel Kasak
muppet wrote: Daniel Kasak wrote: Hi all. I'd like to set up different things to happen when users click in ( or at ) different columns in a treeview. At the moment, I'm connecting to the treeview's button-press-event, but that doesn't let me figure out which column the user

Re: Odd bug with TreeView column size

2006-08-23 Thread Daniel Kasak
by the looks of the script you posted. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au

Custom widgets, glade, and stuff

2006-08-24 Thread Daniel Kasak
the custom widget so I can learn how to do it, but this will depend on how easy it is to make it work with Gtk2::GladeXML. Any comments? -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email

Re: Need information on Gtk2

2006-08-24 Thread Daniel Kasak
:) -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au ___ gtk-perl-list mailing

Custom CellRendererText and gtk-2.10.x

2006-09-13 Thread Daniel Kasak
. Has anyone seen this bug / know what's happening? Thanks :) -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au

Re: IDE

2006-09-25 Thread Daniel Kasak
Ratcliffe, Jeffrey (Peters) wrote: Sorry for this being slightly off-topic, but: Are any of you guys using an IDE? For want of anything better, I am using nedit, which looks foul on Ubuntu Dapper, but is a miles better editor than gedit. I tried out Eclipse + EPIC, but the editor was

More on issues with custom cell renderers ( working example )

2006-09-28 Thread Daniel Kasak
-2.8.x ( which is becoming quite a problem, which is another story again ) fixes this issue. Any help greatly appreciated :) Dan -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email

Re: More on issues with custom cell renderers ( working example )

2006-09-28 Thread Daniel Kasak
muppet wrote: On Sep 28, 2006, at 9:27 PM, Daniel Kasak wrote: Any help greatly appreciated :) The focus-out-event handler is expected to have a boolean return value. In general, it's very important that you propagate the focus-out-event to the parent widget for a Gtk2::Editable

Re: Themes and colours

2006-10-17 Thread Daniel Kasak
Thanks for the response muppet :) muppet wrote: - the text color will come from the TreeView's style's text color; the state is determined by mapping the cell renderer's state How do I get to the state? I've found plenty of documentation that *uses* this state, but none about getting it.

Re: Grab a pixmap / screenshot thing

2006-11-16 Thread Daniel Kasak
Torsten Schoenfeld wrote: On Tue, 2006-11-07 at 10:08 +1100, Daniel Kasak wrote: Is it possible to create a pixmap of the current desktop ... or part of it ... using gtk2-perl? Get the Gtk2::Gdk::Window for the root window. Create a pixbuf from it. Save the pixbuf to disk

Win32 binaries

2006-11-30 Thread Daniel Kasak
Any word on some fresh Win32 binaries? I know I'm not the only person who has to rely on them ... and I know I'm not the only person incapable of producing them :) -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922

Re: Automatically scrolling a ScrolledWindow

2006-12-06 Thread Daniel Kasak
muppet wrote: On Dec 5, 2006, at 11:40 PM, Daniel Kasak wrote: I have a big treeview that requires a scrolled window that scrolls in both directions. When editing data in the treeview, the scrolled window doesn't automatically scroll horizontally to follow the current cell, so I have

Setting the font size of a CellRendererText's editable

2006-12-06 Thread Daniel Kasak
On with the questions :) How do I set the font size of the editable that appears when editing stuff in a CellRendererText? -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL

Glib::IO-add_watch and log files

2007-03-19 Thread Daniel Kasak
further! What have I done? -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au ___ gtk

Segfault with a combo with 3 columns

2007-03-26 Thread Daniel Kasak
is that this is a gtk+ bug, and not related to the bindings. Am I right? -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au combo_model.pl

Problems with signals and object destruction

2007-04-19 Thread Daniel Kasak
. -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au ___ gtk-perl-list mailing list gtk-perl

Re: Problems with signals and object destruction

2007-04-19 Thread Daniel Kasak
( 93.9%) --12183-- memcheck GC: increase table size to 16384 so obviously there's stuff not being freed properly. Bummer. Anyway, I'll look into getting rid of those circular references. Thanks muppet :) -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney

Re: Gtk2 1.152 (unstable) available

2007-07-02 Thread Daniel Kasak
stuff, but I'm not clear on where it fits in. Is the intention to replace glade? I will do an upgrade and try out Gtk2::Builder when I get a chance ( which may be a while ... but it's on my list ). -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW

Text wrapping ... some small issues

2007-07-16 Thread Daniel Kasak
? -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http://www.nusconsulting.com.au ___ gtk-perl-list mailing list gtk-perl

Re: Setting window position and size

2007-07-18 Thread Daniel Kasak
this can lead people to write applications that try to compensate for this ( glade-2 springs to mind ... it used to absolutely insist on putting the toolbox in the very top left corner ). What you really need is one of these ( apologies to html email haters ): -- Daniel Kasak IT Developer NUS

'DateCombo' widget like GnomeDateEdit

2007-07-25 Thread Daniel Kasak
Hi all. How would I go about making a widget like GnomeDateEdit ( I need it to work on Windows, so I can't just use this one ). I've got a CellRendererDate ( basically from the examples ) working for treeviews. Can I reuse this somehow for normal combo widgets? -- Daniel Kasak IT Developer NUS

Re: application to show to potential users?

2007-08-16 Thread Daniel Kasak
database app at http://entropy.homelinux.org/axis ( click on the 'future' link at the top-right for the screenshots ). -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED

Source editor w/ perl bindings

2007-08-19 Thread Daniel Kasak
Hi all. I'm investigating the feasibility of adding ( Perl ) source code editing to an app. I've found Gtk2::SourceView, and I'm installing it now, but it requires gnome stuff, and I'd like to make this cross-platform. Are there any alternatives? -- Daniel Kasak IT Developer NUS Consulting

Re: overridding the theme in ~.gtkrc-2.0

2007-08-21 Thread Daniel Kasak
On Tue, 2007-08-21 at 08:42 -0400, zentara wrote: Is there a way to force the app to use BumbleBee, without modifying ~.gtkrc-2.0? There's probably a 'proper' way to do this, but anyway I'll show you the way *I* do it. Set the environment variable GTK2_RC_FILES to the path of your gtkrc

Re: Get screen resolution.

2007-10-09 Thread Daniel Kasak
(), get_resolution() ... none of which I've used. I think you have to do something like: my $screen = Gtk2::Gdk::Screen-get_default; ... and then you can do: my $width = $screen-get_width; -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T

Re: Programatically activating a TreeView cell for editing?

2007-10-13 Thread Daniel Kasak
On Sat, 2007-10-13 at 10:25 +0200, Jörn Reder wrote: Hiho, is it possible to active a TreeView cell manually for editing? I like to add new nodes by context menu: add a new unnamed entry and then activate it for editing so the user can change it inplace. $treeview-set_cursor( $path,

Grab a pixmap of a window

2008-02-06 Thread Daniel Kasak
Is there an easy way to grab a pixmap of an entire window's contents ( minus window manager decorations )? I know I can ask the window for it's allocation details and grab a screenshot of the entire screen and cut out the bit that I want. But is there a better way? -- Daniel Kasak IT Developer

Re: Grab a pixmap of a window

2008-02-07 Thread Daniel Kasak
On Thu, 2008-02-07 at 09:21 -0500, muppet wrote: Daniel Kasak wrote: Is there an easy way to grab a pixmap of an entire window's contents ( minus window manager decorations )? I know I can ask the window for it's allocation details and grab a screenshot of the entire screen and cut out

Rotate a treeview 90 degrees?

2008-02-12 Thread Daniel Kasak
around ( I am using Cairo a bit now ), but the above screenshot only took 40 lines of code to set up ... -- Daniel Kasak IT Developer NUS Consulting Group Level 5, 77 Pacific Highway North Sydney, NSW, Australia 2060 T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989 email: [EMAIL PROTECTED] website: http

Cairo -fill question

2008-03-04 Thread Daniel Kasak
Hi all. I'm doing some graphing with Cairo, and I've run into a problem. I'm doing a cumulative line graph with 2 series. The 1st series is working fine. The 2nd series is done a little strangely ( largely because of a brain fart when I was writing it ), but anyway, it happens like this ... For

Re: TreeView? (and: conceptual docs on Gtk2?)

2008-03-25 Thread Daniel Kasak
On Sat, 2008-03-22 at 14:10 -0400, muppet wrote: On Mar 22, 2008, at 5:20 AM, Oliver Bandel wrote: My first thing I need, is a listing of columns/rows that I get from a database. You may be interested in Daniel Kasak's work:

Re: Textview not scrolling in Client

2008-04-14 Thread Daniel Kasak
On Mon, 2008-04-14 at 17:41 -0500, Jamie Lahowetz wrote: I have been struggling with this and I just cant seem to figure what the problem is. I have this IRC client that wont scroll far enough down to show the full text. I've had some problems with scrolling in textviews. My way is slightly

Re: Release: Camelbox 2008.102.0140Z (April 11th, 2008)

2008-04-20 Thread Daniel Kasak
installing a windows binary, but I assume that this is *not* the way to do it ( as it didn't work ). Do I have to build expat with included tools? Mingw? I haven't done this stuff before ... I found a MinGW-5.1.3.exe that seems to be an installer, or updater, or something. What's going on? -- Daniel

  1   2   >