On Tue, Jul 17, 2007 at 08:44:40AM -0700, Jonathan Cooper wrote:
> I am not sure why, but the "GTK_WIDGET (window)->window" is false (which
> I suspect means I am actually getting a NULL value for
> g_type_instance_cast() which is used by the GTK_WIDGET macro). Since
> the Gtk::Window::gobj() func
On Wed, 2007-05-23 at 15:07 +, Jeremy Roberson wrote:
> Hardcoded paths might be okay initially but I need to come up with a more
> dynamic solution but, I'm not sure there is one.
You might want to take a look at what the autopackage folks are doing.
At the very least, they have a lot of docu
On Tue, 2007-05-22 at 14:26 -0400, DanH wrote:
> I have a program that has your basic set of buttons, windows, switches and
> adjustables. I have added a listener to tell me if a directory has been added
> to or changed. The printf statement works great and says, "Directory changed"
> at all the
tch for data availability? That will let
you set up callbacks so the GLib main loop will notify your program as
bits of data are available from each server. You don't block on
communication, your GUI stays responsive, and you don't have to worry
about the complexities of multithreading.
ps myself. Creating a popup
window with a widget name of "gtk-tooltips" gives you access to the
style, and you just have to play with spacings and drawing.
- Michael
--
Michael Ekstrand
Research Assistant, Scalable Computing Laboratory
Goanna, compute cluster and InfiniB
s by simulating ALT - the ALT+drag feature is
configurable and window-manager-specific. You will want to respond to
the drag and use something like gtk_window_move() to move the window.
- Michael
--
Michael Ekstrand
Research Assistant, Scalable Computing Laboratory
Goanna, compute cluster and
t; app.
I'm not sure if there's a direct way, but it shouldn't be difficult to
track all instances you create in a GList somewhere. Then just hook in
to the objects' destroy signals to remove them from the list.
- Michael
--
Michael Ekstrand
Research Assistant, Scalable Comp
ce is
running and, if one is, wake it up and die rather than starting a new
copy. The GNOME libs may also have some functionality for this (I'm not
really sure; I just seem to have a vague-ish recollection of seeing that
somewhere).
On Windows, I have no idea...
- Michael
--
Michael E
hough, I'd also be very interested to
hear it.
- Michael
--
Michael Ekstrand
Research Assistant, Scalable Computing Laboratory
Goanna, compute cluster and InfiniBand network monitor tool:
http://www.scl.ameslab.gov/Projects/Monitor/
___
gtk
and see if it meets your needs. It
provides a way to force several widgets to all request the same size
(the size of the largest of them is requested by all).
- Michael
--
Michael Ekstrand
Research Assistant, Scalable Computing Laboratory
Goanna, compute cluster and InfiniBand net
d. I
can't promise this is the problem, but that looks extremely shady to me.
- Michael
--
Michael Ekstrand
Research Assistant, Scalable Computing Laboratory
Goanna, compute cluster and InfiniBand network monitor tool:
http://www.scl.ames
Jan-Oliver Wagner wrote:
> well, yes and no. I am bound to use GTK 2.4.
> I was hoping for a pointer at some sample code (even inefficient).
>
> I also am wondering if someone fidled this based on callbacks via
> gtk_tree_view_column_set_cell_data_func() ? IIUC, this would
> be the other way ar
pipe is
ready to send) and keep everything in one thread.
Option 2 is probably easier to get right. Much less can go wrong in
strange ways. But whichever way you go, GTK+ can only work in one
thread.
- Michael
--
Michael Ekstrand
Research Assistant, Scalable Computing Laboratory
Go
tutorial/book (available in their web site) describes how to
use tree models and views. If you're using the C API, the following is
a good tutorial:
http://scentric.net/tutorial/
- Michael
--
Michael Ekstrand
Research Assistant, Scalable Computing Laboratory
Goanna, compute clus
operty in the GTK world you want. It has made me noticably more
productive when trying to work on GTK stuff.
- Michael
--
Michael Ekstrand
Research Assistant, Scalable Computing Laboratory
Goanna, compute cluster and InfiniBand network monitor tool:
http://www.scl.ameslab.gov/Projects/Monitor/
My $0.02 on your idea...
On Fri, 2007-02-16 at 14:37 -0200, Fabricio Rocha wrote:
> I think that there could be an official GTK/Glade/Libglade wiki in
> GTK.org, with everything we see in the GTK Tutorial and Reference
> manuals as its base. And then those same manuals should be updated from
>
if the mouse
> stops, even though the polygon is being redrawn contently.
Make sure you request a redraw every time the underlying state changes -
check out gtk_widget_queue_draw.
--
Michael Ekstrand
Research Assistant, Scalable Computing Laboratory
Goanna, compute cluster and InfiniBand netwo
On Jan 5, 2007, at 4:15 AM, Sarath Potharaju wrote:
> There is some thing called SegmentField() in QT and i am looking
> for same
> kind of thing in GTK, does any one has any idea about it, if yes
> can you
> please forward me the links or tutorials on it or any sample
> program on it.
What
I have a dialog with an entry and a spin button (to enter hostname
and port), created with Glade. The code grabs the values of the
entry and spin button when Gtk::Dialog::run returns
Gtk::RESPONSE_OK. Most of the time this works just fine. The user
can adjust with the mouse, type in the
On Oct 22, 2006, at 1:13 AM, kiranc wrote:
> Guy Rouillier-2 wrote:
>>
>> That being said, take a look at GtkTreeView. You may be able to
>> utilize
>> that to display the data in your red-black tree data structure.
>>
>
> TreeView has a left-right display. I need a top-down display. Can i
> mo
On Sep 20, 2006, at 10:46 AM, T wrote:
> I haven't seen any documentation or discussion in whether gtk can work
> with non-gtk widgets/windows in same application. Is this possible?
I'm 99.5% sure that it isn't, at least not in any clean or reliable
manner. Basically, you'd create a situation
On Aug 29, 2006, at 12:51 AM, chao yeaj wrote:
> Hello everyone
>You know ,in an application
> one widget may associated with one data member
>
>For example,there is a entry widget ,the user can write some data
> into the entry widget;In the application, there must be a data
> variable
I've got a toolbar that's in a handlebox. However, when I drag the
toolbar to be floating, the window shrinks down and all the toolbar
items are placed in a drop-down menu on the now-floating toolbar.
I've tried marking my toolbar items as important, but that hasn't
changed anything.
Why
23 matches
Mail list logo