".
It works fine now - thanx again!
--- Stephen Pollei <[EMAIL PROTECTED]> wrote:
> On 12/13/05, Paul Santa Maria <[EMAIL PROTECTED]> wrote:
> > I'm coding in C++, but using the "raw" GTK+ C
> > libraries.
> I'm doing similiar f
Hi -
I'm using the GTK+ 2.6.4 that came with Suse 9.3. I'm coding in C++, but using
the "raw" GTK+ C
libraries.
I'm trying to pass a pointer to one of my C++ classes into a callback, so that
I can call a method
on that class. The code looks like this:
1. less hbaview.h =>
--
c
Hi -
Just FYI, "running another function in the background... to be called every
some milliseconds..." can be *extremely* detrimental to performance. It could
easily make your program a *very* unpleasant thing to be running in a
production environment.
Often times, there's no way to avoid it.
Hi -
I have a pop-up window (a GtkDialog) that presents a list of about a dozen
choices. I want to display these choices vertically. The action area seems to
be an HBox. Any suggestions?
Here's the basic code:
m_dialog1 = gtk_dialog_new ();
gtk_window_set_title (GTK_WINDOW (m_dialog1), ti
Hi -
I'm implementing a kiosk-style application in GTK+, and it's important to
*disable* window resize, minimize, maximize, etc.
Is there any way to simply remove window decorations (especially the "X" close
button) from a GTK+ window?
Thank you in advance .. PSM
Hi -
No - actually, all you need to do is:
1. Launch the file selection dialog
2. Check the return value
I've cut/pasted an example below.
'Hope that helps .. PSM
===
// Prototype
GtkWidget * mk_file_chooser ();
/
Hi -
1. Register an event handler with your pushbutton.
2. In the event handler, create your dialog as you
normally would ...
3. ...but use "gtk_run()" instead of "gtk_widget_show()".
Hope that helps .. PSM
> Gurus,
>
> I want to implement below behavior
>
> 1.main window has a button.
Have you considered trying "gtk_file_selection_new()" instead?
--- [EMAIL PROTECTED] wrote:
> --
>
> Message: 7
> Date: Fri, 6 May 2005 08:48:26 -0400 (EDT)
> From: isil light <[EMAIL PROTECTED]>
> Subject: gtk_file_chooser_dialog_new
> To: gtk-app-devel-list@gnome.o
Hi -
I just answered my own question:
1. I need to *keep* the GKT+ image I allocated when the program started
2. I simply need to call gtk_image_set_from_pixbuf () to assign
it the new pixbuf from the new file.
Everything is working fine now!
___
Hi -
I know this has a really, really simple answer, but...
1. I have a GTK+ file viewer application that needs to handle multiple
different image file types (.jpg, .png, proprietary, etc etc)
2. When the user clicks the "File, Open" menu option, I pop up a
GtkFileSelection dialog
Hi -
Over the weekend, I posted a question about a problem I was having running the
SuSE-built RPM for DevHelp 7.0:
devhelp (under default KDE 3.1 desktop, SuSE 8.2) =>
(devhelp:2783): GLib-GObject-CRITICAL **: file gobject.c: line 1319
(g_object_ref): assertion `G_IS_OBJECT (object)' failed
..
Hi -
I'm a newbie who's been playing with GTK for a few weeks now.
The API looks really great. The HTML documentation (generated from DocBook?)
appears, as far as I can tell, to be quite excellent.
So why the heck can't you search and browse the documentation as easily as, for
example, hitting
Hi -
I was trying to adapt the GDK demo from "Multi-Head Support Overview", and was
getting a link unresolved on "gdk_display_new()".
The fix was to substitute "gdk_display_open()" instead:
THIS CODE SUCCESSFULLY REDIRECTS TO SPECIFIED MONITOR:
---
Hi -
I'm a complete newbie to GTK+:
We're writing a Linux-based app; one of our requirements is that the GUI must
be able to address multiple different video cards independently.
SuSE 9.2 recognizes each of the three video cards in our system, and addresses
them as:
unix:0.0
unix:0.1
...
14 matches
Mail list logo