Hi,
I wanted to make a simple terminal using framebuffer.
I compiled all things that needed, and used gtk-demo to test. It seems
that the screen was "lazy update", I chose one thing after another , the
old highlight only disappeared when I moved the mouse on it again.
Then I used vte.
Brian J. Tarricone wrote:
Roland Roberts wrote:
GLib-GObject-WARNING **: IA__g_object_set_valist: object class
`GtkNotebook' has no property named `sensistive'
I am very confused. What am I missing here?
You're missing the correct spelling of "sensitive".
Doh! I promise to get a good night
I find another way:
+-
| PangoFontDescription * desc = pango_font_description_new();
| pango_font_description_set_size(desc, 50*PANGO_SCALE);
| .
| .
| gtk_widget_modify_font(label, desc);
+-
Roland Roberts wrote:
I have a notebook where one of the tabs is another notebook. When the
device which corresponds to that tab is disconnected, I want to make the
tab insensitive. So in the callback I have something like this:
g_object_set(tab_widget, "sensistive", FALSE, NULL);
When I
Resolved,
gtk_tree_view_set_cursor and gtk_tree_view_set_cursor_on_cell both are
working as desired.
Thanks
Rodrigo
On Thu, Aug 28, 2008 at 9:47 AM, Rodrigo Miguel <[EMAIL PROTECTED]> wrote:
> Hello people,
>
> Is there any way to auto edit the cell, without click in the cell, i.e.
> when the u
I have a notebook where one of the tabs is another notebook. When the
device which corresponds to that tab is disconnected, I want to make the
tab insensitive. So in the callback I have something like this:
g_object_set(tab_widget, "sensistive", FALSE, NULL);
When I actually get to the po
Gabriele Greco wrote:
Is there a way to clone a notebook tab? I'm writing an
application where I've laid out the tab using glade. The tab is
for controlling a camera, and I may have multiple cameras. Each
time I connect one, I'd like to clone a generic tab then reassign
da
dhk wrote:
Roland Roberts wrote:
Is there a way to clone a notebook tab? I'm writing an application
where I've laid out the tab using glade. The tab is for controlling
a camera, and I may have multiple cameras. Each time I connect one,
I'd like to clone a generic tab then reassign data asso
But I only use gtk api, not gtkmm. How to do this by gtk?
On Thu, Aug 28, 2008 at 9:50 PM, Garth's KidStuff
<[EMAIL PROTECTED]>wrote:
> Whops, hit the send button before I was finished..
>
> the method should be:
>
> void ChangeLabelFontSize(
>Gtk::Label *pLabel, // [in] Pointer to label to
Is the pango markup language most popular way to set font's style?
On Thu, Aug 28, 2008 at 8:16 PM, Tomas Carnecky <[EMAIL PROTECTED]> wrote:
> Dov Grobgeld wrote:
> > Hi Lazy (great name),
> >
> > The way to do it is to set the name of the label through:
> >
> > gtk_widget_set_name(label, "f
Kristian Rietveld:
> On Thu, Aug 28, 2008 at 9:12 AM, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
> > hi,
> >
> > I've read that a treeview has the scolling ability built-in.
> > Does that include an easy way to display scrollbars, too?
> >
> > Or is it necessary to create scrollbars and adjust
Whops, hit the send button before I was finished..
the method should be:
void ChangeLabelFontSize(
Gtk::Label *pLabel, // [in] Pointer to label to change font on
float scale) // [in] amount to scale font size by. 1.0 leaves label
unchanged
{
Glib::RefPtr pPangoContext =
pLabel
Hey there,
Using Gtkmm
void ChangeLabelFontSize(
Glib::RefPtr pPangoContext =
pLabel->get_pango_context();
Pango::FontDescription fontD =
pPangoContext->get_font_description();
fontD.set_size((int)(scale * fontD.get_size()));
pLabel->modify_font(fontD);
--
Gar
Hi Tomas,
You are certainly right The style method is more suited when you want to
change additional properties like background color, etc. I stand corrected.
Regards,
Dov
2008/8/28 Tomas Carnecky <[EMAIL PROTECTED]>
> Dov Grobgeld wrote:
> > Hi Lazy (great name),
> >
> > The way to do it is to
dhk wrote:
I have a key-press-event connected to my treeview so a Tab can be used
to navigate through the cells. It work well except that when the Tab is
pressed it clear all the data in the cell. If I use the mouse to move
to another cell the data remains.
My callback doesn't touch the dat
Hello people,
Is there any way to auto edit the cell, without click in the cell, i.e. when
the user start typing then it will automatically enter edit mode?
What you guys suggest, use the treeview, key-press-event, if so how to say
to treeview that's an autoedit mode?
PS: gtk_tree_view_set_enabl
Roland Roberts wrote:
Is there a way to clone a notebook tab? I'm writing an application
where I've laid out the tab using glade. The tab is for controlling a
camera, and I may have multiple cameras. Each time I connect one, I'd
like to clone a generic tab then reassign data associated with
Dov Grobgeld wrote:
> Hi Lazy (great name),
>
> The way to do it is to set the name of the label through:
>
> gtk_widget_set_name(label, "foo");
>
> and then define a style for the name "foo", that includes a font
> specification:
>
> gtk_rc_parse_string("style \"foo\" {\n"
>
Hi Lazy (great name),
The way to do it is to set the name of the label through:
gtk_widget_set_name(label, "foo");
and then define a style for the name "foo", that includes a font
specification:
gtk_rc_parse_string("style \"foo\" {\n"
"font = \"Seri
Hi,
For a specialized (audio pattern) editor I'm currently drawing everything on a
off screen pixmap, and calling gdk_draw_drawable() to copy the needed areas on
expose events into a drawing area's GdkWindow.
I would like to draw some widget parts (a ruler actually) using the
gtk_paint_*() method
I wrote the following statememts to set a GtkLabel's font size.
But it seems don't work?
I'm not good at Pango, can anybody help me?
+---
| PangoAttrList *pg_attr_list = pango_attr_list_new();
| PangoAttribute *
On Thu, Aug 28, 2008 at 9:12 AM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> hi,
>
> I've read that a treeview has the scolling ability built-in.
> Does that include an easy way to display scrollbars, too?
>
> Or is it necessary to create scrollbars and adjustments and
> connect all events separ
hi,
I've read that a treeview has the scolling ability built-in.
Does that include an easy way to display scrollbars, too?
Or is it necessary to create scrollbars and adjustments and
connect all events separately?
Thank You for a hint!
Felix
___
gtk-
23 matches
Mail list logo