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
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
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.
#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
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
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
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
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
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
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
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'
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
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
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
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
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
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
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
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
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
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:
>
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
> 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_
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
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
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
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
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
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
___
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
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
=
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-
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
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
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
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
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
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
> 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
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
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
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
_
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
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
{
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
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
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
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
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
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
_
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
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
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
53 matches
Mail list logo