Searched defs:message (Results 1 - 25 of 27) sorted by relevance

12

/inkscape/src/xml/
H A Dinvalid-operation-exception.h27 InvalidOperationException(std::string const &message) : argument
28 std::logic_error(message)
/inkscape/src/
H A Dmessage-context.cpp13 #include "message-context.h"
14 #include "message-stack.h"
30 void MessageContext::set(MessageType type, gchar const *message) { argument
34 _message_id = _stack->push(type, message);
47 gchar *message=g_strdup_vprintf(format, args); local
48 set(type, message);
49 g_free(message);
52 void MessageContext::flash(MessageType type, gchar const *message) { argument
56 _flash_message_id = _stack->flash(type, message);
67 gchar *message local
[all...]
H A Dmessage-stack.h28 #include "message.h"
47 * assuming that the message you pushed is still on top is an
58 /** @brief returns the type of message currently at the top of the stack */
62 /** @brief returns the text of the message currently at the top of
66 return _messages ? _messages->message : NULL;
70 * the topmost message on the stack changes.
77 /** @brief pushes a message onto the stack
79 * @param type the message type
80 * @param message the message tex
163 gchar *message; member in struct:Inkscape::MessageStack::Message
[all...]
H A Dcontext-fns.cpp6 #include "message-context.h"
7 #include "message-stack.h"
20 * set a message about it on the given context.
23 * \param message Message context to put messages on.
27 bool Inkscape::have_viable_layer(SPDesktop *desktop, MessageContext *message) argument
32 message->flash(Inkscape::ERROR_MESSAGE,
38 message->flash(Inkscape::ERROR_MESSAGE,
49 * set a message about it on the given context.
52 * \param message Message context to put messages on.
56 bool Inkscape::have_viable_layer(SPDesktop *desktop, MessageStack *message) argument
[all...]
H A Dmessage-stack.cpp16 #include "message-stack.h"
32 MessageId MessageStack::push(MessageType type, gchar const *message) { argument
33 return _push(type, 0, message);
48 gchar *message=g_strdup_vprintf(format, args); local
49 id = push(type, message);
50 g_free(message);
65 MessageId MessageStack::flash(MessageType type, Glib::ustring const &message) argument
67 MessageId id = flash( type, message.c_str() );
71 MessageId MessageStack::flash(MessageType type, gchar const *message) { argument
74 return _push(type, 6000 + 80*strlen(message), messag
102 gchar *message=g_strdup_vprintf(format, args); local
108 _push(MessageType type, guint lifetime, gchar const *message) argument
[all...]
H A Dverbs.cpp58 #include "message-stack.h"
1336 char const *message = NULL; local
1340 message = g_strdup_printf(_("Raised layer <b>%s</b>."), layer->defaultLabel());
1344 message = g_strdup_printf(_("Raised layer <b>%s</b>."), layer->defaultLabel());
1348 message = g_strdup_printf(_("Lowered layer <b>%s</b>."), layer->defaultLabel());
1352 message = g_strdup_printf(_("Lowered layer <b>%s</b>."), layer->defaultLabel());
1357 if (message) {
1358 dt->messageStack()->flash(Inkscape::NORMAL_MESSAGE, message);
1359 g_free((void *) message);
H A Ddesktop.cpp63 #include "message-context.h"
64 #include "message-stack.h"
1312 bool SPDesktop::showInfoDialog( Glib::ustring const & message )
1314 return _widget->showInfoDialog( message );
1595 (Inkscape::MessageType type, gchar const *message)
1598 _widget->setMessage(type, message);
1594 onStatusMessage(Inkscape::MessageType type, gchar const *message) argument
H A Dsplivarot.cpp38 #include "message-stack.h"
2165 gchar *message = g_strdup_printf(_("%s <b>%d</b> of <b>%d</b> paths simplified..."), local
2167 desktop->messageStack()->flash(Inkscape::IMMEDIATE_MESSAGE, message);
2168 g_free(message);
/inkscape/src/ui/dialog/
H A Dtemplate-widget.cpp128 Glib::ustring message = _current_template.display_name + "\n\n"; local
131 message += _("Path: ") + _current_template.path + "\n\n";
134 message += _("Description: ") + _current_template.long_description + "\n\n";
136 message += _("Keywords: ");
138 message += *it + " ";
139 message += "\n\n";
143 message += _("By: ") + _current_template.author + " " + _current_template.creation_date + "\n\n";
145 Gtk::MessageDialog dl(message, false, Gtk::MESSAGE_OTHER);
H A Dmessages.cpp81 message(_("Ready."));
91 * message(_("Enable log display by setting dialogs.debug 'redirect' attribute to 1 in preferences.xml"));
112 void Messages::message(char *msg) function in class:Inkscape::UI::Dialog::Messages
128 dlg->message(const_cast<char*>(messageText));
174 message(_("Log capture started."));
203 message(_("Log capture stopped."));
H A Ddebug.cpp42 void message(char const *msg);
106 message("ready.");
107 message("enable log display by setting ");
108 message("dialogs.debug 'redirect' attribute to 1 in preferences.xml");
144 void DebugDialogImpl::message(char const *msg) function in class:Inkscape::UI::Dialog::DebugDialogImpl
184 dlg->message(messageText);
221 message("log capture started");
250 message("log capture discontinued");
H A Dxml-tree.cpp35 #include "message-context.h"
36 #include "message-stack.h"
334 gchar *message = g_strdup_printf(_("Attribute <b>%s</b> selected. Press <b>Ctrl+Enter</b> when done editing to commit changes."), name); local
335 _message_context->set(Inkscape::NORMAL_MESSAGE, message);
336 g_free(message);
587 void XmlTree::_set_status_message(Inkscape::MessageType /*type*/, const gchar *message, GtkWidget *widget) argument
590 gtk_label_set_markup(GTK_LABEL(widget), message ? message : "");
/inkscape/src/ui/view/
H A Dview.cpp20 #include "message-stack.h"
21 #include "message-context.h"
42 _onStatusMessage (Inkscape::MessageType type, gchar const *message, View* v) argument
44 v->onStatusMessage (type, message);
/inkscape/src/util/
H A Dexpression-evaluator.h173 EvaluatorException(const char *message, const char *at_position) { argument
176 os << "Expression evaluator error: " << message << " at '" << token << "'";
/inkscape/src/2geom/
H A Dexception.h55 Exception(const char * message, const char *file, const int line) { argument
57 os << "lib2geom exception: " << message << " (" << file << ":" << line << ")";
69 #define THROW_EXCEPTION(message) throw(Geom::Exception(message, __FILE__, __LINE__))
75 LogicalError(const char * message, const char *file, const int line) argument
76 : Exception(message, file, line) {}
78 #define THROW_LOGICALERROR(message) throw(LogicalError(message, __FILE__, __LINE__))
82 RangeError(const char * message, const char *file, const int line) argument
83 : Exception(message, fil
[all...]
/inkscape/src/ui/tools/
H A Ddropper-tool.cpp46 #include "message-context.h"
261 // status message
273 // message, to show in the statusbar
274 const gchar *message = this->dragging ? _("<b>Release mouse</b> to set color.") : _("<b>Click</b> to set fill, <b>Shift+click</b> to set stroke; <b>drag</b> to average color in area; with <b>Alt</b> to pick inverse color; <b>Ctrl+C</b> to copy the color under mouse to clipboard"); local
279 (pick == SP_DROPPER_PICK_VISIBLE) ? "" : alpha, where, message);
H A Dmesh-tool.cpp34 #include "message-context.h"
35 #include "message-stack.h"
118 gchar * message = g_strconcat( local
119 //TRANSLATORS: %s will be substituted with the point name (see previous messages); This is part of a compound message
121 //TRANSLATORS: Mind the space in front. This is part of a compound message
125 message,_(ms_handle_descr[drag->singleSelectedDraggerSingleDraggableType()]), n_tot, n_obj);
127 gchar * message = local
129 //TRANSLATORS: This is a part of a compound message (out of two more indicating: grandint handle count & object count)
135 this->message_context->setF(Inkscape::NORMAL_MESSAGE,message,drag->singleSelectedDraggerNumDraggables(), n_tot, n_obj);
138 //TRANSLATORS: The plural refers to number of selected mesh handles. This is part of a compound message (par
139 gchar * message = local
[all...]
H A Dgradient-tool.cpp27 #include "message-context.h"
28 #include "message-stack.h"
119 gchar * message = g_strconcat( local
120 //TRANSLATORS: %s will be substituted with the point name (see previous messages); This is part of a compound message
122 //TRANSLATORS: Mind the space in front. This is part of a compound message
126 message,_(gr_handle_descr[drag->singleSelectedDraggerSingleDraggableType()]), n_tot, n_obj);
128 gchar * message = g_strconcat( local
129 //TRANSLATORS: This is a part of a compound message (out of two more indicating: grandint handle count & object count)
134 rc->message_context->setF(Inkscape::NORMAL_MESSAGE,message,drag->singleSelectedDraggerNumDraggables(), n_tot, n_obj);
137 //TRANSLATORS: The plural refers to number of selected gradient handles. This is part of a compound message (par
138 gchar * message = g_strconcat(ngettext("<b>%d</b> gradient handle selected out of %d","<b>%d</b> gradient handles selected out of %d",n_sel), local
[all...]
H A Dpen-tool.cpp33 #include "message-stack.h"
34 #include "message-context.h"
65 #include "message-stack.h"
1298 * Show the status message for the current line/curve segment.
1299 * This type of message always shows angle/distance as the last
1302 void PenTool::_setAngleDistanceStatusMessage(Geom::Point const p, int pc_point_to_compare, gchar const *message) { argument
1305 g_assert(message != NULL);
1319 this->message_context->setF(Inkscape::IMMEDIATE_MESSAGE, message, angle, dist->str);
1796 gchar *message = is_curve ? local
1800 message
1842 gchar *message = is_symm ? local
[all...]
/inkscape/src/libgdl/
H A Dgdl-dock-placeholder.c518 GString *message; local
520 message = g_string_new (NULL);
521 g_string_printf (message, "[%p] host: %p (%s), stack: ",
526 g_string_append_printf (message, "%s, ", name);
528 g_message ("%s", message->str);
530 g_string_free (message, TRUE);
/inkscape/src/live_effects/
H A Deffect.cpp69 #include "message-stack.h"
765 gchar *message = g_strdup_printf(_("Editing parameter <b>%s</b>."), param->param_label.c_str()); local
766 desktop->messageStack()->flash(Inkscape::NORMAL_MESSAGE, message);
767 g_free(message);
/inkscape/src/extension/implementation/
H A Dscript.cpp935 const Glib::ustring &message)
937 Gtk::MessageDialog warning(message, false, type, Gtk::BUTTONS_OK, true);
933 checkStderr(const Glib::ustring &data, Gtk::MessageType type, const Glib::ustring &message) argument
/inkscape/cxxtest/cxxtest/
H A DWin32Gui.h239 void progressBarMessage( UINT message, WPARAM wParam = 0, LPARAM lParam = 0 ) argument
241 SendMessage( _progressBar, message, wParam, lParam );
317 MSG message; local
318 while ( BOOL haveMessage = GetMessage( &message, NULL, 0, 0 ) )
320 DispatchMessage( &message );
323 static LRESULT CALLBACK windowProcedure( HWND window, UINT message, WPARAM wParam, LPARAM lParam ) argument
325 if ( message == WM_CREATE )
329 return that->handle( window, message, wParam, lParam );
337 LRESULT handle( HWND window, UINT message, WPARAM wParam, LPARAM lParam ) argument
339 switch ( message )
380 statusBarMessage( UINT message, WPARAM wParam = 0, const void *lParam = 0 ) argument
[all...]
/inkscape/src/libuemf/
H A Duemf_print.c47 const unsigned char *message = record; local
53 crc = crc ^ *message++;
2568 The _print routines will stop at the actual problem and print another corrupt message.
/inkscape/src/widgets/
H A Ddesktop-widget.cpp241 SPDesktopWidget::setMessage (Inkscape::MessageType type, const gchar *message) argument
244 gtk_label_set_markup (sb, message ? message : "");
775 // display the initial welcome message in the statusbar
1444 bool SPDesktopWidget::showInfoDialog( Glib::ustring const &message )
1455 "%s", message.c_str());

Completed in 2416 milliseconds

12