Re: bitmap in button doesn't appear in 64bit 9.10

2010-01-19 Thread Garth's KidStuff
okay. I want to do things the right way. It's hard sometimes because the documentation is a little light. *grin* I guess I'll look into how to construct the button manually. Garth Upshaw On Jan 19, 2010, at 4:20 PM, David Nečas wrote: On Tue, Jan 19, 2010 at 10:14:28AM -080

Re: bitmap in button doesn't appear in 64bit 9.10

2010-01-19 Thread Garth's KidStuff
ault. > User can change this by setting "gtk-button-images" and > "gtk-menu-images" GtkSettings to TRUE, but I cannot help you with GUI > tools, since I don't use Ubuntu or GNOME. > > Tadej > > > -- > Tadej Borovšak > tadeboro.blogspot.com > tadeb...@gmail.com > tadej.borov...@gmail.com > -- Garth Upshaw Garth's KidStuff ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

bitmap in button doesn't appear in 64bit 9.10

2010-01-19 Thread Garth's KidStuff
ed().connect(sigc::bind(sigc::mem_fun(this, &LXLiveReadoutManager::ToggleSourceWindow), sourceID)); m_ButtonMap[sourceID] = btn; m_ButtonBox->add(*btn); m_ButtonBox->show_all(); It is finding the image and making the btn->set_image call. Thanks in advance.

menu bitmaps on 64-bit build

2010-01-14 Thread Garth's KidStuff
#x27;s going on? TIA -Garth -- Garth Upshaw Garth's KidStuff ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

re: best way to communicate between 2 applications

2009-07-10 Thread Garth's KidStuff
le program when udev detected an event, so the missing piece is how does this little udev app tell the first application that something has happened? Thanks! -- Garth Upshaw Garth's KidStuff ___ gtk-app-devel-list mailing list gtk-app-devel-list

inter process communication

2009-07-10 Thread Garth's KidStuff
Hey All, What's the best way to communicate between 2 applications? And can you point me to some nice C/C++ sample code? Thanks in advance. -Garth -- Garth Upshaw Garth's KidStuff ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnom

usb plug/unplug notifications

2009-07-09 Thread Garth's KidStuff
Hi All, I'd like to know how to intercept usb events. Right now, I'm polling for changes, but that isn't the "right" way to handle device discovery. Is there a way to get a notification when something happens in the usb world? Thanks in advance. -Garth -- Gart

re: enumerating available fonts

2009-03-18 Thread Garth's KidStuff
leIterator > > iFont = fonts.begin(); for (; iFont != fonts.end(); iFont++) { vsFonts.push_back((*iFont)->get_name()); } } return &vsFonts; } -- Garth Upshaw Garth's KidStuff ___ gtk-app-deve

re: re: tuning widgets base size

2009-03-03 Thread Garth's KidStuff
oint out that one thing that tripped me up for a bit was figuring out where the Gtk::Label object was for arbitrary controls -- i.e. you have to dig into the control to get to the label. Happy programming! -- Garth Upshaw Garth's KidStuff ___ gtk-app

re: tuning widgets base size

2009-03-02 Thread Garth's KidStuff
pLabel->modify_font(fontD); } -- Garth Upshaw Garth's KidStuff ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

How to make a simple beep?

2009-03-01 Thread Garth's KidStuff
Hey All, I'm running under Ubuntu 8.10 and want to make a simple beep -- like the Windows Beep function which takes a frequency (in Hz) and a duration (in milliseconds). Does anyone have a place to point me? TIA -Garth -- Garth Upshaw Garth'

re: problems updating statusbar

2009-02-17 Thread Garth's KidStuff
add: while (gtk_events_pending()) gtk_main_iteration(); to your code where you want to make sure a UI change appears. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Full Screen mode behaves differently on two "identical" systems

2009-01-27 Thread Garth's KidStuff
er case, the bad machines exhibit the bad behavior. And yes, the compiler versions are the same. I can really take 2 machines, install Ubuntu 8.10 on each, get all the build-essentials etc. that I need, and build up 2 executables that work differently on each machine. -- Garth Upshaw Garth's KidStuff ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Full Screen mode behaves differently on two "identical" systems

2009-01-27 Thread Garth's KidStuff
rnels. Any ideas? Thanks in advance. -- Garth Upshaw Garth's KidStuff ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Toolbar text makes toolbar very, very wide

2009-01-07 Thread Garth's KidStuff
ller screens. Does anyone have ideas for how to make the text use space more efficiently? Thanks in advance. -Garth -- Garth Upshaw Garth's KidStuff ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

re: gtk_main_iteration() exits app first time through

2009-01-07 Thread Garth's KidStuff
Hey All, It was my app bug. We'd added a new polling loop activated by a timer but during the gtk_main_iteration the program state wasn't correct for the new code. No worries! -- Garth Upshaw Garth's KidStuff ___ gtk-app-devel-list m

gtk_main_iteration() exits app first time through

2009-01-06 Thread Garth's KidStuff
that and it worked great for the last 6 months or so. Just today, I noticed that the program exits the first time it calls gtk_main_iteration(); Does anyone know what happened? TIA -Garth -- Garth Upshaw Garth's KidStuff ___ gtk-app-devel-list ma

programmatic screenshots?

2008-12-01 Thread Garth's KidStuff
Hey All, I'm runnign a Gtk++ app under ubuntu 8.04 and I'd liek to take a screenshot from inside the app. Any hints? Thanks in advance. -Garth -- Garth Upshaw Garth's KidStuff ___ gtk-app-devel-list mailing list gtk-app-devel-list

re: Delayed events

2008-11-26 Thread Garth's KidStuff
try using fprintf(stderr, "whatever"); -- that way it won't be buffered. -- Garth Upshaw Garth's KidStuff ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Tips on translating to other languages

2008-11-17 Thread Garth's KidStuff
ed in the gtkmm documentation here: http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/chapter-internationalization.html My question is, how do I tell gtk to load the Spanish version of system dialogs (e.g. the File Open dialog). TIA -Garth Garth Upshaw G

Re: Ok button key binding

2008-11-14 Thread Garth's KidStuff
t;[EMAIL PROTECTED]>wrote: > Hi, > > Am Freitag 14 November 2008 schrieb Garth's KidStuff: > > The one subtle point for me was that any Gtk::Entry controls in the > dialog > > ate the return unless I did the following: >

re: Ok button key binding

2008-11-14 Thread Garth's KidStuff
the following: Gtk::Entry m_IDC_ADD_PAGE_TITLE; ... m_IDC_ADD_PAGE_TITLE.set_activates_default(true); // Enter while editing should activate default OK Happy coding. -- Garth Upshaw Garth's KidStuff ___ gtk-app-devel-list mailing list gtk-a

re: on_expose_event not being called when expected (Garth's KidStuff)

2008-11-05 Thread Garth's KidStuff
> I have a large application whose drawing logic is based on the clock example >* When objects need to be redrawn they set a rectangle >* A timer fires every so often (100ms in my case), and I call >invalidate_rect with the above rectangle >* My Gtk::DrawingArea-derived class overrides on_expose_

on_expose_event not being called when expected

2008-11-04 Thread Garth's KidStuff
alled until the cpu load is back to normal. I've been banging my head against this for a few days now and would love some new ideas about how to attack the problem. Thanks in advance. -- Garth Upshaw Garth's KidStuff ___ gtk-app-devel-list maili

how can I get a backtrace from inside my program?

2008-10-31 Thread Garth's KidStuff
Hey All, I have a large Gtk app running on Ubuntu and I'd love to be able to log stack trace information when unusual events occur. Any ideas on where to look for this? Thanks in advance. -Garth -- Garth Upshaw Garth's KidStuff ___ gtk

Print dialog is too big on some systems (Ubuntu 8.04 on an Asus Eee)

2008-10-24 Thread Garth's KidStuff
ialog that's the right size -- did they roll their own? Thanks in advance for your ideas. -Garth -- Garth Upshaw Garth's KidStuff ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

How do I set up the system to launch my app when the user double-clicks a file?

2008-10-17 Thread Garth's KidStuff
t app launches when double-clicking that file, but I want to do this programatically -- without having to ask the user to set this. Any ideas? Thanks in advance. -Garth -- Garth Upshaw Garth's KidStuff ___ gtk-app-devel-list mailing list gtk-a

Re: Stop text view to scroll on pageup/down (Gabriele Greco)

2008-10-07 Thread Garth's KidStuff
nal *before* the regular signal handler (as opposed to after, which is the default). In gtkmm, this was easy as the connect function has a parameter for that very purpose. I don't see how to so so here. Sorry :( -- Garth Upshaw Garth's KidStuff

Playing video from within my gtkmm app

2008-09-29 Thread Garth's KidStuff
Hey All, Does anyone have a good place to learn how to incorporate playing video from within my application? I have a drawable area that I draw all my application stuff on and I'd like to play a .mov file in a subportion of that area. Thanks in advance -Garth ___

How do I intercept keys in a Gtk::Entry widget?

2008-09-25 Thread Garth's KidStuff
return false; } I never get the right arrow key (I can get other keys, such as Tab, but not keys the entry control uses). Once I get the key, how do I either let the widget continue to handle the key in some of the cases? Thanks in advance! -Garth -- Garth Upshaw

When in Full screen mode, dialogs make system menu appear (replacing app menu)

2008-09-02 Thread Garth's KidStuff
in advance. -Garth -- Garth Upshaw Garth's KidStuff ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: How to set the font's size of the Gtklabel

2008-08-28 Thread Garth's KidStuff
= pLabel->get_pango_context(); Pango::FontDescription fontD = pPangoContext->get_font_description(); fontD.set_size((int)(scale * fontD.get_size())); pLabel->modify_font(fontD); } -- Garth Upshaw Garth's KidStuff ___ gtk-

Re: How to set the font's size of the Gtklabel

2008-08-28 Thread Garth's KidStuff
ont(fontD); -- Garth Upshaw Garth's KidStuff ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Full Screen mode and odd menu behavior

2008-08-25 Thread Garth's KidStuff
on how this is supposed to work? Thanks in advance. -Garth -- Garth Upshaw Garth's KidStuff ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Hitting return in Gtk::Entry control doesn't do default action in dialog with Gtk::Notebook

2008-08-20 Thread Garth's KidStuff
activate default OK Hitting Entry still doesn't activate the OK button. Thanks in Advance. -Garth -- Garth Upshaw Garth's KidStuff ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk

Re: Can't install gtkmm (package manager won't install libgtkmm-2.4-dev)

2008-08-07 Thread Garth's KidStuff
he proper Ubuntu place. On Mon, 2008-08-04 at 16:12 -0700, Garth's KidStuff wrote: > Hi All, > > Help! I'm trying to install a build environment on a machine I just > installed Ubuntu 8.04.1 on and the package manager won't install > libgtkmm-2.4-dev. It gives the follo

Can't install gtkmm (package manager won't install libgtkmm-2.4-dev)

2008-08-04 Thread Garth's KidStuff
Hi All, Help! I'm trying to install a build environment on a machine I just installed Ubuntu 8.04.1 on and the package manager won't install libgtkmm-2.4-dev. It gives the following message: libgtkmm-2.4-dev: Depends: libatk1.0-dev but it is not going to be installed Depends: libcairomm-1.0-d

How do I get the enter key to press OK when in a GTk::Entry widget?

2008-07-14 Thread Garth's KidStuff
rth -- Garth Upshaw Garth's KidStuff ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: font size gtk_*_new_with_label

2008-07-13 Thread Garth's KidStuff
> I'm using > > gtk_widget_modify_font() and > > style = gtk_rc_style_new(); > pango_font_description_free( style->font_desc ); > style->font_desc = pfont; > gtk_widget_modify_style( widget, style ); > > to change the font size of my labels, but I can't do it on created > buttons with gtk_*_new_wi

How can I tell when editing happens on a TextView?

2008-07-09 Thread Garth's KidStuff
pshaw Garth's KidStuff ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

re: re: How do I use the fullscreen in a Gtkmm app?

2008-06-12 Thread Garth's KidStuff
hanks again. Happy coding! >Garth's KidStuff wrote: >> Hi All, >> >>I notice that quite a few apps (firefox, gimp, terminal, etc. -- but not >>gedit, huh?) have the option to toggle fullscreen mode in their view menu > >using the F11 key. How woul

How do I use the fullscreen in a gtkmm app?

2008-06-11 Thread Garth's KidStuff
Hi All, I notice that quite a few apps (firefox, gimp, terminal, etc. -- but not gedit, huh?) have the option to toggle fullscreen mode in their view menu using the F11 key. How would I implement this in my Gtkmm app? Thanks in advance -Garth _

how to get signal_changed on a TextView widget

2008-06-11 Thread Garth's KidStuff
Hi All, I'm replacing some Gtk::Entry widgets with Gtk::TextView widgets and the signal_changed method is not available -- how can I tell when the user changes the text in the TextView? Thanks in advance. -Garth ___ gtk-app-devel-list ma

How do I run a Gtkmm app in a KDE desktop

2008-05-15 Thread Garth's KidStuff
rth Upshaw Garth's KidStuff ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

re: Gtk::Notebook How do I hide a tab?

2008-05-09 Thread Garth's KidStuff
{ case kTimeBased: m_notebook.append_page(page0); m_notebook.set_tab_label_text(page0, "Time-Based"); m_notebook.append_page(pageTriggering); m_notebook.set_tab_label_text(pageTriggering, "Trigger"); break; ... // other cases

How do I tell when my app gets de-focused

2008-05-05 Thread Garth's KidStuff
there a better way to do this? Or is there a way to tell when my app loses focus? -- Garth Upshaw Garth's KidStuff ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: setting the font of a dialog widget

2008-04-26 Thread Garth's KidStuff
utton.). That's my issue. To recap: How do I change the font size of a general widget? Thanks in advance. 2008/4/18 Garth's KidStuff <[EMAIL PROTECTED]>: > that's not relevant). If the widget I'm trying to set happens to be a > Gtk::Label, then it works. But oth

re: gtk_text_buffer_insert function does not insert...

2008-04-25 Thread Garth&#x27;s KidStuff
ue immediately when the gtk_text_buffer_insert() function is called? Thanks, Soulivanh -- Garth Upshaw Garth's KidStuff ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

setting the font of a dialog widget

2008-04-18 Thread Garth&#x27;s KidStuff
e_request(532, 50); m_Fixed.put(m_Frame, 12, 16); show_all_children(); } (If I replace the above Gtk::Frame with Gtk::Label, it all works as I would expect) Again, thanks for any ideas you may have... -Garth -- Garth Upshaw Garth's KidStuff ___ gtk-app-d

Gtk::ProgressBar doesn't work synchronously

2008-04-09 Thread Garth&#x27;s KidStuff
be showing the progress bar. I'd hesitate to try that with this code base because of the number of places in cross-platform code that would have to be rewritten. Do any of you have any thoughts? Thanks in advance! -- Garth Upshaw Garth's KidStuff _

Gtkmm Printing in Ubuntu 7.10

2008-04-09 Thread Garth&#x27;s KidStuff
Hi, As covered in some earlier posts, Murry helped point me to the bug report on Ubuntu 7.10 that showed that gtk+ printing just didn't work there. I've upgraded to Ubuntu 8.04 (beta), and Printing now works great for me (yay!). BUT I'd like to distribute this app to users who are still on Ubuntu

re: I'd like (working) printing sample code

2008-04-03 Thread Garth&#x27;s KidStuff
inted the first time I tried. -Garth -- Garth Upshaw Garth's KidStuff ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

I'd like (working) printing sample code

2008-03-31 Thread Garth&#x27;s KidStuff
GtkPrintContext' repeat ad infinitum I'm writing a gtkmm app in C++ and have had great luck with the other examples in the tutorials I refer to above. -Garth -- Garth Upshaw Garth's KidStuff ___ gtk-app-devel-list mailing list gtk